From: Thomas Perrot <[email protected]>

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 <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234259): 
https://lists.openembedded.org/g/openembedded-core/message/234259
Mute This Topic: https://lists.openembedded.org/mt/118588528/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [OE-core][PATCH] lto: disable ... Thomas Perrot via lists.openembedded.org

Reply via email to