Re: c function call issue from assembly program

2022-09-01 Thread Nick Clifton
Hi Arpan, I found this interesting issue in binutils v2.38. The following code works perfectly fine in ubuntu 20.04 (binutils v2.34) I could not reproduce this failure. That is when I compiled, assembled and linked your test program using binutils 2.38 tools, the resulting executable ran corr

[Bug binutils/29535] Invalid combination of debug info attributes DW_AT_name and DW_AT_comp_dir with absolute source file path

2022-09-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29535 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug binutils/29535] Invalid combination of debug info attributes DW_AT_name and DW_AT_comp_dir with absolute source file path

2022-09-01 Thread ralf.habacker at freenet dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29535 --- Comment #2 from Ralf Habacker --- (In reply to Nick Clifton from comment #1) Hi Nick, > So the DW_AT_comp_dir attribute is only used when DW_AT_name contains > a relative path, not an absolute one. Thanks for the clarification, which mea

[Bug binutils/29534] dllwrap, windres and dlltools use mktemp, which should be avoided

2022-09-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29534 Nick Clifton changed: What|Removed |Added Last reconfirmed||2022-09-01 Status|UNCONFIR

[Bug binutils/29534] dllwrap, windres and dlltools use mktemp, which should be avoided

2022-09-01 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29534 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f4492fb683013d7de6f4788df6deb24fed8671b4 commit f4492fb683013d7de6f4788df6d

[Bug binutils/29534] dllwrap, windres and dlltools use mktemp, which should be avoided

2022-09-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29534 Nick Clifton changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug binutils/29535] Invalid combination of debug info attributes DW_AT_name and DW_AT_comp_dir with absolute source file path

2022-09-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29535 Nick Clifton changed: What|Removed |Added Resolution|--- |NOTABUG Status|UNCONFIRMED

[Bug gas/29523] i686-w64-mingw32-objdump -WL returns incorrect file paths

2022-09-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29523 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #4

[Bug gas/29523] i686-w64-mingw32-objdump -WL returns incorrect file paths

2022-09-01 Thread ralf.habacker at freenet dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29523 --- Comment #5 from Ralf Habacker --- Created attachment 14308 --> https://sourceware.org/bugzilla/attachment.cgi?id=14308&action=edit tests: assembler output of mentioned problem generated by i686-w64-mingw32-gcc -S -o test.s ~/src/test-

[Bug gas/29523] i686-w64-mingw32-objdump -WL returns incorrect file paths

2022-09-01 Thread ralf.habacker at freenet dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29523 --- Comment #6 from Ralf Habacker --- (In reply to Ralf Habacker from comment #5) The object file generated from the related source file with $ cd ~/src/test-binutils/build $ i686-w64-mingw32-gcc -c -o test.o ~/src/test-binutils/test.c -g s

Re: c function call issue from assembly program

2022-09-01 Thread Arpan Man Sainju
Hello Nick, Thank you for your response. Maybe the issue is only in Ubuntu 22.04 I was able to make it run in Ubuntu 22.04, by adding something to the stack (assuming stack alignment issue). It works fine after that. Sample: content of asm_program.asm: .global main .text main: * push %rbx*

[Bug gprofng/29477] Build failure on musl: collector_module.h:78:13: error: duplicate member ‘pwrite’

2022-09-01 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29477 --- Comment #3 from Vladimir Mezentsev --- I cloned git://git.musl-libc.org/musl, built and installed. I fixed the build problems in gprofng/libcollector. But I see that only musl-gcc is installed. How can I install the musl c++ compiler ? mu