public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Leif Lindholm" <leif@nuviainc.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: devel@edk2.groups.io, Rebecca Cran <rebecca@bsdio.com>,
	Bob Feng <bob.c.feng@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Yuwei Chen <yuwei.chen@intel.com>,
	Sean Brogan <sean.brogan@microsoft.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>
Subject: Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Date: Wed, 8 Sep 2021 12:59:26 +0100	[thread overview]
Message-ID: <20210908115926.xwgz5tlyuduel2ji@leviathan> (raw)
In-Reply-To: <20210908114643.sseupkkknrvi2gts@sirius.home.kraxel.org>

On Wed, Sep 08, 2021 at 13:46:43 +0200, Gerd Hoffmann wrote:
> On Wed, Sep 08, 2021 at 12:13:12PM +0100, Leif Lindholm wrote:
> > On Sun, Aug 29, 2021 at 23:14:48 -0600, Rebecca Cran wrote:
> > > Linaro no longer do gcc releases - Arm creates them now.
> > > 
> > > Update the gcc_[arm,aarch64]_linux_ext_dep.yaml files in BaseTools/Bin to
> > > switch from Linaro's old release to the latest gcc 10.3-2021.07 release
> > > from Arm and fix LinuxGcc5ToolChain.py with the new gcc prefix.
> > > 
> > 
> > I don't know if anyone uses these files/tools to download toolchains
> > for downstream platforms. If they do, the upgrade from gcc7 to gcc10
> > may break their builds. But we're just after stable tag, so I have no
> > problem with that.
> 
> I'm wondering whenever this still makes sense.  I guess it was very
> useful in the early arm days where you need a cutting-edge compiler with
> the latest fixes applied to properly build edk2.  Meanwhile mainline gcc
> should work without any problems.  I'm simply using the distro cross
> compiler packages (gcc-arm-linux-gnu.rpm and gcc-aarch-linux-gnu.rpm on
> fedora) with zero problems since years.  As far I know debian/ubuntu
> have cross compiler packages too.

Oh, I personally only ever use distro-provided toolchains (when they
exist). The ones the distros use to build themselves. And I'm still
annoyed by how we're treating ARM like some weird special case that
needs to be cross compiled by default.

But that seems to be a lost battle. And I'd rather have the people who
feel that way use toolchains that occasionally get updated rather than
lock down on a version that stopped being updated several years ago.

> Fedora is at gcc11 meanwhile, so I don't expect the gcc7 -> gcc10 switch
> will trouble.  I don't do platform builds though, only ArmVirt.

Yes, hence my reference to downstream platforms :)

/
    Leif

  reply	other threads:[~2021-09-08 11:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30  5:14 [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site Rebecca Cran
2021-08-30  5:14 ` [PATCH v2 1/2] BaseTools: Switch to downloading the ARM " Rebecca Cran
2021-08-30  5:14 ` [PATCH v2 2/2] BaseTools: Switch to downloading the AARCH64 " Rebecca Cran
2021-08-30 13:45 ` [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 " Ard Biesheuvel
2021-09-09  1:42   ` 回复: [edk2-devel] " gaoliming
2021-09-08 11:13 ` Leif Lindholm
2021-09-08 11:46   ` [edk2-devel] " Gerd Hoffmann
2021-09-08 11:59     ` Leif Lindholm [this message]
2021-09-29 11:03 ` Bob Feng

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-list 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=20210908115926.xwgz5tlyuduel2ji@leviathan \
    --to=devel@edk2.groups.io \
    /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