bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/9676] link-failure: could not read symbols: Bad value


From: hjl dot tools at gmail dot com
Subject: [Bug ld/9676] link-failure: could not read symbols: Bad value
Date: 22 Dec 2008 00:24:25 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-12-22 
00:24 -------
Created an attachment (id=3621)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3621&action=view)
A testcase

bash-3.2$ make
cc -fPIC   -c -o bar.o bar.c
./ld -shared -o libbar.so bar.o
cc -fPIC -c foo.c -o foo.o
ar rcs libfoo.a foo.o
cc -fPIC   -c -o x.o x.c
cc -fPIC   -c -o fooh.o fooh.c
ar rcs libfooh.a fooh.o
./ld -shared -o libx.so x.o -L. -lbar --start-group -lfoo -lfooh --end-group 
./libfoo.a: could not read symbols: Bad value
make: *** [libx.so] Error 1
bash-3.2$ 

It involves a symbol with hidden visibility from a discarded section.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9676

------- 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]