From unknown Tue Sep 09 16:56:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35966 <35966@debbugs.gnu.org> To: bug#35966 <35966@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add basic support for riscv64-linux-gnu targets. Reply-To: bug#35966 <35966@debbugs.gnu.org> Date: Tue, 09 Sep 2025 23:56:53 +0000 retitle 35966 [PATCH] gnu: Add basic support for riscv64-linux-gnu targets. reassign 35966 guix-patches submitter 35966 Carl Dong severity 35966 normal tag 35966 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 13:31:54 2019 Received: (at submit) by debbugs.gnu.org; 28 May 2019 17:31:54 +0000 Received: from localhost ([127.0.0.1]:57049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVfx4-0000pJ-3m for submit@debbugs.gnu.org; Tue, 28 May 2019 13:31:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVfx2-0000p4-0Q for submit@debbugs.gnu.org; Tue, 28 May 2019 13:31:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:42208) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVfww-00046Y-0a for submit@debbugs.gnu.org; Tue, 28 May 2019 13:31:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVfwu-0004fV-Ul for guix-patches@gnu.org; Tue, 28 May 2019 13:31:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVfws-00043g-Uy for guix-patches@gnu.org; Tue, 28 May 2019 13:31:44 -0400 Received: from mail4.protonmail.ch ([185.70.40.27]:47953) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVfwp-00040f-6z for guix-patches@gnu.org; Tue, 28 May 2019 13:31:41 -0400 Date: Tue, 28 May 2019 17:31:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; s=protonmail; t=1559064696; bh=C3JF5Hk7CXcO869oh6JtG30XiO3w50DPwVs9hvAMo+A=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=UCrxIkTsjVApPObHYASXO4abv0YskHGl3QXQdj79rRNA6hJlQS9QFtCcqakq88/nn FlIIeHKgSAbOvuqaXoFEfjlIvsZrgevvoO1LWl6rINsKd6joVC3ayeO8BImzIErzF+ gWezooPWv4WO3cEb6V1TX+rTMfCwF+BIGRSmiIWA= To: guix-patches@gnu.org From: Carl Dong Subject: [PATCH] gnu: Add basic support for riscv64-linux-gnu targets. Message-ID: Feedback-ID: a8j8tDUaJ4AYuDVBywMTwsJebN4w8TVXadJLsJb8td3t3dZi9RdXFlPaQvoFKnI9KgXySsPXcRkajVyY0cGTcA==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.70.40.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Carl Dong Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) From: Carl Dong Aside from this patch, we also need 35888 and 35963 to satisfy riscv64's mi= nimum kernel header version requirements. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "riscv64-linux". * gnu/packages/linux.scm (system->linux-architecture): Add "riscv" prefix. --- gnu/packages/bootstrap.scm | 1 + gnu/packages/linux.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index a3ecbeb076..e8b2120551 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -177,6 +177,7 @@ return value is ignored." ((string=3D? system "powerpc64le-linux") "/lib/ld64.so.2") ((string=3D? system "alpha-linux") "/lib/ld-linux.so.2") ((string=3D? system "s390x-linux") "/lib/ld64.so.1") + ((string=3D? system "riscv64-linux") "/lib/ld-linux-riscv64-lp64d.= so.1") =20 ;; XXX: This one is used bare-bones, without a libc, so add a case ;; here just so we can keep going. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 67085f30f2..bc519409c0 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -144,6 +144,7 @@ ((string-prefix? "alpha" arch) "alpha") ((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc6= 4le" ((string-prefix? "s390" arch) "s390") + ((string-prefix? "riscv" arch) "riscv") (else arch)))) =20 (define-public (system->defconfig system) --=20 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 29 09:41:58 2019 Received: (at 35966-done) by debbugs.gnu.org; 29 May 2019 13:41:58 +0000 Received: from localhost ([127.0.0.1]:58377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyq6-0002xn-8x for submit@debbugs.gnu.org; Wed, 29 May 2019 09:41:58 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:38336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyq3-0002xe-WE for 35966-done@debbugs.gnu.org; Wed, 29 May 2019 09:41:56 -0400 Received: from localhost (178.113.234.233.wireless.dyn.drei.com [178.113.234.233]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 175ED3360759; Wed, 29 May 2019 15:41:54 +0200 (CEST) Date: Wed, 29 May 2019 15:41:52 +0200 From: Danny Milosavljevic To: Carl Dong Subject: Re: [bug#35966] [PATCH] gnu: Add basic support for riscv64-linux-gnu targets. Message-ID: <20190529154152.7ec3ac76@scratchpost.org> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/a_b+aAV5alu78JzhWIVPTpu"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35966-done Cc: Carl Dong , 35966-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/a_b+aAV5alu78JzhWIVPTpu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Pushed to guix master as commit 7180dd671697e0215b140ebc0d36047b4b8375f2. Thanks! --Sig_/a_b+aAV5alu78JzhWIVPTpu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzujCAACgkQ5xo1VCww uqX/Wgf/UIWYqLbCdcKMzm4Xgz55EqfRcHs8BK7kEjV3bb3G7uOcd9VCDp2nwXVV 4/N1raOZM4b1/WRjM9nMXDGquleqWl49gj/2velqLinRJ2YL2FfrQUtMJKzARjHq Hc+PA/RvG9tUyHAspstFG+Z2MVm+qV0D1LrtnQQN/R05WAomBW7lWo3G8m8Op8CO QH7Z3YpjGgDkdkDQHpmEPj4LMB93QJ67F6VjeTzO2o/zfq6pr0jx9XiH/pzmWwRm gdoCjA4sUPgdKl2BNX8mV+dGd0m+FePMY1dJQTS/a88iKemZNPo1IlzPFkrLLItW 4Zbgb0eXhytXW/jKQeHZ8FojBoncOA== =Jpzm -----END PGP SIGNATURE----- --Sig_/a_b+aAV5alu78JzhWIVPTpu-- From unknown Tue Sep 09 16:56:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Jun 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator