public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org, bunk@stusta.de
Subject: Re: [OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native
Date: Tue, 05 May 2020 13:42:21 +0100	[thread overview]
Message-ID: <96c996b112bb6b054d4b32d7d3283fbc60fbbf7e.camel@linuxfoundation.org> (raw)
In-Reply-To: <20200505101427.GA19882@localhost>

On Tue, 2020-05-05 at 13:14 +0300, Adrian Bunk wrote:
> On Fri, May 01, 2020 at 05:46:01PM +0100, Richard Purdie wrote:
> > A nativesdk BBCLASSEXTEND was added to gcc-target without realising
> > this
> > would pass arch=native through to it for x86-64. This heavily
> > optimises
> > gcc output for the host its running on meaning it can't be reused
> > via
> > sstate on other machines.
> > 
> > Add class-target overrides here to get the desired behaviour. All
> > targets have been covered for completeness.
> > ...
> > +EXTRA_OECONF_append_x86-64_class-target = " --with-arch=native"
> > ...
> 
> What do you expect --with-arch=native to do for the target
> of a cross compiler?

gcc-target isn't a cross compiler.

Cheers,

Richard


      reply	other threads:[~2020-05-05 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 16:46 [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native Richard Purdie
2020-05-01 16:46 ` [PATCH 2/2] abi_version/staging: Bump versions to force rebuild after sstate corruption Richard Purdie
2020-05-01 16:54 ` [OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native Khem Raj
2020-05-05 10:14 ` Adrian Bunk
2020-05-05 12:42   ` Richard Purdie [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=96c996b112bb6b054d4b32d7d3283fbc60fbbf7e.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bunk@stusta.de \
    --cc=openembedded-core@lists.openembedded.org \
    /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