From: Thomas Perrot <[email protected]> When expect is built with LTO, GCC correctly passes -ffile-prefix-map to lto1 during link-time recompilation. However, when lto1 incorporates debug info from a linked dependency (tcl8), the directory entries in .debug_line_str from that dependency are not subject to prefix remapping, leaving a raw TMPDIR path in the split debug symbols of libexpect5.45.4.so:
.debug_line_str: /src/build/tmp/work/.../tcl8/8.6.17/build This is specific to packages linking against tcl8 with LTO and is not an incompatibility between LTO and expect itself. Signed-off-by: Thomas Perrot <[email protected]> --- Changes in v2: - Fix commit message - Link to v1: https://lore.kernel.org/all/[email protected]/ --- meta/conf/distro/include/lto.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc index 54983412bc14..8c13601a4df6 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-expect = "" LTO:pn-glibc = "" LTO:pn-gcc-runtime = "" LTO:pn-libgcc-initial = "" -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234315): https://lists.openembedded.org/g/openembedded-core/message/234315 Mute This Topic: https://lists.openembedded.org/mt/118604439/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
