digitalmars.D.bugs - [Issue 12896] New: ld.gold complains about bad relocations when
- via Digitalmars-d-bugs (22/22) Jun 11 2014 https://issues.dlang.org/show_bug.cgi?id=12896
https://issues.dlang.org/show_bug.cgi?id=12896 Issue ID: 12896 Summary: ld.gold complains about bad relocations when building libphobos2.so 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 The error message looks like this. generated/linux/release/64/libphobos2.so.0.66.o(.text.d_dso_init+0x38): error: reloc has bad offset 56 generated/linux/release/64/libphobos2.so.0.66.o(.text.d_dso_init+0x38): error: reloc has bad offset 56 This looks like a problem with the recently added R_ARCH_NONE relocations that were emitted to .text.d_dso_init to fix bug 4758 (--gc-section). --
Jun 11 2014