]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lto: disable sqlite3 to fix buildpaths QA failure
authorThomas Perrot <thomas.perrot@bootlin.com>
Sat, 28 Mar 2026 15:34:13 +0000 (16:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Mar 2026 16:51:26 +0000 (17:51 +0100)
With LTO enabled, GCC performs a link-time recompilation pass where
DW_AT_comp_dir is set to the build directory. The -ffile-prefix-map
flags from DEBUG_PREFIX_MAP are not applied to this attribute during
LTO recompilation, leaving a raw TMPDIR path in the split debug
symbols of libsqlite3.so.

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

index 8752249685a453a7de74b783e0ae9a81eb121809..b4f823681af0925060ededb97504fb313459485b 100644 (file)
@@ -21,6 +21,8 @@ LTO:pn-libbsd = ""
 LTO:pn-perf = ""
 # webkit is not linking properly with LTO, disable until next time
 LTO:pn-webkitgtk = ""
+# LTO link-time recompilation leaves TMPDIR in DW_AT_comp_dir of debug symbols
+LTO:pn-sqlite3 = ""
 LTO:pn-xserver-xorg = ""
 LTO:pn-grub = ""
 LTO:pn-grub-efi = ""