public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] lto: disable LTO for e2fsprogs
@ 2026-03-30 23:07 thomas.perrot
  2026-04-01  5:39 ` Jörg Sommer
  0 siblings, 1 reply; 2+ messages in thread
From: thomas.perrot @ 2026-03-30 23:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: thomas.petazzoni, Thomas Perrot

From: Thomas Perrot <thomas.perrot@bootlin.com>

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>
---
 meta/conf/distro/include/lto.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc
index 2802d38ad3df..7471360236f9 100644
--- a/meta/conf/distro/include/lto.inc
+++ b/meta/conf/distro/include/lto.inc
@@ -4,6 +4,8 @@
 #
 
 # Disable LTO for following packages
+
+LTO:pn-e2fsprogs = "" 
 LTO:pn-expect = "" 
 LTO:pn-glibc = ""
 LTO:pn-gcc-runtime = ""
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-01  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 23:07 [OE-core][PATCH] lto: disable LTO for e2fsprogs thomas.perrot
2026-04-01  5:39 ` Jörg Sommer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox