From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web09.10229.1631102370321486225 for ; Wed, 08 Sep 2021 04:59:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=PgNstdlE; spf=pass (domain: nuviainc.com, ip: 209.85.221.52, mailfrom: leif@nuviainc.com) Received: by mail-wr1-f52.google.com with SMTP id z4so2881974wrr.6 for ; Wed, 08 Sep 2021 04:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OB9mcFtBQkKDyex/P9Pwp5dtfMCPm6tsfpeAGt/6i2g=; b=PgNstdlE7f9AvWVKQ/um7oCOKO5j60mu3P6EDOUNv81SzBU4kMhvLEIS5szbKtlqOr F/kn4Lv93pahNkT5fNsQ/PxaoDcS++IZP3Tb+Msfy90QBP86x3fja25VWxXFCQ1DkdOs 6rUf6GBv3LhQoqn7lUsxOBn01e5xKr2iI1vQCxVBRhMyHP7jvBEsgDqpgWo6nR6ShWaw Lm3eeBziGf0Vu80+Tgu0yKKv3esH44iXhVqvg6AJpup0s8r2u+JFr/KH4YZgTepsJ08j RjWpiUzdSo1FwS5TiaYyDi7KQQIcJnkPdjINs6mDCTN1ge44JxO44Q/j0ciOZlupEItp MVjg== 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=OB9mcFtBQkKDyex/P9Pwp5dtfMCPm6tsfpeAGt/6i2g=; b=NSGq96/oNM+RUzRbMCv788F6YVntXZMSivf5uNErZ228nZUb8kcJWK+v1tJ1NyKsH/ mxQBOqfm7Anob9f7mRp0eEyhIxTRHqsXwWHqPIIyOcEexXfqiDj0q2PTAUSYJUiugHyf KiMnl0hUC+pTsx/bjGPNDsDvhJZ2ZSu9b93tPr3jNsCnZb3OIgrlQnPnOGzOj84mdvQ4 P64GO71FIPIExRsdTBj33jDi2HxINxB1j8AkU1upaIr3P2KwqLiXhgd4HlmAMkhP6ZA1 4xyc8B3W4PT/MZy2Nmr2i4H1wCN1njNoTPrItkm646oOqtvTECuhTV6HNlMCjvkbLQB5 RqRg== X-Gm-Message-State: AOAM533LmyIWyhGkvdbb7WTubESzZct7A2MMe5EJQVVfIAsDFUrcdNQ8 kGAWjgipStu7N/mUxHgegHuNyg== X-Google-Smtp-Source: ABdhPJxCEOOecJSEaQ2pmo9kupWC/fQCTnDeCKrS4UjhlTCGBJcI5puvwIrLpYc1hStIqDce/I6HIQ== X-Received: by 2002:adf:fd88:: with SMTP id d8mr3767471wrr.13.1631102368891; Wed, 08 Sep 2021 04:59:28 -0700 (PDT) Return-Path: Received: from leviathan (cpc92314-cmbg19-2-0-cust559.5-4.cable.virginm.net. [82.11.186.48]) by smtp.gmail.com with ESMTPSA id x11sm1950682wro.83.2021.09.08.04.59.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 04:59:28 -0700 (PDT) Date: Wed, 8 Sep 2021 12:59:26 +0100 From: "Leif Lindholm" To: Gerd Hoffmann Cc: devel@edk2.groups.io, 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: <20210908115926.xwgz5tlyuduel2ji@leviathan> References: <20210830051450.207402-1-rebecca@bsdio.com> <20210908111312.bxmij4zedipouiai@leviathan> <20210908114643.sseupkkknrvi2gts@sirius.home.kraxel.org> MIME-Version: 1.0 In-Reply-To: <20210908114643.sseupkkknrvi2gts@sirius.home.kraxel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 08, 2021 at 13:46:43 +0200, Gerd Hoffmann wrote: > 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. Oh, I personally only ever use distro-provided toolchains (when they exist). The ones the distros use to build themselves. And I'm still annoyed by how we're treating ARM like some weird special case that needs to be cross compiled by default. But that seems to be a lost battle. And I'd rather have the people who feel that way use toolchains that occasionally get updated rather than lock down on a version that stopped being updated several years ago. > 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. Yes, hence my reference to downstream platforms :) / Leif