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

Bug#919957: Please check for binaries depending on unused libraries



On Mon, Jan 21, 2019 at 09:42:26AM -0800, Josh Triplett wrote:
> On January 21, 2019 8:48:35 AM PST, Chris Lamb <lamby@debian.org> wrote:
> >Hi Matthias,
> >
> >> [...] I think I'll enable that by default in GCC 9 for bullseye.
> >
> >Cool. I think that therefore asking Developers to add it manually
> >via Lintian would therefore not be ideal - what do you think?
> 
> I think there'd still be value in catching binaries that still end up with unused dependencies for some reason, but making --as-needed the default will certainly reduce the incidence of such issues.

It clearly doesn't make sense to have the warning before the default 
changed and a large part of the archive has been rebuilt with the
changed default.

After that, the problem will be that lintian would be mostly reporting 
the special cases where linking with a library is required despite no 
symbol used.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: