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

Bug#939656: dh_strip should strip sections with LTO information from .a and .o files / lintian should warn about these



Control: tags -1 moreinfo

Matthias Klose:
> Control: tags -1 - moreinfo
> 
> On 29.09.19 11:03, Niels Thykier wrote:
>> Control: tags -1 moreinfo
>>
>> [...]
>>
>> When would you need to keep these LTO sections (but not use -k to keep
>> everything)?
> 
> -k is aliased as --keep-debug, this has nothing to do with LTO
> sections.  Why do you want to blow up the size of a package needing LTO
> when only LTO is needed?
> 
> Keeping LTO information in a package can be useful when you have tightly
> coupled packages where you know that LTO optimization can be done across
> package boundaries.
> 
> Matthias

Can you name me some concrete examples of packages / relations where
keeping LTO information would be beneficial, useful and worth the extra
complexity/cognitive load of "yet-another-toggle-in-debhelper" that
everyone needs to consider whether applies to them?

Thanks,
~Niels


Reply to: