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 81DD5C433F5 for ; Sun, 2 Oct 2022 17:25:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D4010848A1; Sun, 2 Oct 2022 19:25:33 +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="csUY2w8p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8ABB6841D5; Sun, 2 Oct 2022 19:25:32 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 8B477841D5 for ; Sun, 2 Oct 2022 19:25:29 +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-qk1-x72b.google.com with SMTP id d15so5520812qka.9 for ; Sun, 02 Oct 2022 10:25:29 -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=lF9gj8GGXDQrV/jEffxAgcU5a8XaJm+n2XVkRV7+1N8=; b=csUY2w8pexQybVWq1c1PtB+mciCV79zDsxtI5TUTxOxVFh5R/flVAXHZdALdTLgKFz JUHP36fGf2IiuNDu/ebPoVNbh54j/gjxeFfzkcO95ixzSNJX/Zxpfz2sO52BrKid/eJU Wlf+QxA7Jes4I2cvYlKIIbbwHWa3kmCPq/8TU= 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=lF9gj8GGXDQrV/jEffxAgcU5a8XaJm+n2XVkRV7+1N8=; b=hjqghOAR+Wi+xIoOsnYXxTFSmxF1H1JH+ubscob0Tss4fTpsNgq1Yar51U2uxzjFyB L0jYLRrEe6j6l2NP9eYPMyf6sbVkkRe6qsLwHpl2RGrMe888I5v0bL6gEdLKzPx94wHK yw4qJKFbbt4QhW9mFT1khVeDIhDWhwcPp1soT2J4JGDU5Fi6Fl7OVR3yQGPorxJonmoR c9klvBIiXJ/N2J1ITNVLgA1H2aRftRwbXHE3aDNdg3SPIQZ+24Hlj7flitJ51bpu6Jx0 wjw8McCmHEK1uA2eACPif3FojGdbMCKmJ6L/7z3DUjlXgxIAw+FmF0GlL3JbD3ZH4RYF iHvQ== X-Gm-Message-State: ACrzQf07wGvRe4Y+ZqUiPN2eMp8Bv7kgWX5okCJM+/WghR9qcZnQU3SI c0Lif8LOaawWyII4U4wAr5DB0A== X-Google-Smtp-Source: AMsMyM55NMOWhOhfcl/kencHRPL36EvjAGYyIYzthkYDiuYfVlw5haKbBlisejuOS1oNfDXuuj8BgA== X-Received: by 2002:a05:620a:4143:b0:6ce:87a7:77cb with SMTP id k3-20020a05620a414300b006ce87a777cbmr11933803qko.230.1664731528203; Sun, 02 Oct 2022 10:25:28 -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 l7-20020ac87247000000b0035a6f972f84sm7274021qtp.62.2022.10.02.10.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 10:25:27 -0700 (PDT) Date: Sun, 2 Oct 2022 13:25:25 -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: <20221002172525.GD3044094@bill-the-cat> References: <61c6ba48-f0bc-db5b-3068-ff503e91bb9d@canonical.com> <20221001235734.GB3044094@bill-the-cat> <20221002171633.GC3044094@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vSGBLC0MgRtV7sTP" Content-Disposition: inline In-Reply-To: <20221002171633.GC3044094@bill-the-cat> 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 --vSGBLC0MgRtV7sTP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 02, 2022 at 01:16:33PM -0400, Tom Rini wrote: > 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-li= nux- > > > >=20 > > > > I see undefined reference to `__ashldi3'. > > > Another reason to port the generic *di3 option from modern Linux kern= el. > >=20 > > Why should we use a 64bit toolchain for 32bit RISC-V when a 32bit toolc= hain > > 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 >=20 > 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". Which is not to say I disagree with v3 of your series, this just reminded me of problems we have that I dug in to last week for other reasons. --=20 Tom --vSGBLC0MgRtV7sTP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmM5yYUACgkQFHw5/5Y0 tyxelwv/VK3tfLsH1HZLk/MxUG3viSsNBnJsG5lsMS6O4SKPC3idIyJcoSKNx101 wR6D9mbHyPkChlfxU0omVH1r5kO6ITPvZ74AxBtQt4FxxQN3SDDlNtMMXQIFrcsu hAXwWv8/i/SKkaJdaEwgR1OU7nPtaDNf92AzhT3yFT35UgVe1lje8qZ5DwP2pOh+ rwJ9P1ZKcFHR/fhXIZXpNZXUPypRXKQeevPJtUGGAdOAAE7+OQad6T3dtP0eiDiL C7AUGW77gGLVnvuvA2rROhsG6aImFRKnt+vExP7Fgr08pjmDd91JLEeBReT4hNwO yGHdyN3PKfvf+KnUgmFy4NdG78H041JCOtfdb5cZ3WRszyLhEGBwDhNXotnqKzHr MJtsquMDxjyok1raNcrzu9BSbDFZdmks2rbuLsg1m2mC/R/4chsqIEM/YX0qO3e5 K/icGgQeuYcvxe/tvUXobPI6HQvRYRiaLFGLBreZRwRZ9BtpmYJ7rv8wHOk4tU9f vsqe9DDs =Qth0 -----END PGP SIGNATURE----- --vSGBLC0MgRtV7sTP--