https://issues.dlang.org/show_bug.cgi?id=879

David Nadlinger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|pull                        |

--- Comment #21 from David Nadlinger <[email protected]> ---
There is an additional complication: ld.bfd turns __bss_start/_end into local
symbols when passing --gc-sections. This breaks the module collision check in
druntime, as discussed here:
http://forum.dlang.org/post/[email protected]. The linked
discussion is about LDC in particular, but from a few preliminary tests, DMD
also seems to be affected.

The root cause for this behavior seems to be this change in binutils 2.19:
https://sourceware.org/bugzilla/show_bug.cgi?id=13683. It's hard to tell
whether this is a bug in ld or not, but either way we'll have to live with it.

ld.gold is not affected.

--

Reply via email to