bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12386] gold doesn't support --unresolved-symbols=ignore-in-sha


From: sv at sw dot ru
Subject: [Bug gold/12386] gold doesn't support --unresolved-symbols=ignore-in-shared-libs
Date: Tue, 11 Jan 2011 09:42:41 +0000

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.



reply via email to

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