[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/21401] New: -shared -z now doesn't work with undefined IFUNC
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/21401] New: -shared -z now doesn't work with undefined IFUNC |
Date: |
Wed, 19 Apr 2017 16:23:58 +0000 |
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: ---
address@hidden foo]$ cat foo.c
extern int library_func2 (void);
int foo (void) { library_func2 (); return 0; }
__asm__(".type library_func2, %gnu_indirect_function");
address@hidden 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
address@hidden foo]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21401] New: -shared -z now doesn't work with undefined IFUNC,
hjl.tools at gmail dot com <=