[edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site

Rebecca Cran posted 2 patches 2 years, 8 months ago
Failed in applying to current master (apply log)
BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10 +++++-----
BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10 +++++-----
BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
3 files changed, 12 insertions(+), 12 deletions(-)
[edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Rebecca Cran 2 years, 8 months ago
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.


Rebecca Cran (2):
  BaseTools: Switch to downloading the ARM compiler from Arm's site
  BaseTools: Switch to downloading the AARCH64 compiler from Arm's site

 BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10 +++++-----
 BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10 +++++-----
 BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.31.1




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79939): https://edk2.groups.io/g/devel/message/79939
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Ard Biesheuvel 2 years, 8 months ago
On Mon, 30 Aug 2021 at 07:15, Rebecca Cran <rebecca@bsdio.com> 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.
>
>
> Rebecca Cran (2):
>   BaseTools: Switch to downloading the ARM compiler from Arm's site
>   BaseTools: Switch to downloading the AARCH64 compiler from Arm's site
>

For the series,


Acked-by: Ard Biesheuvel <ardb@kernel.org>

>  BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10 +++++-----
>  BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10 +++++-----
>  BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
>  3 files changed, 12 insertions(+), 12 deletions(-)
>
> --
> 2.31.1
>
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79954): https://edk2.groups.io/g/devel/message/79954
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


回复: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by gaoliming 2 years, 8 months ago
Acked-by: Liming Gao <gaoliming@byosoft.com.cn> for this patch set. 

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Ard
> Biesheuvel
> 发送时间: 2021年8月30日 21:46
> 收件人: 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>; Leif Lindholm <leif@nuviainc.com>; Ard
> Biesheuvel <ardb+tianocore@kernel.org>; devel@edk2.groups.io
> 主题: Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the
> ARM/AARCH64 compiler from Arm's site
> 
> On Mon, 30 Aug 2021 at 07:15, Rebecca Cran <rebecca@bsdio.com> 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.
> >
> >
> > Rebecca Cran (2):
> >   BaseTools: Switch to downloading the ARM compiler from Arm's site
> >   BaseTools: Switch to downloading the AARCH64 compiler from Arm's site
> >
> 
> For the series,
> 
> 
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
> 
> >  BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10
> +++++-----
> >  BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10
> +++++-----
> >  BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
> >  3 files changed, 12 insertions(+), 12 deletions(-)
> >
> > --
> > 2.31.1
> >
> >
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80391): https://edk2.groups.io/g/devel/message/80391
Mute This Topic: https://groups.io/mt/85475613/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Leif Lindholm 2 years, 8 months ago
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.

Acked-by: Leif Lindholm <leif@nuviainc.com>

> Rebecca Cran (2):
>   BaseTools: Switch to downloading the ARM compiler from Arm's site
>   BaseTools: Switch to downloading the AARCH64 compiler from Arm's site
> 
>  BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10 +++++-----
>  BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10 +++++-----
>  BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
>  3 files changed, 12 insertions(+), 12 deletions(-)
> 
> -- 
> 2.31.1
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80346): https://edk2.groups.io/g/devel/message/80346
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Gerd Hoffmann 2 years, 8 months ago
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.

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.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80348): https://edk2.groups.io/g/devel/message/80348
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Leif Lindholm 2 years, 8 months ago
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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80350): https://edk2.groups.io/g/devel/message/80350
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site
Posted by Bob Feng 2 years, 7 months ago
Acked-by: Bob Feng <bob.c.feng@intel.com>

Sorry for the late response.

-----Original Message-----
From: Rebecca Cran <rebecca@bsdio.com> 
Sent: Monday, August 30, 2021 1:15 PM
To: Feng, Bob C <bob.c.feng@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Chen, Christine <yuwei.chen@intel.com>; Sean Brogan <sean.brogan@microsoft.com>; Sami Mujawar <sami.mujawar@arm.com>; Leif Lindholm <leif@nuviainc.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Rebecca Cran <rebecca@bsdio.com>; devel@edk2.groups.io
Subject: [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site

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.


Rebecca Cran (2):
  BaseTools: Switch to downloading the ARM compiler from Arm's site
  BaseTools: Switch to downloading the AARCH64 compiler from Arm's site

 BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml              | 10 +++++-----
 BaseTools/Bin/gcc_arm_linux_ext_dep.yaml                  | 10 +++++-----
 BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py |  4 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)

--
2.31.1




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81275): https://edk2.groups.io/g/devel/message/81275
Mute This Topic: https://groups.io/mt/85244523/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-