bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22762] missing static variable constructor calls


From: ssbssa at yahoo dot de
Subject: [Bug ld/22762] missing static variable constructor calls
Date: Thu, 01 Feb 2018 13:05:52 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22762

--- Comment #2 from Domani Hannes <ssbssa at yahoo dot de> ---
>   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 start up code runs,
>   it looks at the data pointed to by __CTOR_LIST__, finds nothing, and
>   so no constructors are run.  Please could you have a look at the
>   executable to see if this is the case ?  (Or upload it to this PR
>   so that I can have a look at it).
__CTOR_LIST__ is empty in this case, I checked in the debugger already.

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 there that I'm not the only one with this problem with the
new binutils version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]