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 aEz+BmcSwmCXWAEAgWs5BA (envelope-from ) for ; Thu, 10 Jun 2021 15:23:51 +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 gKl0AmcSwmDHBwAAbx9fmQ (envelope-from ) for ; Thu, 10 Jun 2021 13:23:51 +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 9C8A318140 for ; Thu, 10 Jun 2021 15:23:50 +0200 (CEST) Received: from localhost ([::1]:55724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrKez-0005ti-NC for larch@yhetil.org; Thu, 10 Jun 2021 09:23:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrKem-0005tK-9y for guix-devel@gnu.org; Thu, 10 Jun 2021 09:23:36 -0400 Received: from flashner.co.il ([178.62.234.194]:49692) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrKej-0005iO-Je for guix-devel@gnu.org; Thu, 10 Jun 2021 09:23:36 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 5579A402D0; Thu, 10 Jun 2021 13:23:32 +0000 (UTC) Date: Thu, 10 Jun 2021 16:22:48 +0300 From: Efraim Flashner To: Gabriel Wicki Subject: Re: RISCV porting effort Message-ID: Mail-Followup-To: Gabriel Wicki , guix-devel@gnu.org References: <877dj4fp4f.fsf@gnu.org> <20210608222822.fu4f2kcbtvt6o6hc@silver> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qQshhz/uKIlcx9uL" Content-Disposition: inline In-Reply-To: <20210608222822.fu4f2kcbtvt6o6hc@silver> 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=1623331430; 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=skdbkbEocvSFvpTICe4aIIEoHh5BH2BSI/YZRFfZq+Y=; b=oT98MXmKal2/3dcubd4ehD0LDtvitoj7cRYakKOuoRijNLnoafmm9lIw8dK7OvnsCNt3c9 8nR2dhYvejL6jMyG6lw2KveQRmILQR9OCiGt2zxkMmRwYf1H2EqgsrmzQ4NDaycAcmMt6g h4BXevaZeSXxHf2UrY7jz2+a8SwDaqzZmn3c5LEXZhiZrNRQRyKJtgWzsdLHV5qtqRTKFp 5+3cLaIHe4Fa9cX4DlPbcr/lrQwtEe2tjFy7ISyOjmGOJz4THMVKMA9CkK/3QKp/Sb+rUf bcDJ9KH7I12inahIr0XwbGhVeLh+ERYZYBbwNeHdPXXlAoNKzPD2CL1xPWJTSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623331430; a=rsa-sha256; cv=none; b=NgVw3TEgHC2INjnvbcACO0Kpep8Jj51eJVJK90Le572gCUsCS6Hqji9cj+TtiMMQKhVvZW fdOJ2voauidAxb279es6OMIJzjTet1SfyUj8OkFRSk6NdstkKE8kyXyiq339cihHWjwbg8 HEJrHyPOAxvFUrBJAH32QA8sZCZ02BoWypFbaqd/9wpvp/d69/DwxJxzgblEd/PJdyBVJd Uua2M/a9IdtBi+SBPNxL+S6rE3yyKUBNiqUo0piDanJmdXCV49ylDrOfyozN40dEH6XzJN KHJ23vgroMNWCDm6wzHFI44fwrTOVN5ZX7I1la4vScBTek3E6zY5nwploiANhw== 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: 9C8A318140 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7iH2NXSOOuKN --qQshhz/uKIlcx9uL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 09, 2021 at 12:28:22AM +0200, Gabriel Wicki wrote: > Hello everyone! >=20 > > Efraim Flashner skribis: > > > 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. >=20 > Do i understand correctly that the bootstrap-tarballs can be > cross-compiled and tested (to some extent) in a qemu-system-riscv? Or does > this *have* to fail (by Guix's design) due to it not being bootstrappable? >=20 They get cross compiled from another architecture, using the package definitions in gnu/packages/make-bootstrap.scm. From what I've seen online, it should be possible to boot Ubuntu's riscv64 image using qemu. I haven't tried enabling riscv64 support in my binfmt service and try building on my main machine. >=20 > On Tue, Jun 08, 2021 at 03:43:44PM +0200, Ludovic Court=C3=A8s wrote: > > 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 t= hem ;-)). > >=20 > > 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, o= ur > > current fiscal sponsor. > >=20 > > Any takers? Or should we wait until you have more experience with > > yours, Efraim? > I could see myself doing that. I've been thinking about getting a HiFive > Unmatched for a while and getting the hardware makes working on it a bit > more exciting! >=20 > Do i understand correctly that this machine would then be used to > build Guix packages and serve them? I.e. a worker on ci.guix.gnu.org? >=20 >=20 > Have a nice week! > gabriel >=20 --=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 --qQshhz/uKIlcx9uL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmDCEigACgkQQarn3Mo9 g1EVAQ/+OcoZ3OFU31cmLJH17UE10YHhcMi5P4wx1Oq8cKpPx/J0qLpucJPEGeL0 aq8oMOY1IYR+/FpqOawEP9qtlfQx56epmHHlaOpGppw3dRRZ2GUFv/8wJ627PMAt EUp1AaZfKudiWemSdyU8Zm6q+Q+zlzDvC7/ZlBCnMEudx4JXgHCGzS+D7sgm2Ars aqk0jlnDKjonyKJabuPT80R3hwulc+HY/0yaO79CNnyewRg1MdiBhnEiysdM4x37 d9h7+Usw0lp3oqaddFPRjHmth5NxZJQRivR7+LyDs/Bbm4afHliKOqNmU/lcfyQo n5lEEjj2aO9S4JAumisRRD7gYqe1KOsA5yWABlqhzkSudkkykb5yr24plQG/uI1b cp73lHIjRlZnZRFSUIBzOAM1BHPUKtD9gqjfbrO8+FKEU+Onp6GLIke6i8KvUk4M pFXiQkSaJGv1c51NgEg5AsaMG2x1vzFYv0pVl9jhNLp9Y1i6iory7aMDmA63Qm8X ktY7P0LgSJo+7rqP7JtBJ5vQ2p1EnJH+w22BAXGgik28Z226tqO7aQKGtExEs9l0 Yjn/7TtnBfa+gLAYtJLUWrw/PXrmI58bYrztWEP0H6WUXYC88iJGVbDC43EUclmf K7OGcBj7Kls/q7FDnulcxKARSHy5du+ciC+bzMwW6I+TaCCL4+k= =G9x1 -----END PGP SIGNATURE----- --qQshhz/uKIlcx9uL--