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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 670E4EB64DC for ; Fri, 14 Jul 2023 14:14:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 220A686CEA; Fri, 14 Jul 2023 16:14:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ud4BU29T"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 240EF86CEF; Fri, 14 Jul 2023 16:13:59 +0200 (CEST) Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 033B786CC6 for ; Fri, 14 Jul 2023 16:13:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5700b15c12fso18363847b3.1 for ; Fri, 14 Jul 2023 07:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689344034; x=1691936034; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2pDx7kTcO/C/vfOl4g7zYMijQ3JeRQhnzjMd7/8qOTk=; b=ud4BU29TXMXlt5DrTKhbno83eXIqfFREkPbtjzRvGFn8C9lzSf9aveXyCEYjTltaPw 6I/QGKl80XYOPCNah7Kzi5qXHHBM87XqxnaBuZKKMCEz+zMaikJA2eLpqM1S4enstOLt Nvcs13BxFBHW5sr8awgKx3bo/mYqOKHo+qPZI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689344034; x=1691936034; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2pDx7kTcO/C/vfOl4g7zYMijQ3JeRQhnzjMd7/8qOTk=; b=gqGTznIv4TooIrDJNvLiXqxiY9l1fZ5C09W3tJ0X15sqHLShAFTFzkOHcXBo/qEkgh CiO7o/nF2sQ7fN66Ze5Aef8I6rVn3L0NQYu8cvKbYb+XD9DlOuDKvFAckEj8dnrELhax dIK7ZysD1ZewAFK643Rbbmas/c/VJtg70Cg3et1ETHW+uRyGL4BjjkLvoyZxcU8RKlTr sIj7rixV43ND/utjG9H4UMU/XXdNQ1dGVlFNDAuPI9kkO8brhQylEd1D3b9X9VpySL6O ranIsjbBllsZo4xvDAN9/VZGErG4rDuh9KNubnA3oK9vbTiIxCEafhxQF/V+aHMHJRlI iL1w== X-Gm-Message-State: ABy/qLaOZREQ0ZpdQnT6dNtUvmUg83QgHBel7gbaz1rZ7pk6KdfzyCW8 c7idBA9g9LNf181y2JFFUTx2fw== X-Google-Smtp-Source: APBJJlFe+A4cvvhlfuYoRuGhPLw0crWQrzKC7p8GGpZ6mQiawiC1MwFB/ICWrYihNimFgKSSiB4tWA== X-Received: by 2002:a0d:d886:0:b0:577:2bcf:8f0e with SMTP id a128-20020a0dd886000000b005772bcf8f0emr4015327ywe.51.1689344034661; Fri, 14 Jul 2023 07:13:54 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-24ee-6309-f4be-c2ad.res6.spectrum.com. [2603:6081:7b00:6400:24ee:6309:f4be:c2ad]) by smtp.gmail.com with ESMTPSA id v4-20020a816104000000b0056f3779557esm2321298ywb.113.2023.07.14.07.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 07:13:53 -0700 (PDT) Date: Fri, 14 Jul 2023 10:13:52 -0400 From: Tom Rini To: Alexey Brodkin Cc: Heinrich Schuchardt , "u-boot@lists.denx.de" Subject: Re: [PATCH 4/5] CI: Update to gcc-13.1.0 Message-ID: <20230714141352.GS2066889@bill-the-cat> References: <20230714003736.3512509-1-trini@konsulko.com> <20230714003736.3512509-4-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yVe743ec8Adho2Ok" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --yVe743ec8Adho2Ok Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 14, 2023 at 01:52:09PM +0000, Alexey Brodkin wrote: > Hi Tom, >=20 > > As this is the current version of the public cross toolchains we use, > > upgrade to this now. > >=20 > > Suggested-by: Alexey Brodkin > > Signed-off-by: Tom Rini > > --- > > Cc: Heinrich Schuchardt > >=20 > > Heinrich, at this point is there a newer grub we should be testing? > > There's now 2 changes for RISC-V that we're cherry-picking for newer > > toolchains. >=20 > That's what I noticed as well - grub fails to build for RISCV > with the following message, I guess you saw that as well: > ----------------------->8---------------------- > ./grub-mkimage: error: relocation 0x13 is not implemented yet. > ----------------------->8---------------------- Yup, but since it's been solved upstream it's an easy fix, if 2.06 is the right one to keep for now. > > --- > > .azure-pipelines.yml | 2 +- > > .gitlab-ci.yml | 2 +- > > tools/buildman/toolchain.py | 2 +- > > tools/docker/Dockerfile | 57 +++++++++++++++++++------------------ > > 4 files changed, 32 insertions(+), 31 deletions(-) > >=20 > > diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml > > index 76982ec3e52e..83cc6176e7b4 100644 > > --- a/.azure-pipelines.yml > > +++ b/.azure-pipelines.yml > > @@ -194,7 +194,7 @@ stages: > > ln -s /opt/nokia/libc6_2.5.1-1eglibc27+0m5_armel.deb nokia_r= x51_tmp/ > > ln -s /opt/nokia/busybox_1.10.2.legal-1osso30+0m5_armel.deb = nokia_rx51_tmp/ > > ln -s /opt/nokia/qemu-system-arm nokia_rx51_tmp/ > > - export PATH=3D/opt/gcc-12.2.0-nolibc/arm-linux-gnueabi/bin:$= PATH > > + export PATH=3D/opt/gcc-13.1.0-nolibc/arm-linux-gnueabi/bin:$= PATH > > test/nokia_rx51_test.sh > > =20 > > - job: pylint > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > > index f7ffb8f5dfdc..5300813cf511 100644 > > --- a/.gitlab-ci.yml > > +++ b/.gitlab-ci.yml > > @@ -232,7 +232,7 @@ Run tests for Nokia RX-51 (aka N900): > > ln -s /opt/nokia/libc6_2.5.1-1eglibc27+0m5_armel.deb nokia_rx51_= tmp/; > > ln -s /opt/nokia/busybox_1.10.2.legal-1osso30+0m5_armel.deb noki= a_rx51_tmp/; > > ln -s /opt/nokia/qemu-system-arm nokia_rx51_tmp/; > > - export PATH=3D/opt/gcc-12.2.0-nolibc/arm-linux-gnueabi/bin:$PATH; > > + export PATH=3D/opt/gcc-13.1.0-nolibc/arm-linux-gnueabi/bin:$PATH; > > test/nokia_rx51_test.sh > > =20 > > # Check for any pylint regressions > > diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py > > index 0ecd8458b912..1001b612086f 100644 > > --- a/tools/buildman/toolchain.py > > +++ b/tools/buildman/toolchain.py > > @@ -499,7 +499,7 @@ class Toolchains: > > if arch =3D=3D 'aarch64': > > arch =3D 'arm64' > > base =3D 'https://www.kernel.org/pub/tools/crosstool/files/bin' > > - versions =3D ['12.2.0', '11.1.0'] > > + versions =3D ['13.1.0', '12.2.0'] > > links =3D [] > > for version in versions: > > url =3D '%s/%s/%s/' % (base, arch, version) > > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile > > index f72cba0b8cc4..2f2ace2e6554 100644 > > --- a/tools/docker/Dockerfile > > +++ b/tools/docker/Dockerfile > > @@ -14,18 +14,18 @@ RUN apt-get update && apt-get install -y gnupg2 wge= t xz-utils && rm -rf /var/lib > > RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add= - > > RUN echo deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main |= tee /etc/apt/sources.list.d/llvm.list > > =20 > > -# Manually install the kernel.org "Crosstool" based toolchains for gcc= -12.2.0 > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-aarch64-linux.tar.xz | tar -C = /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-arm-linux-gnueabi.tar.xz | tar= -C /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-i386-linux.tar.xz | tar -C /op= t -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-m68k-linux.tar.xz | tar -C /op= t -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-mips-linux.tar.xz | tar -C /op= t -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-microblaze-linux.tar.xz | tar = -C /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-nios2-linux.tar.xz | tar -C /o= pt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-powerpc-linux.tar.xz | tar -C = /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-riscv64-linux.tar.xz | tar -C = /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-riscv32-linux.tar.xz | tar -C = /opt -xJ > > -RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-sh2-linux.tar.xz | tar -C /opt= -xJ > > +# Manually install the kernel.org "Crosstool" based toolchains for gcc= -13.1.0 > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-aarch64-linux.tar.xz | tar -C = /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-arm-linux-gnueabi.tar.xz | tar= -C /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-i386-linux.tar.xz | tar -C /op= t -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-m68k-linux.tar.xz | tar -C /op= t -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-mips-linux.tar.xz | tar -C /op= t -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-microblaze-linux.tar.xz | tar = -C /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-nios2-linux.tar.xz | tar -C /o= pt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-powerpc-linux.tar.xz | tar -C = /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-riscv64-linux.tar.xz | tar -C = /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-riscv32-linux.tar.xz | tar -C = /opt -xJ > > +RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/file= s/bin/x86_64/13.1.0/x86_64-gcc-13.1.0-nolibc-sh2-linux.tar.xz | tar -C /opt= -xJ >=20 > Maybe squash my ARC GNU toolchain removal from https://lists.denx.de/pipe= rmail/u-boot/2023-July/521983.html here > with use of GCC 13.1.0? I may do it as a follow-up patch as well if it lo= os more appropriate. >=20 > Otherwise, thanks for working on that change and... >=20 > Acked-by: Alexey Brodkin I figured I'd just do the slight rebase of your patch when merging all of these. --=20 Tom --yVe743ec8Adho2Ok Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSxWBwACgkQFHw5/5Y0 tywklAv+NPGXwmgpX2zTsVif1rpPvic4zIQ0VNIpdizxhAQusbHtVO3wxydVvzD/ c8rWilpjKgHI1+hA2e+G13OVAUQThDCIBLl0uTOYqiTSB132uPVlbST/JhMvVqd+ Mh9CFAOPjgwNa3kam77udSbuoQploPyKP4pmWDrJiwbAIzXvEX+dceBMrh0lHrWL KfCX1oCetC9NFZqHJOI1DWLoXwsMjacgBLsTgaRUa2hBERFdzAlFyaO4U8wsZt1p zanofutWL1otgBTskIr8OS1rQB0z3l4BVjC6jp5ABD3G5AHzsVgg2crD6TUiYH61 yOBhf86YdtSQ7DLXK036hshwZ3U7MNfgmFiX4RCL5KOYL1+GgPmeAZwbXlbYpXmX iTQRSBHIZ9x/we4w2fGr9hMCUSH5hcp+QPGAcATlDikyZ+LIvjT3Mrjb6Xp61uF2 fl6MeQevb92nWzJjKGpjgRWsL43aFvwDmlCgO/13SjOBHkZ7ofI1WioOkSI6MlDB 7rjNfJhD =H7sh -----END PGP SIGNATURE----- --yVe743ec8Adho2Ok--