https://sourceware.org/bugzilla/show_bug.cgi?id=22291
Bug ID: 22291 Summary: GOLD silently produces an nonworking dynamic executable Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: nickc at redhat dot com CC: ian at airs dot com Target Milestone: --- Created attachment 10525 --> https://sourceware.org/bugzilla/attachment.cgi?id=10525&action=edit shell script to reproduce the problem. Run with either "bfd" or "gold" as an argument When linking a dynamic executable that references the start and stop symbols of an orphan section in a shared library, GOLD will generate unresolvable relocations. Vis: $ sh ./reproducer bfd (for cleanup, run: rm -f -- lib_conftest.so conftest conftest.o) $ sh ./reproducer.sh gold ./conftest: Symbol `__start___verbose' causes overflow in R_X86_64_32 relocation ./conftest: error while loading shared libraries: unexpected reloc type 0x0b (for cleanup, run: rm -f -- lib_conftest.so conftest conftest.o) This is on an x86_64 native system. Other hosts have not been tried but might have similar problems. This issue has also been reported as a Fedora bug here: https://bugzilla.redhat.com/show_bug.cgi?id=1500898 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils