public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Jörg Sommer" <joerg.sommer@navimatix.de>
To: thomas.perrot@bootlin.com
Cc: openembedded-core@lists.openembedded.org, thomas.petazzoni@bootlin.com
Subject: Re: [OE-core][PATCH] lto: disable for expect and add DEBUG_PREFIX_MAP to ldflags
Date: Tue, 31 Mar 2026 17:40:46 +0200	[thread overview]
Message-ID: <acvqE8lCFwxJesUk@navimatix.de> (raw)
In-Reply-To: <20260331081246.73406-1-thomas.perrot@bootlin.com>

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

Thomas Perrot via lists.openembedded.org schrieb am Di 31. Mär, 10:12 (+0200):
> From: Thomas Perrot <thomas.perrot@bootlin.com>
> 
> Disable LTO for the expect package and append DEBUG_PREFIX_MAP to
> TARGET_LDFLAGS when LTO is enabled, ensuring debug info remapping
> is applied consistently alongside LTO flags.
> 
> Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
> ---
>  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 8752249685a4..c66dfc5a8074 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 = ""

I suspect this is due to the gcc bug not because LTO is unsuitable for
expect. Might it be a good idea to move all excludes due to the gcc bug in
its own block? This would make it easier to revert them when the bug gets
resolved.

>  LTO:pn-glibc = ""
>  LTO:pn-gcc-runtime = ""
>  LTO:pn-libgcc-initial = ""
> -- 
> 2.53.0
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: Every message in topics or hashtags you are following is emailed to you.
> The first message of every new thread is also emailed to you.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#234270): https://lists.openembedded.org/g/openembedded-core/message/234270
> Follow This Topic: https://lists.openembedded.org/ft/118593189/7646358
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [joerg.sommer@navimatix.de]
> -=-=-=-=-=-=-=-=-=-=-=-
> 

-- 
Navimatix GmbH           T: 03641 - 327 99 0
Tatzendpromenade 2       F: 03641 - 526 306
07745 Jena               www.navimatix.de

Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5000 bytes --]

  parent reply	other threads:[~2026-03-31 15:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-31  8:12 [OE-core][PATCH] lto: disable for expect and add DEBUG_PREFIX_MAP to ldflags thomas.perrot
2026-03-31 14:12 ` Richard Purdie
2026-03-31 14:17   ` Thomas Perrot
2026-03-31 15:40 ` Jörg Sommer [this message]
2026-03-31 19:45   ` Khem Raj
2026-03-31 20:27     ` Thomas Perrot

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=acvqE8lCFwxJesUk@navimatix.de \
    --to=joerg.sommer@navimatix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=thomas.perrot@bootlin.com \
    --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