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

Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package dependencies]

On Tue, Sep 26, 2006 at 11:41:33PM +0700, Mikhail Gusarov wrote:
> Will this problem disappear if end programs will pass --as-needed flag
> to the ld command line?

As described in the other mails, --as-needed is a hack, and can
cause trouble.

I've also thought of a debhelper script stipping out useless NEEDED
entries, but that suffers from the same problems as --as-needed
(mostly related to init/fini functions).

On IRC the idea came up to include such checks in piuparts, however
I haven't yet investigated how this would fit with its architecture
(conceptionally it should be the right place, though).

It's really quite sad that we can't easily automate such checks
during package build, as that would be the easiest way to get rid of
all the dependencies.

Christian Aichinger

Attachment: signature.asc
Description: Digital signature

Reply to: