https://sourceware.org/bugzilla/show_bug.cgi?id=21401
Bug ID: 21401 Summary: -shared -z now doesn't work with undefined IFUNC Product: binutils Version: 2.29 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-6 foo]$ cat foo.c extern int library_func2 (void); int foo (void) { library_func2 (); return 0; } __asm__(".type library_func2, %gnu_indirect_function"); [hjl@gnu-6 foo]$ make gcc -B./ -O2 -fPIC -c -o foo.o foo.c ./ld -shared -z now -o foo.so foo.o ./ld: BFD (GNU Binutils) 2.28.51.20170418 internal error, aborting at /export/gnu/import/git/sources/binutils-gdb-linux/bfd/elf64-x86-64.c:6019 in elf_x86_64_finish_dynamic_symbol ./ld: Please report this bug. Makefile:14: recipe for target 'foo.so' failed make: *** [foo.so] Error 1 [hjl@gnu-6 foo]$ -- 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