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
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
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.
___
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
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
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
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
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
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
https://sourceware.org/bugzilla/show_bug.cgi?id=22762
Nick Clifton changed:
What|Removed |Added
CC||nickc at redhat dot com
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=22769
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
12 matches
Mail list logo