Re: What next?

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

 



On Wed, 01 Jun 2005 22:21:09 +0200, Arjan van de Ven wrote:
> pkg-config is fixable!
> We need to teach it about -Wl,as-needed which causes the linker only to add
> a lib when the app directly uses it.
> 
> libtool.. bigger question. But we can get pkg-config to do this right if we
> spend 2 days on it.

This was already discussed on xdg-list and by James Henstridge. Pkg-config
and libtool aren't broken, they do this for portability. The GNU linker
doesn't need you to enumerate every library in the image but some
(unbelievably) do. 

Pkg-config files can't contain --as-needed directly because it's not
portable also. 

Maybe one way to do this would just be to make it the default for the
compiler and start filing bugs upstream with the broken apps that don't
actually have DT_NEEDED entries for all their dependencies.

thanks -mike

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux