bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin


From: hjl dot tools at gmail dot com
Subject: [Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin
Date: 4 Oct 2010 12:04:32 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-10-04 
12:04 -------
I got

address@hidden 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
address@hidden 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:
address@hidden 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]