https://sourceware.org/bugzilla/show_bug.cgi?id=32690

--- Comment #28 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 15964
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15964&action=edit
A testcase for GCC 10 or above

[hjl@gnu-tgl-3 repro]$ make clean
rm -f x *.a *.so a.out *.lto* *.ltrans* *.res *.wpa* *.o
[hjl@gnu-tgl-3 repro]$ make
gcc -B./ -fPIE -O2   -c -o pr32690a.o pr32690a.c
gcc -B./ -fPIE -O2 -fPIC   -c -o pr32690b.o pr32690b.c
gcc -B./ -shared -o libpr32690b.so pr32690b.o
gcc -B./ -pie -Wl,-z,now -o x pr32690a.o libpr32690b.so -Wl,-R,.
./ld: internal error /export/gnu/import/git/gitlab/x86-binutils/ld/ldlang.c
6649
collect2: error: ld returned 1 exit status
make: *** [Makefile:24: x] Error 1
[hjl@gnu-tgl-3 repro]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to