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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to