From: Thomas Perrot Date: Mon, 30 Mar 2026 23:07:27 +0000 (+0200) Subject: lto: disable LTO for e2fsprogs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster-next;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git lto: disable LTO for e2fsprogs 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc index 54983412bc..533cd03a56 100644 --- a/meta/conf/distro/include/lto.inc +++ b/meta/conf/distro/include/lto.inc @@ -4,6 +4,7 @@ # # Disable LTO for following packages +LTO:pn-e2fsprogs = "" LTO:pn-glibc = "" LTO:pn-gcc-runtime = "" LTO:pn-libgcc-initial = ""