Matt Turner, le Mon 15 Nov 2010 19:51:10 -0500, a écrit :
> On Mon, Nov 15, 2010 at 7:24 PM, Roger Leigh <rle...@codelibre.net> wrote:
> > What's the actual problem --as-needed is trying to solve?
> >
> > The answer is mainly unwanted libraries being linked in as a result
> > of using pkg-config (and various other -config variants), though there
> > are other, lesser, culprits.  The pkg-config .pc files for gtk, gnome
> > and other libraries add in many libraries, most of which aren't
> > typically needed.
> >
> > The solution: fix the .pc files!
> >
> > Using --as-needed is merely papering over the actual root problem.
> > It "fixes" the symptoms, but it's not addressing the actual cause.
> > The number of packages providing broken .pc files is not large, and
> > the number breaking due to relying on this brokenness is likely
> > just as small.
> 
> I can't see why you think --as-needed is fundamentally wrong or unnecessary.
> 
> Check out http://www.gentoo.org/proj/en/qa/asneeded.xml
> 
> --as-needed has saved tons of time for upgrades like Cairo in Gentoo,
> where Cairo had been linked to glitz which is now useless and gone.

Not a problem, if Cairo was properly exposing the dep.

> So
> when people upgraded Cairo, all the software that linked against it
> (and also unnecessarily linked against glitz)

Why did it get linked against glitz?  That's where the problem is.

Samuel


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101116011555.gt6...@const.famille.thibault.fr

Reply via email to