Re: Bug#553936: FTBFS with binutils-gold
[Sune Vuorela]
> the major difference is:
> your app uses both libfoo and libbar. libbar uses libfoo. with ld, it
> is sufficient to do -lbar, and with gold you need -lfoo -lbar.
> in both cases, your app will have NEEDED entries for both libfoo and
> libbar.
If you want symbol versioning to work properly (assuming libfoo has
versioned symbols), you need to specify -lfoo -lbar regardless. Been
there, didn't do that, got the segfaults.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Reply to: