Summary: | gem5.debug link with -fuse-ld=gold fails with /usr/bin/ld.gold: internal error in read_cie, at ../../gold/ehframe.cc:943 if partial link is done initially with ld and final link with gold | ||
---|---|---|---|
Product: | binutils | Reporter: | Ciro Santilli <ciro.santilli> |
Component: | gold | Assignee: | Cary Coutant <ccoutant> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ccoutant, ian |
Priority: | P2 | ||
Version: | 2.32 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Ciro Santilli
2018-11-07 07:28:34 UTC
Ah, the project uses partial linking, I was unknowingly linking the first half with ld and trying the final link with gold, so I'm guessing that's not supported? If not, please feel free to close this ticket. Interesting that it fails only with the debug symbols though. I did the whole build with gold now and it works, and cuts the link time by 4x. You are awesome. |