From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web09.10095.1631101611741991758 for ; Wed, 08 Sep 2021 04:46:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TIZBQ1Gc; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631101610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LcpJ6THDyxOEhlsmEcqaCcDY2OueoTGiD0hCHX9JVLU=; b=TIZBQ1GcsNgMKDGEHFXs9ZqFAfaJmQzz3dsV9+yMGw7ALog2CVwKODOvpDR+CpTumSTP2E EPsI7qSE1eY2205hSGL4269cWDlrs+9TOOD+8MTxD/N4i8rkb+cXAvRmk1dtHltmHGRGiN k4rJT282hrtjTG0xSBH93eby88pEFjw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-168-YxAn3fveP9GBKewi3wcWpA-1; Wed, 08 Sep 2021 07:46:47 -0400 X-MC-Unique: YxAn3fveP9GBKewi3wcWpA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BA32B1006AA5; Wed, 8 Sep 2021 11:46:45 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 09D3977F29; Wed, 8 Sep 2021 11:46:45 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 7821E18003AA; Wed, 8 Sep 2021 13:46:43 +0200 (CEST) Date: Wed, 8 Sep 2021 13:46:43 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, leif@nuviainc.com Cc: Rebecca Cran , Bob Feng , Liming Gao , Yuwei Chen , Sean Brogan , Sami Mujawar , Ard Biesheuvel Subject: Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site Message-ID: <20210908114643.sseupkkknrvi2gts@sirius.home.kraxel.org> References: <20210830051450.207402-1-rebecca@bsdio.com> <20210908111312.bxmij4zedipouiai@leviathan> MIME-Version: 1.0 In-Reply-To: <20210908111312.bxmij4zedipouiai@leviathan> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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