ci: update Arm source and binary gcc version to 10.3
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/2 ci: update Arm source and binary gcc version to 10.3
--- ci/armgcc.yml | 2 +- ci/get-binary-toolchains | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-)
ci/armgcc.yml +1 -1
@@ -3,4 +3,4 @@ header: local_conf_header: cc: | - GCCVERSION = "arm-10.3" + GCCVERSION = "arm-11.2"
ci/get-binary-toolchains +5 -5
@@ -2,7 +2,7 @@ set -u HOST_ARCH=$(uname -m) -VER="10.3-2021.07" +VER="11.2-2022.02" DOWNLOAD_DIR=$1 TOOLCHAIN_DIR=$2
@@ -15,18 +15,18 @@ if [ $HOST_ARCH = "aarch64" ]; then #AArch64 Linux hosted cross compilers #AArch32 target with hard float (arm-none-linux-gnueabihf) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz elif [ $HOST_ARCH = "x86_64" ]; then #x86_64 Linux hosted cross compilers #AArch32 target with hard float (arm-linux-none-gnueabihf) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz #AArch64 GNU/Linux target (aarch64-none-linux-gnu) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64-none-linux-gnu.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64-none-linux-gnu.tar.xz #AArch64 GNU/Linux target (aarch64_be-none-linux-gnu) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64_be-none-linux-gnu.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64_be-none-linux-gnu.tar.xz else echo "ERROR - Unknown build arch of $HOST_ARCH" exit 1
Signature · 1 line
2.17.1
Quoted 1 line · Sumit Garg
Signed-off-by Sumit Garg <[email protected]>
The subject should be 11.2, not 10.3
Also, this should really be part of the previous patch, as the previous one won't pass CI without this one (and thus isn't atomic for bisecting).
Thanks,
Jon
Quoted 64 lines
--- ci/armgcc.yml | 2 +- ci/get-binary-toolchains | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-)ci/armgcc.yml +1
-1@@ -3,4 +3,4 @@ header: local_conf_header: cc: | - GCCVERSION = "arm-10.3" + GCCVERSION = "arm-11.2"ci/get-binary-toolchains +5
-5@@ -2,7 +2,7 @@ set -u HOST_ARCH=$(uname -m) -VER="10.3-2021.07" +VER="11.2-2022.02" DOWNLOAD_DIR=$1 TOOLCHAIN_DIR=$2@@ -15,18 +15,18 @@ if [ $HOST_ARCH = "aarch64" ]; then #AArch64 Linux hosted cross compilers #AArch32 target with hard float (arm-none-linux-gnueabihf) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz elif [ $HOST_ARCH = "x86_64" ]; then #x86_64 Linux hosted cross compilers #AArch32 target with hard float (arm-linux-none-gnueabihf) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-arm-none-linux-gnueabihf.tar.xz #AArch64 GNU/Linux target (aarch64-none-linux-gnu) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64-none-linux-gnu.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64-none-linux-gnu.tar.xz #AArch64 GNU/Linux target (aarch64_be-none-linux-gnu) - wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu-a/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64_be-none-linux-gnu.tar.xz + wget -P $DOWNLOAD_DIR -nc https://developer.arm.com/-/media/Files/downloads/gnu/$VER/binrel/gcc-arm-$VER-$HOST_ARCH-aarch64_be-none-linux-gnu.tar.xz else echo "ERROR - Unknown build arch of $HOST_ARCH" exit 1Signature · 11 lines
2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#3179): https://lists.yoctoproject.org/g/meta-arm/message/3179 Mute This Topic: https://lists.yoctoproject.org/mt/89842776/3616920 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [meta-arm] [PATCH 1/2] arm-toolchain: Uprev 10.3 -> 11.2
Quoted 5 lines · Jon Mason
Quoted 1 line · Sumit Garg
Update Arm GCC toolchain recipe and patches accordingly.
I'm seeing errors when I tried to compile this for fvp-base-arm32 using the binary toolchain (the source based one works fine). I see
Hmm, I was beginning to wonder if external-arm-toolchain also needed any updates for 11.2...
But the log doesn't seem to be very useful for whatever reason.
Quoted 37 lines
ERROR: external-arm-toolchain-2022.02-r0
do_install: ExecutionError('/builder/meta-arm/build/tmp/work/armv7at2hf-vfp-poky-linux-gnueabi/external-arm-toolchain/2022.02-r0/temp/run.do_install.3421002', 2, None, None)
ERROR: Logfile of failure stored in: /builder/meta-arm/build/tmp/work/armv7at2hf-vfp-poky-linux-gnueabi/external-arm-toolchain/2022.02-r0/temp/log.do_install.3421002
Log data follows:| DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['virtual:native:/builder/meta-arm/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/builder/meta-arm/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/builder/meta-arm/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['patch-native', 'pseudo-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | WARNING: exit code 2 from a shell command.ERROR: Task (/builder/meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2066 tasks of which 1551 didn't need to be rerun and 1 failed.and the complete log is the same
DEBUG: Executing python function
extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/builder/meta-arm/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/builder/meta-arm/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/builder/meta-arm/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['patch-native', 'pseudo-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
DEBUG: Python functionextend_recipe_sysrootfinished
DEBUG: Executing shell functiondo_install
WARNING: exit code 2 from a shell command.You can see the full CI at
https://gitlab.com/jonmason00/meta-arm/-/pipelines/495926216It is working fine on the old version. So, I wonder if something broke with the merging of the toolchains. FWIW, I tried this series some time ago on my own and was seeing similar results. See
https://gitlab.com/jonmason00/meta-arm/-/pipelines/473381131Also, this email isn't on lore (for some reason), but the second one is. See https://lore.kernel.org/yocto-meta-arm/
My delay in responding is (partly) because of this.Thanks,
Jon