https://sourceware.org/bugzilla/show_bug.cgi?id=26530
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 12794 --> https://sourceware.org/bugzilla/attachment.cgi?id=12794&action=edit A testcase $ make gcc -B./ -O2 -g -flto -c -o pr26530c.o pr26530c.c gcc -B./ -O2 -g -fPIC -c -o pr26530a.o pr26530a.c gcc -B./ -shared -o libpr26530.so pr26530a.o gcc -B./ -O2 -g -c -o pr26530b.o pr26530b.c ar rc -o libpr26530.a pr26530b.o gcc -B./ -Wl,--as-needed -o x pr26530c.o libpr26530.so libpr26530.a -Wl,-R,. ./x make: *** [Makefile:14: all] Aborted (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.