------- Additional Comments From hjl at lucon dot org 2006-07-17 22:51 ------- Created an attachment (id=1171) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1171&action=view) A testcase
I got [EMAIL PROTECTED] cref]$ make gcc -fPIC -c -o x.o x.c gcc -fPIC -c -o y.o y.c ./ld -shared -o liby.so y.o ./ld --cref -shared -o libx1.so x.o -L. \ --as-needed -ly --no-as-needed Cross Reference Table Symbol File _DYNAMIC x.o _GLOBAL_OFFSET_TABLE_ x.o __bss_start ./liby.so _edata ./liby.so _end ./liby.so _start x.o ./ld: symbol `bar' missing from main hash table bar ./liby.so ./ld --cref -shared -o libx2.so x.o -L. -ly Cross Reference Table Symbol File _DYNAMIC x.o _GLOBAL_OFFSET_TABLE_ x.o __bss_start ./liby.so _edata ./liby.so _end ./liby.so _start x.o [EMAIL PROTECTED] cref]$ The error is ./ld: symbol `bar' missing from main hash table since bar has been freed because liby.so isn't needed. -- http://sourceware.org/bugzilla/show_bug.cgi?id=2939 ------- 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