[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #8 from Hannes Domani --- (In reply to Nick Clifton from comment #7) > In the meantime please could you see if adding: > > -Wl,--defsym,__CTOR_LIST__=.ctors > > to your command line will act a workaround for the problem

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #7 from Nick Clifton --- Hi Domani, Thanks for the _ctor.o file. I think that I understand the problem now. The _ctor.o file defines the __CTOR_LIST__ symbol as a common symbol (ie uninitialized). These symbols can be ove

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #6 from Domani Hannes --- Created attachment 10769 --> https://sourceware.org/bugzilla/attachment.cgi?id=10769&action=edit _ctors.o -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #5 from Nick Clifton --- Hi Domani, Thanks. So the __CTOR_LIST__ symbol is indeed wrong - it is pointing to somewhere in the middle of the .bss section. It looks to me like the culprit is the _ctors.o file. Would you mind upl

[Bug binutils/22771] New: nm does not display line information for uninlined copies of functions

2018-02-01 Thread pcarroll at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22771 Bug ID: 22771 Summary: nm does not display line information for uninlined copies of functions Product: binutils Version: 2.30 Status: UNCONFIRMED Severity: n

[Bug gold/22770] New: [MIPS] GOLD fails to link ghc: internal error in get_got_page_offset, at gold/mips.cc:6271

2018-02-01 Thread jcowgill+sourceware at jcowgill dot uk
https://sourceware.org/bugzilla/show_bug.cgi?id=22770 Bug ID: 22770 Summary: [MIPS] GOLD fails to link ghc: internal error in get_got_page_offset, at gold/mips.cc:6271 Product: binutils Version: 2.30 Status: UNCONFIRMED

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #4 from Domani Hannes --- Created attachment 10766 --> https://sourceware.org/bugzilla/attachment.cgi?id=10766&action=edit compiled testcase used options: > g++ -g -ostatic-var.exe static-var.cpp -- You are receiving this mail

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #3 from Nick Clifton --- Hi Domani, > And once I remove those PROVIDE()'s again, everything works again. > > PS: Originally I had opened this gdb bug: > https://sourceware.org/bugzilla/show_bug.cgi?id=22757 > Someone mentioned th

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #2 from Domani Hannes --- > Are you saying that that commit broke static constructors ? Yes, exactly. > This would imply that the placement of the __CTOR_LIST__ symbol in > libgcc(_ctors.o) is incorrect, so that when the sta

[Bug ld/22762] missing static variable constructor calls

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

[Bug binutils/22769] crash when running 32-bit objdump on corrupted file

2018-02-01 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22769 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/22769] crash when running 32-bit objdump on corrupted file

2018-02-01 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22769 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f2023ce7e8d70b0155cc6206c901e185260918f0 commit f2023ce7e8d70b0155cc6206c901e