[edk2-devel] [PATCH 0/2] BaseTools: Switch ARM/AARCH64 CI gcc from Linaro to Arm

Rebecca Cran rebecca at bsdio.com
Sat Aug 28 01:16:02 UTC 2021


On 8/27/2021 1:31 PM, Ard Biesheuvel wrote:
> On Thu, 26 Aug 2021 at 23:03, Rebecca Cran <rebecca at bsdio.com> wrote:
>> I've created a ticket in Bugzilla:
>> https://bugzilla.tianocore.org/show_bug.cgi?id=3594.
>>
>>
>> --
>> Rebecca Cran
>>
>>
>> On 8/22/21 11:35 PM, 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.
>>>
>>> The private PR https://github.com/tianocore/edk2/pull/1909 failed due to
>>> a problem with GCC5_[ARM,AARCH64]_PREFIX. I don't know if there are more
>>> changes I need to add, or if it's a problem with the CI system.
>>>
>
> You are changing the compiler from
>
>    arm-linux-gnueabihf-gcc
>
> to
>
>    arm-none-linux-gnueabihf-gcc
>
> (and likewise for aarch64) so I am not surprised you are hitting problems.

Ah, I see why that's a problem now. The path is constructed in 
BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py:

             # make GCC5_ARM_PREFIX to align with tools_def.txt
             prefix = os.path.join(install_path, "bin", 
"arm-linux-gnueabihf-")
shell_environment.GetEnvironment().set_shell_var("GCC5_ARM_PREFIX", prefix)


That explains why it worked on my machine where GCC5_ARM_PREFIX and 
GCC5_AARCH64_PREFIX are already set.


-- 
Rebecca Cran





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79910): https://edk2.groups.io/g/devel/message/79910
Mute This Topic: https://groups.io/mt/85079213/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list