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 AD5FAC433FE for ; Sun, 2 Oct 2022 17:16:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 647EF848DC; Sun, 2 Oct 2022 19:16:41 +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="GCw/gAjI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 10841848A1; Sun, 2 Oct 2022 19:16:40 +0200 (CEST) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 2E514848DC for ; Sun, 2 Oct 2022 19:16:37 +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-qt1-x830.google.com with SMTP id r20so5301812qtn.12 for ; Sun, 02 Oct 2022 10:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=dzHmjG3RfSAcHctfkpzOky66pjEKiJraZr0UXXq8RQs=; b=GCw/gAjINQn2bCIgquo8VXGPK22dUahObe3NxUQvzdpCiU3cdRZYZjmHBmR4NMKc7B Qz/2xX1ciGBrLZTwUTaCRp0TUXE2l0KOaXCROCZBBaZb5nb3N3fLAEsNcZEEy5E3cytm LgLW1mpHVeDHvc5vMzAMv3LsiK9V30ZoN4V4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=dzHmjG3RfSAcHctfkpzOky66pjEKiJraZr0UXXq8RQs=; b=W3dL1YGHN2kKW6n8fW6wszhLxDBj+ZXE5kYz3b4f9q6qnujJ65Z1mpO99a1YRFmxcD 0OUcGgil1tSlQ1ga/rwn6BBrW+NHCKaE77NyFNXOKMv5VlOXIxKslztleqJTyIUBmvOA N0Ctb1ice7wQ87a88gs2pOe1JUVJ+Ty4wcYVtnq3p11GEhI+KZXpSPVqUAS3n6z70T3L 8niwGq5YMyaXxUEqBtilgCm4F/j+Q0pfMcWAXo9de2GIu8ESBoNbJzpCHLR7Hy3MOtSZ 6Sjl7CKEIvoebjSIJhSZgRcC6sJrL9mCOBRynm22ZbnAQ2VUf9ZZ/oVxyAI9l6iOQiC5 JYog== X-Gm-Message-State: ACrzQf1mG7kuhLjfI5mdNSqIkhSzq07EXht4ahXtd9Q9rDcBU0bAAKFU 3wUaii+GSsPA5nehEnG4aFrreg== X-Google-Smtp-Source: AMsMyM4aFE1jx4H57rSCb5kyq2edFqtzhObNULHTVSA+st6u+sQDvUKhMB3siF+9B2R/Q5M4ZB05OQ== X-Received: by 2002:ac8:5712:0:b0:35c:d6ad:6707 with SMTP id 18-20020ac85712000000b0035cd6ad6707mr13876794qtw.16.1664730995912; Sun, 02 Oct 2022 10:16:35 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-dd6c-e406-e649-892a.res6.spectrum.com. [2603:6081:7b00:6400:dd6c:e406:e649:892a]) by smtp.gmail.com with ESMTPSA id i68-20020a37b847000000b006bb49cfe147sm8468946qkf.84.2022.10.02.10.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 10:16:35 -0700 (PDT) Date: Sun, 2 Oct 2022 13:16:33 -0400 From: Tom Rini To: Heinrich Schuchardt Cc: Leo Liang , Alexandre Ghiti , Rick Chen , Aurelien Jarno , u-boot@lists.denx.de, bmeng.cn@gmail.com, sjg@chromium.org Subject: Re: [PATCH] riscv: Fix build against binutils 2.38 Message-ID: <20221002171633.GC3044094@bill-the-cat> References: <61c6ba48-f0bc-db5b-3068-ff503e91bb9d@canonical.com> <20221001235734.GB3044094@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dUCTBDm4d+mXXNar" 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.6 at phobos.denx.de X-Virus-Status: Clean --dUCTBDm4d+mXXNar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 02, 2022 at 03:52:00AM +0200, Heinrich Schuchardt wrote: >=20 >=20 > On 10/2/22 01:57, Tom Rini wrote: > > > > Any thoughts or comments ? > > > In our Docker container command > > >=20 > > > tools/buildman/buildman -o build -w -E -W -e --board qemu-riscv32_spl > > >=20 > > > leads to build/toolchain with content > > >=20 > > > gcc /opt/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc > > > path /opt/gcc-11.1.0-nolibc/riscv64-linux/bin > > > cross riscv64-linux- > > > arch riscv64 > > >=20 > > > When compiling qemu-riscv32_defconfig with Alexandre's patch and > > >=20 > > > export > > > CROSS_COMPILE=3D/opt/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linu= x- > > >=20 > > > I see undefined reference to `__ashldi3'. > > Another reason to port the generic *di3 option from modern Linux kernel. >=20 > Why should we use a 64bit toolchain for 32bit RISC-V when a 32bit toolcha= in > is available? >=20 > Fixing the Docker container and buildman seems to be the logical way > forward. >=20 > Cf. > https://source.denx.de/u-boot/custodians/u-boot-efi/-/commits/riscv > https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/13657 Because it's also yet another example of the problems we have because we haven't ported that functionality back, which improves on the state of what's in our tree today wrt "libgcc". --=20 Tom --dUCTBDm4d+mXXNar Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmM5x2oACgkQFHw5/5Y0 tyw4xwwArB34A9lB4P3DHfDl8Hp6FOCo7mR7pUPgmMhUlndL2kQCYKxpBns2opXh wbpId9FwNHQYp4nxkVibN906i8h4je7S4zkY27cKdm9wW9DLjAX13nC7y2o8IBVI vOIpuFlcTpYxe2Jyx06ggZA2LyJa8qhg5ur5KTZGj0QXhT5egjEs/ltZM1W+LTcd +DukU9ISNeAVDtSNyKkaCH/VX4iSWX6+0T8CycwPkvAvm8msarsbIf1qKie/0Pxk mbg/rTkCewC2lG3kGcw6XKWnwaofsBSuKpayACyFciKvkjRR7lU+tf0sdhFambf2 4UqPAyScdjJqEosCaWaGTjcBZbHdPWdBpwTJD4LIO11VWpTUUWZT5OdHGgJuh3uT jdm4qsSL1UBxpEwqCgZDBgrgG9lCCNG9AUvCpx3rD1XbDU0npSWN0lyV4xe1XixC N7C9wMKRnsW9zZR3X9oC0GHGxLaozfZ1kB2t42wZ8epBD6bjUcZ0H3OOXN8lSPa/ td94//u0 =uCjM -----END PGP SIGNATURE----- --dUCTBDm4d+mXXNar--