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.

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

Reply via email to