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 X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9498C2B9F4 for ; Thu, 17 Jun 2021 14:14:51 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DF33961249 for ; Thu, 17 Jun 2021 14:14:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF33961249 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 77EB982A1A; Thu, 17 Jun 2021 16:14:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="KUaYV0L6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2732782A17; Thu, 17 Jun 2021 16:14:47 +0200 (CEST) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 9FB4182A17 for ; Thu, 17 Jun 2021 16:14:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82d.google.com with SMTP id a15so4767159qtx.13 for ; Thu, 17 Jun 2021 07:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jjnboz+TzcQSjBHrfe8vSnV3hn7yz79KvOH/N0Dw69k=; b=KUaYV0L6Yl36qq/5MQk2wkWPyUP5w0WBpgA2naUnhJI8AQm5vttmNMnud0UqiUBiZ9 8nfiIXGIc6x15eKnsQ8QPEYMmS+UsPoy1OOWOa4m74ODNpM7btDLmNDodvdtUK3L5Yh6 Wf5cC4HkNqD2mt8eWee03ag23MsWU436f2LlU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jjnboz+TzcQSjBHrfe8vSnV3hn7yz79KvOH/N0Dw69k=; b=Kl5J418sT/hUQ8U+m87UqHOMWycOQWHWzXXdFwDse+p9UcGrflvM/sjIT4yDlNolUT 4UR7lWoQOxXrl/NsptQ9QnlDuh7qmWm8/Vq6xweB5c2avinNPaTYJNN6b+de6QMFIC9K 3N0vwA8JHEP/Qc3ghHytTCDHz/+4Vc2D/plTJO7alP2x9hgwAX0d2M/aX+XE5vfEtP+K MuPdSQ1Zu/d3wF67YAzo4a7BWx0ynI2IPOs1fPBIuTn+OXlJucX4lp5T7A9zvoOhVHTD /A/Eia9D23Od5dBmDFJLzJeCamZDmumJgLZN7zMUurMAKitsH6vQUWT15Bwcd0pVIZRu FoiA== X-Gm-Message-State: AOAM531yYtG4IY59x65woKHfYgpcjZz1uTvFV5DabdL/k1hOJiFRuLvJ E9i/UNmKIwJL7ZjuW3TGmUhAQQ== X-Google-Smtp-Source: ABdhPJxI1QTKvLfE51gF8zzutoxRyMTosZ1snDluQtOXXBSlx1NmXonSFu03WbVCR4LPyZWhbe5ueg== X-Received: by 2002:aed:3024:: with SMTP id 33mr5392095qte.314.1623939282410; Thu, 17 Jun 2021 07:14:42 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-8009-22e2-67e2-281e.res6.spectrum.com. [2603:6081:7b01:cbda:8009:22e2:67e2:281e]) by smtp.gmail.com with ESMTPSA id y18sm3229202qtj.53.2021.06.17.07.14.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jun 2021 07:14:41 -0700 (PDT) Date: Thu, 17 Jun 2021 10:14:39 -0400 From: Tom Rini To: Bin Meng Cc: U-Boot Mailing List , Heinrich Schuchardt , Simon Glass , Rick Chen Subject: Re: [RFCv3] Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 Message-ID: <20210617141439.GH9516@bill-the-cat> References: <20210503204859.18756-8-trini@konsulko.com> <20210616200028.19365-1-trini@konsulko.com> <20210617123107.GE9516@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0CyYhpEFlk5QOrAS" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --0CyYhpEFlk5QOrAS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 17, 2021 at 10:09:20PM +0800, Bin Meng wrote: > On Thu, Jun 17, 2021 at 8:31 PM Tom Rini wrote: > > > > On Thu, Jun 17, 2021 at 04:27:11PM +0800, Bin Meng wrote: > > > Hi Tom, > > > > > > On Thu, Jun 17, 2021 at 4:00 AM Tom Rini wrote: > > > > > > > > - Move to gcc-11.1.0 builds from kernel.org for supported platforms= and > > > > LLVM-11 for those tests. > > > > - grub-2.06 does not build with gcc-11.1.0 on riscv32 as seen here: > > > > https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html > > > > so drop it. > > > > - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains > > > > > > > > Cc: Heinrich Schuchardt > > > > Cc: Bin Meng > > > > Cc: Simon Glass > > > > Cc: Rick Chen > > > > Signed-off-by: Tom Rini > > > > --- > > > > Changes in v3: > > > > - Post the right patch this time. > > > > - Switch to gcc-11.1.0 builds rather than pre-release > > > > - grub-2.06 is out, use that rather than -rc1 > > > > - Update Xtensa and ARC toolchains. > > > > - Note that right now this causes x86 to fail to link, which I did = not > > > > see with gcc-11.0 tests. > > > > > > Did you mean x86 fails to link with LLVM 11, not GCC 11? > > > > It fails to run for qemu-x86: > > https://source.denx.de/u-boot/u-boot/-/jobs/279345#L39 > > And fails to link on other configs: > > https://dev.azure.com/u-boot/u-boot/_build/results?buildId=3D2378&view= =3Dlogs&j=3D8a1d3be7-a4c9-55b6-774d-e7f1a8f80847&t=3Db2f224a7-1103-5b52-edb= c-3784ae727e03 > > > > Sorry I forgot to add the CI links. >=20 > Just had a quick look. The u-boot.rom (qemu-x86_defconfig) built with > GCC 11.1.0 does not boot. It fails at the very early stage at > fdtdec_prepare_fdt(). It turns out gd->fdt_blob which is set to _end > does not point to a valid DT. >=20 > This may have something to do with: >=20 > x86_64-linux-ld.bfd: arch/x86/cpu/start.o: warning: relocation in > read-only section `.text.start' > x86_64-linux-ld.bfd: warning: creating DT_TEXTREL in a PIE Yeah, I suspect that's the problem. I just don't know where to start looking for what to change to address that. --=20 Tom --0CyYhpEFlk5QOrAS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDLWMgACgkQFHw5/5Y0 tyzyhQv/V9uKYYBkkFNtqfLfs4xWgakCvy/Hil64YVFTxQ65VDeWlD94iz/iXJ1R sINA8FU1ZyXV7QoJ3Rmdo53EJw9W59keW3ENvHK86M1bQV27Uwd8sM+xJs/RAXR2 mHeiTISrli4wJq9J7HQLTjN1+u0CeHe0+wBGid4iAtzJzWcrXxD1wimWEEG9wQMP qQDR6oktZqk0a5cnmwgy25u0jsjChghOSUf12cczhKJvJaipbi0cCmsvOANZQjSo IX027uIEtXodRaOa7jFgCivhWdFBGN5MlrTQajkKSrxJekySDYWulpjbtnyhpth9 7YPDY2Xe118L4QSaYPpA1tw7WWhS8zZ2DT/JiyzTU7VFvGnvrVjqNKGl02/OuXjx NT+aCGykawmLaEJU7evsm2JpxmAmw7twBpvUqCkZV7f0qhfruIefibCnVI/qFd2/ Io1rsIOvaji9TrTmzIgRB0YD6Th/QmY/fxpNA2yMdYfKVpNWDs3wjHBlktuHT5F+ fATiL6ry =WbyW -----END PGP SIGNATURE----- --0CyYhpEFlk5QOrAS--