Bug#939656: marked as done (dh_strip should strip sections with LTO information from .a and .o files / lintian should warn about these)
Your message dated Tue, 24 Mar 2020 18:19:09 +0000
with message-id <E1jGo8r-000EaS-6W@fasolo.debian.org>
and subject line Bug#939656: fixed in debhelper 12.10
has caused the Debian Bug report #939656,
regarding dh_strip should strip sections with LTO information from .a and .o files / lintian should warn about these
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
939656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939656
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dh_strip should strip sections with LTO information from .a and .o files / lintian should warn about these
- From: Matthias Klose <doko@debian.org>
- Date: Sat, 7 Sep 2019 12:34:50 +0200
- Message-id: <e950f2af-4f06-3d2c-bf05-450b46f13472@debian.org>
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 cases, so this information should be removed from these
files, and not shipped in the archive. Plus the streaming format for the LTO
information changes (even in GCC minor releases), and leads to build errors when
you try to use an old streaming format with a newer compiler. I'm asking for
- dh_strip removing sections, as in
strip -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_slim -N __gnu_lto_v1
which is turned on by default.
- dh_strip providing an option not to remove these sections.
- lintian warning about object files and static archives having such
sections.
I'd like to see that implemented in debhelper, because LTO builds are also
sometimes enabled in upstream sources.
LTO is turned on by default in Suse, and their dh_strip equivalent provides the
functionality above for the removal of the LTO information.
Please feel free to split this issue into separate debhelper and lintian tasks
once a solution is agree upon.
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 12.10
Done: Niels Thykier <niels@thykier.net>
We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 939656@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated debhelper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 24 Mar 2020 15:55:09 +0000
Source: debhelper
Architecture: source
Version: 12.10
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <debhelper@packages.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Closes: 939656 950723 951819 951917
Changes:
debhelper (12.10) unstable; urgency=medium
.
[ Niels Thykier ]
* dh_installsystemd.1: Improve documentation about tmpfiles that
are now handled by dh_installtmpfiles in compat 13.
* dh_installtmpfiles: Prefer debian/package.tmpfiles over
debian/package.tmpfile, but accept the old path with a warning.
Thanks to Michael Biebl for suggesting the change.
* dh_strip: Automatically strip Link-Time Optimization (LTO)
symbols from static archives. The format is not stable between
compiler versions. Thanks to Matthias Klose for the
suggestion and for providing the exact options.
(Closes: #939656)
* dh: Tweak the command-skipping optimization to skip commands
in a few more cases when the command is known not to react to
command line options.
* dh,dh_installsytemd*: Work around broken NOOP promise caused by
dh_installsystemd* using nonstandard "package@" prefix for
pkgfiles. Thanks to Badreddin Aboubakr and Andy Caldwell for
reporting it. (Closes: #950723, #951819)
.
[ Nicholas Guriev ]
* cmake: Verbose autogen rules.
* cmake: Skip install all dependency with compatibility level 13 and
above.
.
[ Andy Caldwell ]
* dh_installsystemduser: Fix bug that prevented dh_installsystemduser
from installing parameterized services. (Closes: #951819)
.
[ Translations ]
* Update German translation (Chris Leick) (Closes: #951917)
Checksums-Sha1:
adef1db05ca8f20d5b93d1fec71524a7d5b0c885 1839 debhelper_12.10.dsc
8171da063f17d95a74b23c87bb2bd1a98c4652b3 525416 debhelper_12.10.tar.xz
75e0d34be7ca464dfdd9ba52182aa122a9763679 4606 debhelper_12.10_source.buildinfo
Checksums-Sha256:
934871f9a113f24616d10dcfb3d3a39d916cb7a80e478b93656164f5d27995ab 1839 debhelper_12.10.dsc
74ef66f33d0a1ac8d854f9476b3ae8d08a65fadb6c7fa7e6155e62c52439676a 525416 debhelper_12.10.tar.xz
451b679c0d242580e656aceb7834dcffa8d5ad7101f43b67bc8308e332db8e25 4606 debhelper_12.10_source.buildinfo
Files:
3acd0bd939678b2c65986c4adc9eba70 1839 devel optional debhelper_12.10.dsc
2e8b9ef9ed4a36b9b38cb3f453e900b7 525416 devel optional debhelper_12.10.tar.xz
3e1de02e9214f38444b2cde00cceb2d3 4606 devel optional debhelper_12.10_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEE8f9dDX4ALfD+VfsMplt42+Z8eqwFAl56SwASHG5pZWxzQHRo
eWtpZXIubmV0AAoJEKZbeNvmfHqsrIwQAI2R1kd/ALP1tZCD/IoGACtDbjrakFtV
CPlNuUIA8jL4yan4P7u991LdkONvMKtnddH+U0siZtxydE3sGBvedkf97fL1kRUA
rruXcBCr45mSeeNwOd8sYJ8eDwqOK7q1vFKTHIV4pZ1jz00GRY5+xzQo3LFcmNUh
VdFVaO68PvRPCyBQ0e+6kOTLpLgMUsRkB5MBL7yDlb2Fprz77fN7THRycVicgWoN
iJwgimoVoChuQfoDQXHWRH9il3bxEwwg4VMOGMEh3IAUsTyGflT9x7YAn8G/hjVP
KbZE7tmXByKdI+EGPYxuFnQsfXHN6lV3MRTnnRa6qEK2MEIYkubFE48+B/72LiGe
DCsWewXwfzK2/hvBAg5ealgES5jRW8p1ucmiK8PP2J20VfoSN3dGNFRwQ1nVz4RP
jtWvSaCp0Ar4er8GpDmUpwp1ALZuus5f9sm/ISG5I5skqnjt8mV1wVZ594t+ScpR
UjWavoVIGEnMxfP17G2jIQA/ZqS2y1FX5ORHwxzkFvIyecRy8w7He3YJ8KiQrLzd
Yjx8yTa57ZnxFJKudJkCzc0ERqMo1yebYwa9b/cze8Lf6NsUmrc6dO1KilcRm5NH
NkACih+LuOxJoOTGajpXhw3V5easW6clNXutY90zxGzjd+5SXdh2+WnAP+GSTHVK
H0sqFzgPOso3
=AWYK
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: