www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15392] New: dmd object files fail to link with ld.gold


          Issue ID: 15392
           Summary: dmd object files fail to link with ld.gold
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

Recent master versions of dmd trigger an ld.gold assertion.
/usr/bin/ld: internal error in add_output_section_to_load, at output.cc:4093

Seems like it complains about input section having a different order than the
mapping in the linker script.

Apparently caused by this PR.

In my linker script .eh_frame follows .rodata but precedes .tdata.

Nov 30 2015