[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/ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org