bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10238] Gold linker does not resolve symbols using indirect dep


From: mattijs.janssens at gmail dot com
Subject: [Bug gold/10238] Gold linker does not resolve symbols using indirect dependencies
Date: Tue, 11 Dec 2012 09:10:30 +0000

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

--- Comment #21 from mattijs.janssens at gmail dot com 2012-12-11 09:10:30 UTC 
---
When I run that little test code above with 

GNU gold (GNU Binutils for Ubuntu 2.22) 1.11

I get:

gcc -Xlinker --no-as-needed -Xlinker  --copy-dt-needed-entries -Xlinker
-rpath=. -shared -fPIC -o libl1.so l1.c -L. -ll2
/usr/bin/ld: error: --copy-dt-needed-entries is not supported but is required
for libl3.so in ./libl2.so
collect2: ld returned 1 exit status


So: l1 depends directly only on l2 and indirectly on l3. How do I get this to
work?

(I'll try the '--allow-shlib-undefined' but find it a bit strange - what is
undefined? I've specified all the link references)

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