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

2019-10-16 Thread Niels Thykier
Matthias Klose: > On 16.10.19 22:08, Niels Thykier wrote: >> 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 n

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

2019-10-16 Thread Matthias Klose
On 16.10.19 22:08, Niels Thykier wrote: 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

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

2019-10-16 Thread Niels Thykier
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 no

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

2019-10-16 Thread Matthias Klose
Control: tags -1 - moreinfo On 29.09.19 11:03, Niels Thykier wrote: Control: tags -1 moreinfo Matthias Klose: Package: debhelper,lintian Severity: important Some packages build with link time optimizations enabled, which is ok, whoever then these packages may ship with static libs which still

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

2019-09-29 Thread Niels Thykier
Control: tags -1 moreinfo Matthias Klose: > Package: debhelper,lintian > Severity: important > > Some packages build with link time optimizations enabled, which is ok, > whoever then these packages may ship with static libs which still have > the LTO information in some sections of the object fil

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

2019-09-17 Thread Matthias Klose
Control: tags -1 + patch Control: tags -1 - moreinfo Please find attached a patch stripping the LTO information, together with an option to explicitly keep it. lintian probably only needs to warn about the sections found in static archives. * dh_strip: Strip LTO sections unless --keep-lto i

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

2019-09-08 Thread Chris Lamb
Hi Matthias, > >> Please feel free to split this issue into separate debhelper and lintian > >> tasks > >> once a solution is agreed upon. […] > sorry, I don't understand: the issue is submitted to both debhelper and > lintian. So what can of information do you expect, and who should > provide t

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

2019-09-08 Thread Matthias Klose
On 08.09.19 09:53, Chris Lamb wrote: tags 939656 + moreinfo thanks Matthias Klose wrote: Please feel free to split this issue into separate debhelper and lintian tasks once a solution is agree upon. Sure thing. As I am not well-versed enough in this lower-level stuff (!) am marking as morein

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

2019-09-08 Thread Chris Lamb
tags 939656 + moreinfo thanks Matthias Klose wrote: > Please feel free to split this issue into separate debhelper and lintian > tasks > once a solution is agree upon. Sure thing. As I am not well-versed enough in this lower-level stuff (!) am marking as moreinfo simply from the perspective of

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

2019-09-07 Thread Matthias Klose
Package: debhelper,lintian Severity: important Some packages build with link time optimizations enabled, which is ok, whoever then these packages may ship with static libs which still have the LTO information in some sections of the object files (e.g. ext2fsprogs). This is not desired in most