http://sourceware.org/bugzilla/show_bug.cgi?id=12314
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-23 19:12:29 UTC --- I checked in a different fix with commit baf9b44566e088687f28f9fe476122876c1d2f4d. Now you will get /usr/gcc-4.6/bin/gcc -B./ -O -flto -c -o bar.o bar.c ar cr libbar.a bar.o /usr/gcc-4.6/bin/gcc -B./ -O -flto -fuse-linker-plugin -o prog1 -L. main.c -lbar foo.c /tmp/cc9q7ek9.ltrans0.ltrans.o: In function `main': cc9q7ek9.ltrans0.o:(.text+0x5): undefined reference to `bar' collect2: ld returned 1 exit status make: *** [prog1] Error 1 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils