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=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 D8B8CC2B9F4 for ; Thu, 17 Jun 2021 14:09:41 +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 BBB3D613BA for ; Thu, 17 Jun 2021 14:09:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBB3D613BA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 1721C82A17; Thu, 17 Jun 2021 16:09:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fxhHWSO6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 76EE682A17; Thu, 17 Jun 2021 16:09:36 +0200 (CEST) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (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 AF8E080488 for ; Thu, 17 Jun 2021 16:09:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-yb1-xb2a.google.com with SMTP id h15so8374222ybm.13 for ; Thu, 17 Jun 2021 07:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sEr/nN7meIaVBtxBBnXXzyh2ZvrnuamYWOffH6egjUo=; b=fxhHWSO6F0yBSMTH0COZCMresFZFQuRA7DkGbMTx4LdpbEoDepmYuyqz+imNe09FAr KRS5ruuadKb+WMx8Ud8V77Fl7VIPhkzUB6YiGFyYFsxrcF4MoZvc6O0Ei3IsoIqZ0piC WloFDV3n0u4sff+kUQD9DftVxFQ/FWairUctLxQLQc/EoAK0FWIR2zWXjFunnssDfV5X wGcdymrD1OFGS2L4LsC/XnBXv4p+tfRHoONVvHvpvblsIY92AxqrovBzp9nBx+AGBydn 2FxNmmV1pr1wdObOYrSsrpQkDeJuvUJbokedoHzinlAU+gyIlIe/LqsUZ11a5KhPv9x6 IFUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sEr/nN7meIaVBtxBBnXXzyh2ZvrnuamYWOffH6egjUo=; b=bdSxktbJ7ETupejkYggW7nJWEXuElDuW1Fs+xVhmywEEjRHv1KPx36gsuqFNLbUaL5 kmcdICmAyUxdZF1BDO3p8JbWL4k+HBa2dG9U0xorN8+kS/F95GyTSkfqIoQBnhIvFal3 sBNMyr3n6w/PyPkeIpLW9eMDc6cn7eULf+K5BSVK3Gds/7rWmq7vScp3dGC7msEWkVf+ PTXmtg+PC7ILRnAiphUWiyypPVB++khgWkIz9ZCDH28vl7Xb+zCY4t0HLnFLCLWo7+1e htocvvhMfaMES68/qK3AxeG1B3cFnwg8NrwQl8ULs3fJlMAi8k+qgVoaUqcVyudbgTFC ANzw== X-Gm-Message-State: AOAM531RDT83GfElQYZ6aVMsCoq4Zg1asBvgTCVQTQpDBY/7cIi4ZcAv /qARl1yOncWGfpo8tpavkgOaRk8JZteaXIBBQYc= X-Google-Smtp-Source: ABdhPJz3TC+tPWcfYJIgcpGh4S5eGBrxqWjAdOFH7neQdEK2pQcxv0oEVBvP1QYIgXaUKJ51811FPx0Vzqf1E11CghU= X-Received: by 2002:a25:2e43:: with SMTP id b3mr6388240ybn.152.1623938971378; Thu, 17 Jun 2021 07:09:31 -0700 (PDT) MIME-Version: 1.0 References: <20210503204859.18756-8-trini@konsulko.com> <20210616200028.19365-1-trini@konsulko.com> <20210617123107.GE9516@bill-the-cat> In-Reply-To: <20210617123107.GE9516@bill-the-cat> From: Bin Meng Date: Thu, 17 Jun 2021 22:09:20 +0800 Message-ID: Subject: Re: [RFCv3] Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 To: Tom Rini Cc: U-Boot Mailing List , Heinrich Schuchardt , Simon Glass , Rick Chen Content-Type: text/plain; charset="UTF-8" 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 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=2378&view=logs&j=8a1d3be7-a4c9-55b6-774d-e7f1a8f80847&t=b2f224a7-1103-5b52-edbc-3784ae727e03 > > Sorry I forgot to add the CI links. 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. This may have something to do with: 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 Regards, Bin