[Issue 12896] New: ld.gold complains about bad relocations when building libphobos2.so
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jun 11 20:54:19 PDT 2014
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 at puremagic.com
Reporter: code at 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).
--
More information about the Digitalmars-d-bugs
mailing list