From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OCppIA0SwmBXVwEAgWs5BA (envelope-from ) for ; Thu, 10 Jun 2021 15:22:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CLQYHA0SwmAABAAAbx9fmQ (envelope-from ) for ; Thu, 10 Jun 2021 13:22:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AD156180D6 for ; Thu, 10 Jun 2021 15:22:20 +0200 (CEST) Received: from localhost ([::1]:52388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrKdX-0003bP-Kx for larch@yhetil.org; Thu, 10 Jun 2021 09:22:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrKdL-0003W3-Ih for guix-devel@gnu.org; Thu, 10 Jun 2021 09:22:07 -0400 Received: from flashner.co.il ([178.62.234.194]:49676) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrKdJ-0004Op-5m; Thu, 10 Jun 2021 09:22:07 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id F17F1402D0; Thu, 10 Jun 2021 13:21:30 +0000 (UTC) Date: Thu, 10 Jun 2021 16:20:42 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: RISCV porting effort Message-ID: Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org References: <877dj4fp4f.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3908RZcEB2f2DsWI" Content-Disposition: inline In-Reply-To: <877dj4fp4f.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623331341; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=+635CQnpKvopJqdpYQlW4jxRc6ywc3tlaPXCFJI+WRQ=; b=LbZBOQnO9RzwkRFRpmEcG4ypvIg/MnAFXDZbwqWBLztRb/66F806LWhR8rSljsBqqnx3jy eIBvvEgbfDryO886IxahHDX7wr9DhBm0vYbHWYy7VTNY2F+yKDlozbfDtve5s7dS8pHX3H 7eYmrPaKIHcvqh3tce/uVSOOBjD3xBKDWr0F0/gLLqSttTEbQDcBgy5cXxXGiXp0D4Kw/I A9gCzzJGnwyTYQ7v48gakVTIDtdeMQ2dyonOgkeo2Rf3fFL7aNn8owG0AOOinl+cY0lCV5 uCtMdIH+Bx6P86j0H2ealbW/vwLRhLT0HTkpES6VAa81+CymaqJzrLh70q9Xrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623331341; a=rsa-sha256; cv=none; b=Wg0duPT31i5xmIGKM+2VUiwRDa/oxwto0fFKH0mCRS76JXeCTVRHHjMvT9ivqbUOpG2lAr KPpSRQgSkE1tKZip83mCP2qIQVRGjoC0KFBX9XUvogUuRl6/2wO0BVakYe93QBuYKgO+jX 3s4JCdeZVhIOAFiNH8AQWmqAl8H3rszyfJEL/5d0SoRCBzA7jDvT+PdOBWYrBxNOK/7hFg u9PUW+xSoZ06yOTOIGXKg/sSY/ZJk3Bfj8QpCBi2ZKN7aW7lC7D8Y0NXtuGqm9dDluAmxX yd7zNCR4rkzeqJJ4JYPfQgUfxLmkQ97SQkIA9dQ9and39ieFMfdlogZLsN9WLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: AD156180D6 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: c97C+UHbJkVK --3908RZcEB2f2DsWI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 08, 2021 at 03:43:44PM +0200, Ludovic Court=C3=A8s wrote: > Hello! >=20 > Efraim Flashner skribis: >=20 > > Porting Guix comes with two parts: building the bootstrap-tarballs and > > adding support for the new architecture in (gnu packages bootstrap). > > Support for riscv was added to GCC with 7.1.0 so I had to bump the > > bootstrap GCC to 7 (and adjust some inputs), and guile-2.0.14 didn't > > known the endianness of riscv64 so instead of patching it I bumped the > > bootstrap guile to 3.0. I uploaded my bootstrap-tarballs to my regular > > spot after signing them and switched over to the riscv machine. > > > > Building Guix from sources is much easier thanks to the work of Vagrant, > > I was able to apt install most of the dependencies on riscv. The > > packaged version of guile-zlib was too old in 21.04 so I built that from > > source (0.1.0 is available in Debian experimental), and I also had to > > build gnutls from source for the guile-3.0 bindings. I added the riscv > > binaries to (gnu packages bootstrap) and temporarily switched the > > raw-build function to look for 3.0 guile libraries instead of 2.0. > > > > Where I'm at right now: > > Downloading using the daemon (builtin:download) fails currently, it says > > it doesn't have permissions to open-file to write downloaded files to > > the store. > > I haven't built anything using the bootstrap binaries to see if they > > actually work yet. >=20 > Exciting news! I saw discussions about this =E2=80=98guix perform-downlo= ad=E2=80=99 > issue on IRC. Did you eventually find what the problem is? Right now it seems to be some sort of permissions error with writing to the store. I haven't been able to figure out what's causing it yet. > If the HiFive works fine, let me remind you that we have budget to buy > hardware, so we could just as well order a couple of these right away > (maybe you=E2=80=99ll have Guix System running by the time we receive the= m ;-)). On one hand they seem similar to some of our aarch64 boards (but with 16GB of RAM), on the other hand it'd be a coup to announce serious support for the platform so quickly. > What we need is someone to order the machine(s) and to host it > afterwards, with stable connectivity. This must be agreed upon by the > Spending Committee (currently Tobias, Ricardo, and myself; email > guix-finance@gnu.org). You=E2=80=99ll then be reimbursed by the FSF, our > current fiscal sponsor. >=20 > Any takers? Or should we wait until you have more experience with > yours, Efraim? >=20 > Thanks, > Ludo=E2=80=99. >=20 I had to pay import tax when I received mine, and I assume those in Europe did too, so I'd recommend they be hosted in the US since IIRC they're shipping from Texas. It might be nice to wait until we have it working for sure, but the lead time is still expected to be 6 months between ordering and shipping dates. I suppose if something else comes along that's faster we could always cancel an order and switch to that. I have mine sitting in a mini-ITX case, using a libre-respecting NVIDIA card. Definitely a more serious board than the aarch64 boards I've bought in the past. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --3908RZcEB2f2DsWI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmDCEacACgkQQarn3Mo9 g1H7RRAArOcKQN5GNUW/dGcGkswMHU1dxSwnu/ALRoI/2HybIGW1hB/tunXDWqME kfEARCHpamoOVLwIbprcwK0XoUS7FcO5WCIZuywnW+lxzXK1KNotbWT14MCHX5kL MTNhqpOhulHv5eHwORFA3TYq0A9dwDquWW38sTI3NIPlSVz4A9hpfrp0vCxObc6r 4DGo8JFuUOs3X5wZnO4ryqLF3GzauVcs+Bu6rxBf/HidXpe8t4pFKw4liMXw9OLm cCCxL43mi9M+Pl8Z7UwFu7tsV9QlHBBWr+e2KBVy3o0kUlD3ag/r+5PT2/IRgQWu hiy5Hb/9pBAnvXcVV0SA+RDFW7wAmLF532FQKdYDLkfKkkhU/ktOEIF64zd8oUys eMr8s1VGyXMg9OzaK6tCQ3l9ON6BF9YABxSBX1vh8vBPr5JyWEDK+JqxCoJ81E8Q dqZ6+VSORzrTeWD4zAKEc8WKs1fTgLaXJUYqKS5+6zmRnUUYQt1KisC71U8wppRo rA2sw2QT0d8f4dcIEA6h0pKJcuLb3B7gdbCLf5+hRBa0q4DKlgg9WgdVCBfu2qKC fZ9yyaZPL1jvh6ZfEhMO+k6oaafkdUM/vnfBu86PO3eX5xuFDYnHL90pUREXbJxG SIrW64EUuNnLFLiKiCbElDDeX9lAY0NXSYcbg5t/kSDyicluVF4= =XcCP -----END PGP SIGNATURE----- --3908RZcEB2f2DsWI--