From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from elaine.keithp.com (home.keithp.com [63.227.221.253]) by sourceware.org (Postfix) with ESMTPS id 12C01385829A for ; Sat, 27 Aug 2022 21:15:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 12C01385829A Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=keithp.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=keithp.com Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id C8F2A3F30357; Sat, 27 Aug 2022 14:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1661634906; bh=fTROVAm8GKJ+Hb5uWxx5x1TiNtZtqNGKe/BAiLcufCA=; h=From:To:Subject:In-Reply-To:References:Date:From; b=mL6fRR2ay1+J77BQXGCgAXOvEW88P5nDSw/fKeD/VvbDCbd3NoAgDB2XcnW6PH1DO MV0XJ/w1kdZHXw0y5h0Bg/aaaJcT6863UF+qsSTGvS0Wsy4M10/JaOWbsia//kFdLn zyZpXxl6SiVilyaXl75brQwg/m9Eqs41vJtbO9i6/Y+ruRd6Wl0VKSZ7IMyOGGaSQi cL/ElcTqtk0R8KTd1bNFzOoqnPejAB4q5G8DyUt3awhGf/BxWyjESXfDgXIMBU2C1A k1jQaHscaQKz33aRHx4TKYMOfT4aQNIkbyETEx5L4Uno7xLHcyU5PgXzK8z2IB0cRK Waf7TuwBnzKPw== X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m4OOgAYHvrIQ; Sat, 27 Aug 2022 14:15:06 -0700 (PDT) Received: from keithp.com (koto.keithp.com [192.168.11.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 672363F29D52; Sat, 27 Aug 2022 14:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1661634906; bh=fTROVAm8GKJ+Hb5uWxx5x1TiNtZtqNGKe/BAiLcufCA=; h=From:To:Subject:In-Reply-To:References:Date:From; b=mL6fRR2ay1+J77BQXGCgAXOvEW88P5nDSw/fKeD/VvbDCbd3NoAgDB2XcnW6PH1DO MV0XJ/w1kdZHXw0y5h0Bg/aaaJcT6863UF+qsSTGvS0Wsy4M10/JaOWbsia//kFdLn zyZpXxl6SiVilyaXl75brQwg/m9Eqs41vJtbO9i6/Y+ruRd6Wl0VKSZ7IMyOGGaSQi cL/ElcTqtk0R8KTd1bNFzOoqnPejAB4q5G8DyUt3awhGf/BxWyjESXfDgXIMBU2C1A k1jQaHscaQKz33aRHx4TKYMOfT4aQNIkbyETEx5L4Uno7xLHcyU5PgXzK8z2IB0cRK Waf7TuwBnzKPw== Received: by keithp.com (Postfix, from userid 1000) id 3ABD11E601B7; Sat, 27 Aug 2022 14:15:06 -0700 (PDT) From: Keith Packard To: Tommy Murphy , "crossgcc@sourceware.org" Subject: Re: Can CT-NG build a RISC-V picolibc toolchain? In-Reply-To: References: Date: Sat, 27 Aug 2022 14:15:05 -0700 Message-ID: <877d2t8k2u.fsf@keithp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tommy Murphy writes: > Hi Keith > > So, my (non multilib for now) build of the RISC-V tools with newlib, > newlib-nano and picolibc succeeded. I also had to disable the PIC > option. With it enabled the picolibc build failed with an error about > not being able to find the dynamic linker (sorry, forgot to save the > verbatim error). Do you have the idea why that happens? I guess that > PIC is largely, or maybe totally, irrelevant for a bare metal > toolchain with no shared lib requirements? Yup, you don't need pic as you won't have a dynamic linker. > Thanks again for your help in making progress on this. Glad you got it working. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmMKiVkACgkQ2yIaaQAA ABGNiBAAjtPe7QkQ4RLnVh3mKEw06yrXSdx1Xq2k85QdukdktiSYAgwa8oGg5yp7 YtXF3LKFE8her0ektW5DiBpvWyRzwbCmxSTwUsCOt6JvY9GpSm57ZMNVw9foK467 vNGXW4DefgRMajGXcUOv3i6vwb4CqiOczw1IucQDL3w2iRGMqZS2osYiMV9y+H54 YE0AJO57V8jDHBxYtadi1AQHbsIkNTZS0wciCDLHuv3xhTvFYVT3kwKMRJwrwOCf dlo26o++smRY311ZTSlGbXcu6tD6cKDmtcea6y8k+cAFuqoWn/sIpL9xrJNENHwc vUdhLq/raJ9QkHS4AAGXPwPf1ByzQNdP4lMR+7wK639Jwc5zHm8tnPwbOW/8US0W VMF+xRRPxK/zf+t2KIUn6702sILn+OWNSAQJWUsp2PjwerVfE0QT8c7IUhE+E8Iz JfQJNgktOP3rC7EEjhW1OHp5KV/79HgTi6bUYSk/Gbil42mG9k8fCr8sKwTnGyhO 1SQtY3cd5ozdk/+IFCHoIJaNr16RH2QpT2xBM3/bxIcE+szITCZqA8/P1CEp0Ra9 YDeUt+K39VWNLVpTpDA3EYGEVJZmIwLJVPg5Kgc1N9+4ogpJFPbCiJTuQQEsh5vb vMPqVIbdkhM/iveQn9bC4hIWISdS6aQrszlhml08nDrl+ZU2Yxc= =SKZt -----END PGP SIGNATURE----- --=-=-=--