public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Thomas Perrot <thomas.perrot@bootlin.com>
To: openembedded-core@lists.openembedded.org
Cc: thomas.perrot@bootlin.com, thomas.petazzoni@bootlin.com
Subject: Re: [OE-core][PATCH] lto: disable sqlite3 to fix buildpaths QA failure
Date: Mon, 30 Mar 2026 12:05:26 +0200	[thread overview]
Message-ID: <53d1c372f60ebae17cd0bda50df842f6716b4e69.camel@bootlin.com> (raw)
In-Reply-To: <20260328153413.279179-1-thomas.perrot@bootlin.com>

[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]

Hello,

This workaround isn't needed until the following patch has been
applied:
https://lore.kernel.org/all/20260204052638.284617-1-changqing.li@windriver.com/

Thanks, Changqing Li.

Kind regards,
Thomas Perrot

On Sat, 2026-03-28 at 16:34 +0100, thomas.perrot@bootlin.com wrote:
> From: Thomas Perrot <thomas.perrot@bootlin.com>
> 
> 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>
> ---
>  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 8752249685a4..b4f823681af0 100644
> --- a/meta/conf/distro/include/lto.inc
> +++ b/meta/conf/distro/include/lto.inc
> @@ -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 = ""

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      reply	other threads:[~2026-03-30 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-28 15:34 [OE-core][PATCH] lto: disable sqlite3 to fix buildpaths QA failure thomas.perrot
2026-03-30 10:05 ` Thomas Perrot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53d1c372f60ebae17cd0bda50df842f6716b4e69.camel@bootlin.com \
    --to=thomas.perrot@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox