Thread overview
[Issue 15392] dmd object files fail to link with ld.gold
Dec 01, 2015
Walter Bright
Dec 01, 2015
Martin Nowak
Jan 04, 2016
Martin Nowak
December 01, 2015
https://issues.dlang.org/show_bug.cgi?id=15392

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
The sections are not supposed to be order dependent.

--
December 01, 2015
https://issues.dlang.org/show_bug.cgi?id=15392

--- Comment #2 from Martin Nowak <code@dawg.eu> ---
(In reply to Walter Bright from comment #1)
> The sections are not supposed to be order dependent.

Yeah, you're right, the problem is that ld.gold doesn't assign an output order
to the eh section.
https://sourceware.org/git/?p=binutils.git;a=blob;f=gold/layout.cc;hb=a0a1bb07cb2c03b7d34f12e734c6f363ddb7c7b2#l1386

--
January 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15392

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Martin Nowak <code@dawg.eu> ---
I can no longer reproduce this, maybe I had some corrupted object file lying around. The linker wasn't updated since filing this bug report.

--