All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Paul Barker <paul@pbarker.dev>
Cc: openembedded-core@lists.openembedded.org,
	Denys Dmytriyenko <denys@konsulko.com>
Subject: Re: [PATCH] Revert "tclibc-baremetal.inc: fix gcc-cross EXTRA_OECONF"
Date: Wed, 7 Oct 2026 16:14:44 -0400	[thread overview]
Message-ID: <20261007201444.GP4190@denix.org> (raw)
In-Reply-To: <9032ce70465fe1664635c7a3c4eef470c774092e.camel@pbarker.dev>

On Wed, Oct 07, 2026 at 03:30:10PM +0100, Paul Barker wrote:
> On Tue, 2026-10-06 at 17:42 -0400, Denys Dmytriyenko wrote:
> > From: Denys Dmytriyenko <denys@konsulko.com>
> > 
> > While this change has good intentions, unfortunaly, it completely
> > breaks baremetal setup (at least for ARM arch).
> > 
> > The line this change removes seems to mask an underlying issue,
> > but until that issue is fully understood and resolved, let's
> > revert it and restore the working baremetal behavior.
> > 
> > For more details please see the following discussion:
> > https://lists.openembedded.org/g/openembedded-core/topic/121486589
> > 
> > This reverts commit 020d5f018616bc48eae3a23d5498dec3c78a1386.
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> > ---
> >  meta/conf/distro/include/tclibc-baremetal.inc | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc
> > index 6043cb6654..abea5a7162 100644
> > --- a/meta/conf/distro/include/tclibc-baremetal.inc
> > +++ b/meta/conf/distro/include/tclibc-baremetal.inc
> > @@ -18,6 +18,7 @@ USE_NLS ?= "no"
> >  IMAGE_LINGUAS = ""
> >  LIBC_DEPENDENCIES = ""
> >  
> > +EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers"
> 
> Hi Denys,
> 
> I wonder if the fix is that this should be:
> 
>     EXTRA_OECONF:append:pn-gcc-cross-${TARGET_ARCH}

Yeah, I noticed the order of overrides is backwards, but don't think it 
matters and the issue is deeper it seems. I see that Joerg send a follow up 
patch to address it, but I haven't been able to test it yet.

-- 
Denys


      parent reply	other threads:[~2026-10-07 20:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 21:42 [PATCH] Revert "tclibc-baremetal.inc: fix gcc-cross EXTRA_OECONF" Denys Dmytriyenko
2026-10-07  6:01 ` [OE-core] " Jörg Vehlow
2026-10-07 14:30 ` Paul Barker
2026-10-07 20:13   ` [OE-core] " Ryan Eatmon
2026-10-07 20:14   ` Denys Dmytriyenko [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=20261007201444.GP4190@denix.org \
    --to=denis@denix.org \
    --cc=denys@konsulko.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul@pbarker.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.