From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mBDDNKxrhWarjAAAqHPOHw:P1 (envelope-from ) for ; Wed, 03 Jul 2024 15:18:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mBDDNKxrhWarjAAAqHPOHw (envelope-from ) for ; Wed, 03 Jul 2024 17:18:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b=R1VLRmQ0; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720019884; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=pUNLDoUeOOCDXpQXvQi8WwW/gkzLlJ1dO2Z1TcyChjI=; b=OnbXFyVUhe3YaEW7/+zRDJgmfbB4/e28tPIulXP4ezYzi2JpGFZvYd9E1cE5z1BMbH0tys bk+QwdJa4RyH/AHZfPaTUMWpZV8u5+/mIzLwmK/3KvnQmNXgIgEESMbeIFeszmxcFDuFDy eNb4Uo8qJPL0MOlFiKLzMWNgx+k67PoR0J849jroNqwyx/mJfjtDBZFkvuyBTWz2T0byT+ QJGWrvUc4RfChFdXGRUCBV8XL7o0kMEUx5MtrAkhrV6lXn7IMCcHS+fokmhP4rvcWVmV0R zuKzhYuJSr0oJTlXHZL8y2CyykojEscIFC4qkGGk5e2hMFNYOfGT+e0JvKDU1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b=R1VLRmQ0; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720019884; a=rsa-sha256; cv=none; b=p82Diqsc7S4/EMXTnhXlrmnLhHaN9VhL7YUfhvs5C7RJQWmpMGG3HZNQ1WiR76gfLLZS8Z K+Ecm2w2mSpUDpf4InmGsM1KqFBjpJQH/KAPcQRdhwszALfE2xFL8sXyALbJCQV0fkUsBn AJHTF29gZHXmKPQqwVNH1TniGhw8D86EhKePy8a4MqQiXtkHIb3JFFZAQwmzPBBNFobRQU as5UTRI2klWRKLKj9Xu0vk0brjJu7g/QfTwIjfG0AiPXD3WVbEu6/cEVMFr40QcB0WwXxM SYRmXu4+jN/YE7gmOheNxvYb01KZWAByOvSMa/Wbac2ux7BM5MwMPF4YuqfYPQ== 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 A70EE3A619 for ; Wed, 3 Jul 2024 17:18:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP1jU-0001op-Df; Wed, 03 Jul 2024 11:17:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP1jR-0001oH-4O; Wed, 03 Jul 2024 11:17:17 -0400 Received: from dane.soverin.net ([185.233.34.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sP1jJ-0004rl-P7; Wed, 03 Jul 2024 11:17:16 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4WDk083mZGzyVd; Wed, 3 Jul 2024 15:16:56 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4WDk075G7kzK5; Wed, 3 Jul 2024 15:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1720019816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:autocrypt:autocrypt; bh=pUNLDoUeOOCDXpQXvQi8WwW/gkzLlJ1dO2Z1TcyChjI=; b=R1VLRmQ0G75WOJTyS5+ZYzFfNqurl4emO3CccUbU5yZE8NPBJ4uLwiKx7bRD5WvEPtyvs9 Js/STTTfw9WLn4YG266RHdLQGdmi6axdd41EVDxfsiAZTOKu7W8UJKhyhns4FBJiYtrWVU ENw3t1E6cQMwUChyNrdycuB6EYsN2QqWozbVFKTKIUucu8EXx73j78knrHOW/5cyZ9Lzp3 YUrI6Vct4L/MVvK8O/NKZesgbW2T+WmnH5JpuWU0ZCP80WOfl9RELFxgYDCrGEOqy94O/C 2lddcMyLRZMROTLzYF1DGl2AAcSN1LnQB+eAEnbAflrNeCQ5Q18iLq6391V6SA== Message-ID: <26411bab-0d65-dc55-e55d-7d0a0c96de50@elenq.tech> Date: Wed, 3 Jul 2024 17:16:55 +0200 MIME-Version: 1.0 To: "bug-guix@gnu.org" , =?UTF-8?Q?Andrius_=c5=a0tikonas?= , "efraim@flashner.co.il" , Jan Nieuwenhuizen , "guix-devel\\@gnu.org" Content-Language: en-US, es-ES, eu From: Ekaitz Zarraga Subject: Bootstrapping path discovered for RISC-V 64bit Autocrypt: addr=ekaitz@elenq.tech; keydata= xsFNBGViSyIBEADY3g71uW/0CVaVm5/ObqTicQXXJRuh1uafIFiUUZoAp1V3V89b3LZ/m0cL 8YNHxTxsx8sKIMYTGlOvARAMiSpDvkmpf5pLn5T7+VvK90FOv/Pkp1tNNT+tvd0m/7C58+39 s7tN+XppbjVRtFuSXY0aFe8rpivZsKxv+tPUHUnQQszXvwgx0GQl8AX99IE+j75NJmBHFVg2 0geKa7QVymu669ix2+zU8vGoOKf5nIS0qG1m/vrtwR3ZuuyWX9/E/uP95ahX5ETWtjhTDbEm MEaRperwbczBewkdERJ34vRrverqKQA1xHXoPsx4NkLMocORFSSCJsveXcgWlU+pUIOYcKUA ARJjHhoWoUH4LZt5EOb7U17AaYMmATUXPCqq8G3jEXq6i0O1J1obCJGIRG02R9GiGp4zrVuv 2hmyoAmed4xYZAtf9WjcbwiunDkMGIxscdSlfEH/9dt7PGdEvkZ0dNSCTbp4ctMI4jAfobAL LReMSGx1CgPi01J61a/n/SgR66AiRJZCyC1u2V7AK1rBOAYzOU4UoePz+yF1I7crjZWAQVo6 DlmmXW+29l/lh2oK5jOuNEcvI6qi+tPCYxpDhUhZeYgqFU+/xgGlMj/XGvwuIFlpVg9ovFMg 6mxskOCVP9xNEp/qHiHqByYu5NRcITo/z/3BUimdXTT4KSq2cQARAQABzSJFa2FpdHogWmFy cmFnYSA8ZWthaXR6QGVsZW5xLnRlY2g+wsGOBBMBCAA4FiEEg/pnRVjAUpRlfkwZt5lM+Jly CyYFAmViSyICGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQt5lM+JlyCybjZxAAy+YW 3Q22xKoMWJYw03qGCy87WPK+xGWDpKD6TJ77+/IEbldObyQRrKYTTGjQSy6WgaJ0txJMIqe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S4kHUJ2IQUmSH/43RO5PkftWsCucYGeaG1aPr+GAkeKIS1M3OZGuqhd800mltpiH73eL XrUPF8fgngC+SGMrHXLfzuhaRxPNYUbsdF+wRkvjRSO4tCmSVpgfPsHu5emoZgix1iiTO7GF do7L6n1Ay3oF4Witoxc0Gcbu7ltYlZHGmDnsVTVALartsJV2muSXpWcjQiXyC0gUkIkUD/3P jtgVxK8xABEBAAHCwXYEGAEIACAWIQSD+mdFWMBSlGV+TBm3mUz4mXILJgUCZWJLIgIbDAAK CRC3mUz4mXILJrIaD/9CXGckwRCojuRzP0r6+8/RvNDc03CSe2W17WrSaoYgiRb+h5asI/AL yqw+QRgwXZpt0i9hNiDCe/baD62mufIyjKFjHoAWSYJuZ5VK3vWnro6GaxWULYt1+c4c4Lz2 d1nSK6j8F3CxYo7BFk6afOusjYfh+0HywThcYY+x+K5Z+4SdJejDLiL5AzJn2W5Gt/ViK5nI wl7uRQpayMc9zmI8ytUT2NJxovq1/fT9nB8VPwlbJTE9zvIqfqHh9o9Apx5o8yTaSCyGUyu9 8h/klqxFy4HAPJJu/3JkiMaCI45ZdCqRR1LIwhtmW2lb73r0rP/0S1cKi+ehA4oQvwiUw7zh XXw7mqzSAJ0SWT92Vy2G8Z8qqgwxwfQcdFZAyJAL1rgEPQljNT91Vgbc6DCUka2XW5BqyhEB eS0n1gK0hYXbM9FKegRsZxlmRAXa4KGXCwr4BNK6k+zkKPitezjbtcLgcKSHa8/HyHNkW7xH R+MN16x2elQPmQ2d0Ien1HgsK98+3prlUGwZIVCqa1ddSoW0llU3JzGsKrMAiYbWg/rOXFil RJbuhjflaLBVmfI8VlRQRocP+WEH0lsUWrtjVaGcBj1/YnIoT+zT6fPSXwPsrBvAWEjfl8HH e1F4cYb+ugPDwUTd1s2Uj2tF0/fhCHPy9sXyx/EIL3gqyBw9M2Rz9A== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spampanel-Class: ham Received-SPF: pass client-ip=185.233.34.157; envelope-from=ekaitz@elenq.tech; helo=dane.soverin.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A70EE3A619 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.40 X-Spam-Score: -9.40 X-TUID: JrJad+w16YO3 Hi, Thanks to NlNet we have found a bootstrapping path for RISC-V 64 and we created an alternative `commencement.scm` draft that builds from source up to a GCC-9. At the moment, that GCC-9 does not provide C++ support in my Guix packages. I tried to add it but I had issues. We made it work for live-bootstrap (Andrius did), and now it's time to move that to Guix but it's getting a little bit difficult with GCC's build-system. I'm opening this issue to make the handover to Guix. I have already worked with Efraim and he agreed to continue with this work until it's upstreamed. Also Janneke is working on a version of this commencement module that adds support for x86, so we could use that for everything instead of relying in two different bootstrapping paths. This will take some time to integrate. There are a couple of packages that I didn't bootstrap yet (but it's possible to bootstrap them): `flex` and `bison`. Mostly because we wanted to fix , too. The Gash package is replaced with a non-bootstrapped Bash because there's an issue in Gash that hangs the bootstrapping process. We have reported it upstream. We should use Gash once the issue is fixed. Also, we only made the path until a modern GCC, not all the rest of it, that we should be able to reuse from the current `commencement.scm` module. This is the link to the repo: https://github.com/ekaitz-zarraga/commencement.scm I'm more than open to help Guix include the RISC-V bootstrapping process upstream, so if you have any question, suggestion or anything else, feel free to directly contact me. As a note, in this series of blogposts I shared the 2 year process until today, and almost everything is documented: https://ekaitz.elenq.tech/tag/bootstrapping-gcc-in-risc-v.html Also, I'd like to publicly thank everyone who took part in this process. Especially Andrius, for all those sleepless nights we spent fixing weird compiler errors. Let's make this finally happen! Ekaitz