[Issue 11406] New: ld.gold links incorrect dmd binaries

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 31 20:39:22 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11406

           Summary: ld.gold links incorrect dmd binaries
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-10-31 20:39:09 PDT ---
cat > bug.d << CODE
import std.stdio;

void main()
{
    writefln("Hello %1$s!", "World");
}
CODE

dmd -run bug

----

When debugging this gdb constantly barks that it can't find the function
frames.
In this specific program the format spec is incorrect.
It seems that some data/code is corrupted when linking with gold.
We should investigate whether this is an issue in dmd's codegen.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list