------- Additional Comments From hjl dot tools at gmail dot com 2010-10-04 12:04 ------- I got
[...@gnu-6 lto-ar-emu]$ make /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o main.o main.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o a.o a.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o b.o b.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto -c -o c.o c.c ./ONLYLTO a.o ./ONLYLTO b.o ./ONLYLTO c.o rm -f t.a ./ar --plugin /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so qs t.a a.o.o b.o.o c.o.o ./ar: creating t.a /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -flto -fuse-linker-plugin main.o t.a -o main lto1: fatal error: Cannot find LTO varpool in t.a compilation terminated. lto-wrapper: /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc returned 1 exit status /usr/local/bin/ld.gold: fatal error: lto-wrapper failed collect2: ld returned 1 exit status make: *** [main] Error 1 [...@gnu-6 lto-ar-emu]$ nm -s t.a Archive index: a in a.o.o b in b.o.o c in c.o.o a.o.o: b.o.o: c.o.o: [...@gnu-6 lto-ar-emu]$ It looks OK to me. -- What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=12088 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils