https://sourceware.org/bugzilla/show_bug.cgi?id=19784
Bug ID: 19784 Summary: internal error in elf_x86_64_relocate_section with -Bsymbolic-functions Product: binutils Version: 2.27 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: dura911111 at gmail dot com Target Milestone: --- Created attachment 9072 --> https://sourceware.org/bugzilla/attachment.cgi?id=9072&action=edit Files used by ld When compiling glibc with linker flag Bsymbolic-functions, I got: ld: BFD (GNU Binutils) 2.26.51.20160307 internal error, aborting at elf64-x86-64.c:4247 in elf_x86_64_relocate_section No assert if Bsymbolic-functions is removed. binutils 2.26 shows same issue. The linker command line was: ld -plugin ./liblto_plugin.so -plugin-opt=lto-wrapper -plugin-opt=-fresolution=/tmp/ccQP0SYe.res --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -O1 -Bsymbolic-functions -shared -o libc.so -e __libc_main -L. -O1 -z defs -dynamic-linker=/lib/ld-linux-x86-64.so.2 --version-script=libc.map -soname=libc.so.6 -z combreloc -z relro --hash-style=both abi-note.o soinit.os libc_pic.os sofini.os interp.os ld.so -lgcc -T shlib.lds -- 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