https://sourceware.org/bugzilla/show_bug.cgi?id=22502
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- A simpler way to reproduce: [hjl@gnu-6 pr22502]$ make gcc -g -O2 -c -o test-weak.o test-weak.c gcc -g -O2 -flto -c -o test.o test.c gcc -g -O2 -o y test-weak.o test.o test-weak.o: In function `main': /export/home/hjl/bugs/binutils/pr22502/test-weak.c:8: undefined reference to `foobar' collect2: error: ld returned 1 exit status make: *** [Makefile:16: y] Error 1 [hjl@gnu-6 pr22502]$ -- 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