]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
lto: disable LTO for e2fsprogs master-next
authorThomas Perrot <thomas.perrot@bootlin.com>
Mon, 30 Mar 2026 23:07:27 +0000 (01:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Apr 2026 20:05:13 +0000 (21:05 +0100)
Fat LTO objects embed original source paths in .gnu.lto_* IR sections
which are not remapped by -ffile-prefix-map. This causes buildpaths QA
failures for libss.a and libext2fs.a in the e2fsprogs-staticdev package.

Disable LTO for e2fsprogs to prevent TMPDIR references from leaking into
the installed static libraries.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/lto.inc

index 54983412bc140821adc78d3ad9aa7b1c56dd68eb..533cd03a5641a03f5e2c88f5d6f7245ccf9014b3 100644 (file)
@@ -4,6 +4,7 @@
 #
 
 # Disable LTO for following packages
+LTO:pn-e2fsprogs = ""
 LTO:pn-glibc = ""
 LTO:pn-gcc-runtime = ""
 LTO:pn-libgcc-initial = ""