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

--- Comment #1 from Vladimir Simonov <sv at sw dot ru> 2011-01-11 09:42:35 UTC 
---
It looks like gold may accept --unresolved-symbols=ignore-in-shared-libs
and just ignore it:)

Cause it is gold's default. According
http://sourceware.org/bugzilla/show_bug.cgi?id=10238

I've tested it in my project and in simple testcase.
If app A requires symbol from libB.so and libB.so
requires symbol from libC.so then linking A by 
${GCC} -o A  A.c  -L. -lB
is successful if gold is used.
ld.bfd reports warning and returns error:
GNU ld version 2.19.51.0.14-3.fc11 20090722
/usr/bin/ld: warning: libC.so, needed by ./libB.so, not found (try using -rpath
or -rpath-link)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Reply via email to