From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA711C38A2D for ; Thu, 7 Apr 2022 15:41:15 +0000 (UTC) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by mx.groups.io with SMTP id smtpd.web12.8143.1649345673023309614 for ; Thu, 07 Apr 2022 08:34:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=dUd0l8nh; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.174, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f174.google.com with SMTP id c199so755777qkg.4 for ; Thu, 07 Apr 2022 08:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jUlAvmAi1oS+ZQcwfi0Pzf+rcoZPuyjMYPTVE1vkjQk=; b=dUd0l8nhjQETbtQUJrm0DLXQ1wDdrMTeHG44RgQUMIoGGxHQ7Q19vSYhm2xHDY65NO /FGwek/RJhzifkNx02MnA1iTOGQhH490CzYz61HDUwGrU8XQGCesR227MWDKCVX8zTEK ZHFGQXey4BlijBzQLmNvhhYGMWOGpQX10EGxEYMsa9TDwTA+gZ+aimSsNxdKwaiQquwO MBp4DgTZAgCUUiux1zmrwA6wF8/Hyp9tvAzSJir97SLT4yaOv/yB/FEwWB0PxUMEKhyP CyMh/qCCl3Wwb5l8Jz6uFiRAWCOydz3FHdOtf6IlemEP6VVigKI60WfCiMASN0QiR7o3 lsWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jUlAvmAi1oS+ZQcwfi0Pzf+rcoZPuyjMYPTVE1vkjQk=; b=5lqmD9aLeTMLd6w8MglIhUsU6rCnDEJ+xLYqgnKDfjIMfZCH8pVc4uxTwG9o3hyFSA Pn+OGhVNO8aQ+LhbMVMsBI6sWmSykEzjX8tv2XXQdcf3OgrRgNqH9uPtSSVIb4aLTQz2 J1DCU0FGkqImgEiQY3nxBkDsRbw89/6fhcJN/qxnA7Q3uLFfS3avIyxRla24f5UYm8W/ d90jQlc3b1WeN6K4mUBGaY/ALZZ3DdAle63Ycyg+uErM8TysCNXXz62hLdKGG9rqfugy lsNXYMwIX+zupK4uLLtggm8ka+Aqmm29eaR361q08RDQXJH+ho9Wo2tJva+3u5EpKr/0 8gtA== X-Gm-Message-State: AOAM531XkPwqiJZ9jbywFiLrA/6d0EeCWzERupC9xQEBSqWPDrBxvKqG 18yAZV3ovOJ4sSA2m2cc7R4urQ== X-Google-Smtp-Source: ABdhPJwyzy66DYzge9OcAtsRNyFrEtge37L8JP/yLvuvFnEfWiROWBOaTXMs6y9F2oEr81btx1zvQw== X-Received: by 2002:a37:270e:0:b0:69a:970:c046 with SMTP id n14-20020a37270e000000b0069a0970c046mr1704391qkn.132.1649345671754; Thu, 07 Apr 2022 08:34:31 -0700 (PDT) Received: from kudzu.us ([2605:a601:a66c:b900:3b2f:a3a7:b707:646]) by smtp.gmail.com with ESMTPSA id d6-20020ac85d86000000b002e1e20444b6sm15459739qtx.57.2022.04.07.08.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 08:34:31 -0700 (PDT) Date: Thu, 7 Apr 2022 11:34:29 -0400 From: Jon Mason To: Sumit Garg Cc: Denys Dmytriyenko , meta-arm@lists.yoctoproject.org Subject: Re: [meta-arm] [RFC] arm-toolchain: upgrade toolchains to 11.2-2002.02 Message-ID: References: <20220322134327.4090222-1-jon.mason@arm.com> <20220322173040.GJ23554@denix.org> <20220322192750.GM23554@denix.org> <20220330201525.GD23554@denix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Apr 2022 15:41:15 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3252 On Mon, Apr 04, 2022 at 07:14:45PM +0530, Sumit Garg wrote: > Hi Denys and Jon, > > On Thu, 31 Mar 2022 at 01:45, Denys Dmytriyenko wrote: > > > > On Tue, Mar 22, 2022 at 05:08:41PM -0400, Jon Mason wrote: > > > On Tue, Mar 22, 2022 at 3:27 PM Denys Dmytriyenko wrote: > > > > > > > > On Tue, Mar 22, 2022 at 03:20:37PM -0400, Jon Mason wrote: > > > > > After a minor change and using -M25% > > > > > > > > Thanks! The patch is obviously malformed as it was sent as a reply, but > > > > otherwise looks good to me. > > > > > > > > Feel free to add to the real patch: > > > > > > > > Reviewed-by: Denys Dmytriyenko > > > > I have to retract my Reviewed-by, as the patch seems incorrect. > > > > > > > If only this one worked. I'm still seeing the error with do_install > > > https://gitlab.com/jonmason00/meta-arm/-/jobs/2236954115 > > > > > > And no actual error in the log, and I'm not sure where to begin > > > debugging it without an error in the log. You can pull the code down > > > from my gitlab > > > https://gitlab.com/jonmason00/meta-arm/ > > > branch dev3 > > > > > > I would really appreciate your reviewed-by for the other patch (as I > > > can actually confirm it works in our CI, and I'd like to get it in > > > before the code freeze at the end of the month). > > > https://lists.yoctoproject.org/g/meta-arm/message/3191 > > > > Here's the thing - you are updating baremetal toolchain recipes, which > > download their release tarballs on their own and not by CI. > > > > You are also changing CI part that downloads Linux toolchain used by > > external-toolchain, not by baremetal toolchains. > > > > So, you are feeding newer 11.2 Linux toolchain release to external-toolchain > > recipe that might need updating also due to subtle changes in their release > > structure. > > > > There are 3 different types of toolchains in meta-arm-toolchain: > > > > 1. ARM Linux toolchain built from sources, then used to build the rest of the > > Linux system - recipes-devtool/gcc > > > > 2. ARM Linux toolchain using prebuilt binaries, expects those binaries to > > exist on the host (downloaded by CI) and the recipe then scrapes required > > pieces into sysroot, which then used to build the rest of the Linux system - > > recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb > > Earlier I guessed that it should work without any changes but it looks > like GNU-A and GNU-RM merge led to significant changes in libc > packaging, see below. > > > > > 3. ARM baremetal toolchains used to build firmware and non-Linux components, > > recipes are self-contained and download their binaries on their own - > > recipes-devtools/external-arm-toolchain/gcc-$arch-none-{elf/eabi}_*.bb > > > > All 3 are independent of each other and have no re-use between them, as they > > are different. And thus can have different versions. #1 and #2 are mutually > > exclusive, as that's your main Linux toolchain. #3 can co-exist with either > > one of those two as it's for baremetal components. > > > > > > So, Sumit's first patch updated #1 - source Linux toolchain. His second patch > > tried to update CI for #2 - external prebuilt Linux toolchain. That's where > > the error is coming from. > > > > You then re-spinned the patch and besides updating CI for #2 toolchain, also > > bumped up #3 baremetal toolchains. The error is still there though and is in > > external prebuilt Linux toolchain (#2), not in baremetal toolchains (#3). > > > > As I said earlier, it seems external-arm-toolchain also needs some adjustments > > for 11.2 besides pulling new tarballs in CI. > > > > I might be able to find some time and look into fixing external-arm-toolchain > > to work with 11.2 prebuilt binary release in the next couple days. > > It looks like there have been a lot of changes to how glibc is > packaged into the toolchain. As an example we can no longer find any > symlinks to "lib*-${EAT_VER_LIBC}.so" in 11.2 prebuilt toolchain. So I > will try to add corresponding support but it may take time with > testing involved. > > > Worst case > > scenario - split your patch and only merge baremetal update, leaving CI at > > 10.3 for now for external-arm-toolchain... > > We should go ahead with this strategy. I would very much like both of the toolchains at the same version, but I understand this might not be possible with release schedules being what they are and the need for testing. While waiting for this, we'll stick with the split. I appreciate everyone trying to get this done and I'm happy to help in any way I can. Thanks, Jon > > -Sumit > > > > > > > PS. it appears Patchwork is missing some patches, specifically both Sumit's > > first version to update #1, as well as your second re-spin for the same. > > Wonder if it's due to the patch size... > > > > -- > > Denys > > > > > > > > > diff --git a/ci/get-binary-toolchains b/ci/get-binary-toolchains > > > > > index 838342a1c572..394ce4131b9f 100755 > > > > > --- a/ci/get-binary-toolchains > > > > > +++ b/ci/get-binary-toolchains > > > > > @@ -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,21 @@ 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 > > > > > + > > > > > + #AArch64 GNU/Linux target (aarch64-none-linux-gnu) > > > > > + 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 > > > > > 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 > > > > > diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb > > > > > b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > similarity index 61% > > > > > rename from meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb > > > > > rename to meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > index 02b5b43bdd7e..a9e6b581a50e 100644 > > > > > --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb > > > > > +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > @@ -9,16 +9,16 @@ SUMMARY = "Baremetal GCC for Aarch64 processors" > > > > > LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" > > > > > > > > > > LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}" > > > > > -LIC_FILES_CHKSUM:aarch64 = > > > > > "file://share/doc/gcc/Copying.html;md5=d06ace534ed0851debcb7140c5b5116e" > > > > > -LIC_FILES_CHKSUM:x86-64 = > > > > > "file://share/doc/gcc/Copying.html;md5=e4bcb5bee0c4a50c06704b0b73fcbe0c" > > > > > +LIC_FILES_CHKSUM:aarch64 = > > > > > "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0" > > > > > +LIC_FILES_CHKSUM:x86-64 = > > > > > "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887" > > > > > > > > > > -PROVIDES = "virtual/aarch64-none-elf-gcc" > > > > > +PROVIDES = "virtual/${BINNAME}-gcc" > > > > > > > > > > -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-a-${HOST_ARCH}" > > > > > -SRC_URI[gnu-a-aarch64.sha256sum] = > > > > > "768a5db41d93f48838f1c4bfeae26930df2320c09f0dfa798321082fb937955f" > > > > > -SRC_URI[gnu-a-x86_64.sha256sum] = > > > > > "6f74b1ee370caeb716688d2e467e5b44727fdc0ed56023fe5c72c0620019ecef" > > > > > +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-a-${HOST_ARCH}" > > > > > +SRC_URI[gnu-a-aarch64.sha256sum] = > > > > > "3b15725545a0211a17b63e72d4f10241f7ffbe7ce94cb9612590ceacde16992c" > > > > > +SRC_URI[gnu-a-x86_64.sha256sum] = > > > > > "b0a015a9e8cbb44ed2fe5ad755a7a7ae254d54f93df3bf47378485b0ba8b828b" > > > > > > > > > > S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}" > > > > > > > > > > -UPSTREAM_CHECK_URI = > > > > > "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads" > > > > > +UPSTREAM_CHECK_URI = > > > > > "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads" > > > > > UPSTREAM_CHECK_REGEX = "gcc-arm-(?P.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" > > > > > diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > similarity index 35% > > > > > rename from meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > rename to meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > index ad7e81617d74..930bb5261be8 100644 > > > > > --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > @@ -8,13 +8,17 @@ COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" > > > > > SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors" > > > > > LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" > > > > > > > > > > -LIC_FILES_CHKSUM = > > > > > "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5" > > > > > +LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}" > > > > > +LIC_FILES_CHKSUM:aarch64 = > > > > > "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0" > > > > > +LIC_FILES_CHKSUM:x86-64 = > > > > > "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887" > > > > > > > > > > -PROVIDES = "virtual/arm-none-eabi-gcc" > > > > > +PROVIDES = "virtual/${BINNAME}-gcc" > > > > > > > > > > -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${PV}/${BP}-${HOST_ARCH}-linux.tar.bz2;name=gnu-rm-${HOST_ARCH}" > > > > > -SRC_URI[gnu-rm-aarch64.sha256sum] = > > > > > "f605b5f23ca898e9b8b665be208510a54a6e9fdd0fa5bfc9592002f6e7431208" > > > > > -SRC_URI[gnu-rm-x86_64.sha256sum] = > > > > > "97dbb4f019ad1650b732faffcc881689cedc14e2b7ee863d390e0a41ef16c9a3" > > > > > +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-rm-${HOST_ARCH}" > > > > > +SRC_URI[gnu-rm-aarch64.sha256sum] = > > > > > "dd861d188f4061a7ef3857c948376f84ef1dfb88a32aded7c336ed7e47e60970" > > > > > +SRC_URI[gnu-rm-x86_64.sha256sum] = > > > > > "8c5acd5ae567c0100245b0556941c237369f210bceb196edfe5a2e7532c60326" > > > > > > > > > > -UPSTREAM_CHECK_URI = > > > > > "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads" > > > > > -UPSTREAM_CHECK_REGEX = "${BPN}-(?P.+)-${HOST_ARCH}-linux\.tar\.\w+" > > > > > +S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}" > > > > > + > > > > > +UPSTREAM_CHECK_URI = > > > > > "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads" > > > > > +UPSTREAM_CHECK_REGEX = "gcc-arm-(?P.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Mar 22, 2022 at 1:30 PM Denys Dmytriyenko wrote: > > > > > > > > > > > > On Tue, Mar 22, 2022 at 09:43:27AM -0400, Jon Mason wrote: > > > > > > > There is a new and unified version of the toolchains (no longer the RM > > > > > > > and A toolchain split). Update the paths and SHAs to reflect the new > > > > > > > location. > > > > > > > > > > > > > > NOTE: with this change, the binary toolchains do not appear to work > > > > > > > > > > > > > > Signed-off-by: Jon Mason > > > > > > > --- > > > > > > > ci/get-binary-toolchains | 13 ++++++---- > > > > > > > ...b => gcc-aarch64-none-elf_11.2-2022.02.bb} | 14 +++++------ > > > > > > > .../gcc-arm-none-eabi_10.3-2021.10.bb | 20 ---------------- > > > > > > > .../gcc-arm-none-eabi_11.2-2022.02.bb | 24 +++++++++++++++++++ > > > > > > > 4 files changed, 39 insertions(+), 32 deletions(-) > > > > > > > rename meta-arm-toolchain/recipes-devtools/external-arm-toolchain/{gcc-aarch64-none-elf_10.3-2021.07.bb => gcc-aarch64-none-elf_11.2-2022.02.bb} (61%) > > > > > > > delete mode 100644 meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > > > create mode 100644 meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > > > > > > > > Any chance to lower the similarity threshold to make it a diff for review, > > > > > > instead of remove/add? > > > > > > > > > > > > > > > > > > > diff --git a/ci/get-binary-toolchains b/ci/get-binary-toolchains > > > > > > > index 838342a1c572..394ce4131b9f 100755 > > > > > > > --- a/ci/get-binary-toolchains > > > > > > > +++ b/ci/get-binary-toolchains > > > > > > > @@ -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,21 @@ 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 > > > > > > > + > > > > > > > + #AArch64 GNU/Linux target (aarch64-none-linux-gnu) > > > > > > > + 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 > > > > > > > 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 > > > > > > > diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > > > similarity index 61% > > > > > > > rename from meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb > > > > > > > rename to meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > > > index 02b5b43bdd7e..a9e6b581a50e 100644 > > > > > > > --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb > > > > > > > +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_11.2-2022.02.bb > > > > > > > @@ -9,16 +9,16 @@ SUMMARY = "Baremetal GCC for Aarch64 processors" > > > > > > > LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" > > > > > > > > > > > > > > LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}" > > > > > > > -LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=d06ace534ed0851debcb7140c5b5116e" > > > > > > > -LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=e4bcb5bee0c4a50c06704b0b73fcbe0c" > > > > > > > +LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0" > > > > > > > +LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887" > > > > > > > > > > > > > > -PROVIDES = "virtual/aarch64-none-elf-gcc" > > > > > > > +PROVIDES = "virtual/${BINNAME}-gcc" > > > > > > > > > > > > > > -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-a-${HOST_ARCH}" > > > > > > > -SRC_URI[gnu-a-aarch64.sha256sum] = "768a5db41d93f48838f1c4bfeae26930df2320c09f0dfa798321082fb937955f" > > > > > > > -SRC_URI[gnu-a-x86_64.sha256sum] = "6f74b1ee370caeb716688d2e467e5b44727fdc0ed56023fe5c72c0620019ecef" > > > > > > > +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-a-${HOST_ARCH}" > > > > > > > +SRC_URI[gnu-a-aarch64.sha256sum] = "3b15725545a0211a17b63e72d4f10241f7ffbe7ce94cb9612590ceacde16992c" > > > > > > > +SRC_URI[gnu-a-x86_64.sha256sum] = "b0a015a9e8cbb44ed2fe5ad755a7a7ae254d54f93df3bf47378485b0ba8b828b" > > > > > > > > > > > > > > S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}" > > > > > > > > > > > > > > -UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads" > > > > > > > +UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads" > > > > > > > UPSTREAM_CHECK_REGEX = "gcc-arm-(?P.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" > > > > > > > diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > > > deleted file mode 100644 > > > > > > > index ad7e81617d74..000000000000 > > > > > > > --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb > > > > > > > +++ /dev/null > > > > > > > @@ -1,20 +0,0 @@ > > > > > > > -# Copyright (C) 2019 Garmin Ltd. or its subsidiaries > > > > > > > -# Released under the MIT license (see COPYING.MIT for the terms) > > > > > > > - > > > > > > > -require arm-binary-toolchain.inc > > > > > > > - > > > > > > > -COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" > > > > > > > - > > > > > > > -SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors" > > > > > > > -LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" > > > > > > > - > > > > > > > -LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5" > > > > > > > - > > > > > > > -PROVIDES = "virtual/arm-none-eabi-gcc" > > > > > > > - > > > > > > > -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${PV}/${BP}-${HOST_ARCH}-linux.tar.bz2;name=gnu-rm-${HOST_ARCH}" > > > > > > > -SRC_URI[gnu-rm-aarch64.sha256sum] = "f605b5f23ca898e9b8b665be208510a54a6e9fdd0fa5bfc9592002f6e7431208" > > > > > > > -SRC_URI[gnu-rm-x86_64.sha256sum] = "97dbb4f019ad1650b732faffcc881689cedc14e2b7ee863d390e0a41ef16c9a3" > > > > > > > - > > > > > > > -UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads" > > > > > > > -UPSTREAM_CHECK_REGEX = "${BPN}-(?P.+)-${HOST_ARCH}-linux\.tar\.\w+" > > > > > > > diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > > > new file mode 100644 > > > > > > > index 000000000000..4e9fe35789f9 > > > > > > > --- /dev/null > > > > > > > +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_11.2-2022.02.bb > > > > > > > @@ -0,0 +1,24 @@ > > > > > > > +# Copyright (C) 2019 Garmin Ltd. or its subsidiaries > > > > > > > +# Released under the MIT license (see COPYING.MIT for the terms) > > > > > > > + > > > > > > > +require arm-binary-toolchain.inc > > > > > > > + > > > > > > > +COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" > > > > > > > + > > > > > > > +SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors" > > > > > > > +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" > > > > > > > + > > > > > > > +LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}" > > > > > > > +LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=be4f8b5ff7319cd54f6c52db5d6f36b0" > > > > > > > +LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=1f07179249795891179bb3798bac7887" > > > > > > > + > > > > > > > +PROVIDES = "virtual/${BINNAME}-gcc" > > > > > > > + > > > > > > > +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu/${PV}/binrel/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}.tar.xz;name=gnu-rm-${HOST_ARCH}" > > > > > > > +SRC_URI[gnu-rm-aarch64.sha256sum] = "dd861d188f4061a7ef3857c948376f84ef1dfb88a32aded7c336ed7e47e60970" > > > > > > > +SRC_URI[gnu-rm-x86_64.sha256sum] = "8c5acd5ae567c0100245b0556941c237369f210bceb196edfe5a2e7532c60326" > > > > > > > + > > > > > > > +S = "${WORKDIR}/gcc-arm-${PV}-${HOST_ARCH}-${BINNAME}" > > > > > > > + > > > > > > > +UPSTREAM_CHECK_URI = "https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads" > > > > > > > +UPSTREAM_CHECK_REGEX = "gcc-arm-(?P.+)-${HOST_ARCH}-${BINNAME}\.tar\.\w+" > > > > > > > -- > > > > > > > 2.30.2 >