Received: (at 46059) by debbugs.gnu.org; 23 Jan 2021 23:24:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 23 18:24:59 2021 Received: from localhost ([127.0.0.1]:35604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l3SH4-0006lh-SP for submit <at> debbugs.gnu.org; Sat, 23 Jan 2021 18:24:59 -0500 Received: from mail-40133.protonmail.ch ([185.70.40.133]:47814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@HIDDEN>) id 1l3SH1-0006lT-HK for 46059 <at> debbugs.gnu.org; Sat, 23 Jan 2021 18:24:58 -0500 Date: Sat, 23 Jan 2021 23:24:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail3; t=1611444288; bh=+oTk0j4FtC60GSsGI3mrj6sVhjt5okLBIW7/3VwT5CU=; h=Date:To:From:Reply-To:Subject:From; b=bqBDpIrMtH78gSqRI5zONiuhz7tmIweGPnNwYJdVysyKqD5qHYXRikdAyTFgwY4vP tRaPZqrE+Tl0y/ucjIpC3cuG1Z8/HRfv0MHkPxglL7PSEf4ELd0XNbC+51td7wmvmw /zj2Lp+SFJUXCp1k/EdcrWmu5t4cdz9A9MKKXyNmKQFyuit5ZaPXAzdKXZa69sHz5B EGLc86YfuZ6F3yMg7ieaO13icaoj2nc9ijHpNYmtAuHMLazJ+hBGWaAl+sxhqfla0C EtumY3PFWKjqDGpZj/7wUjQ0/C83qqzSXasDWksNB8exyH8nxeHk3Xtj+zwmvZy8CD vhTEO+jpT5vFg== To: "46059 <at> debbugs.gnu.org" <46059 <at> debbugs.gnu.org> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: More info about other targets Message-ID: <e3TytODU43fkggM5x-oJDvoJ24yGpW0XSP1jG-cjpjZ2m8IrOLNUyYg4dAsB95Ybn4D_XUsFDSePo_16EgP5pJFMLTjxwTzV2J30GmuFzhQ=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46059 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This issue from RISC-V GNU Toolchain has more information related with the issue described: https://github.com/riscv/riscv-gnu-toolchain/pull/136
guix-patches@HIDDEN
:bug#46059
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Jan 2021 22:01:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 23 17:01:17 2021 Received: from localhost ([127.0.0.1]:35499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l3Qy5-0003lh-9t for submit <at> debbugs.gnu.org; Sat, 23 Jan 2021 17:01:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:50436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@HIDDEN>) id 1l3Qy4-0003kv-GI for submit <at> debbugs.gnu.org; Sat, 23 Jan 2021 17:01:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ekaitz@HIDDEN>) id 1l3Qy4-0000bM-8K for guix-patches@HIDDEN; Sat, 23 Jan 2021 17:01:16 -0500 Received: from mail1.protonmail.ch ([185.70.40.18]:58216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ekaitz@HIDDEN>) id 1l3Qxy-0005n5-VV for guix-patches@HIDDEN; Sat, 23 Jan 2021 17:01:15 -0500 Date: Sat, 23 Jan 2021 22:00:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail3; t=1611439265; bh=bShyVrRW2/sA3EsgwDH7kzHJ45a7bGYB8nJ5xToC9S8=; h=Date:To:From:Reply-To:Subject:From; b=CmqLncxhIG30Naw6InSLbLFbPkx7lqykxi1nhWLNuSSaBVt/gFJ99+8rHjp+p+QMc aRFNaKuJiRfWiN3vSFJxDAqlwIY3seq52Xgo0btPk7dqWEeaoV2Fkx4cNfSuQlTAI3 +i/QkwlcCV5+sSOlj2lqev3IqsUi31JAb/Ic1bDSJYRhOTfXM+wA4gXsjDceS2eJKi HiF+AwH57GTf/UIO8LRB2ku75oy0+ymogn4AoQUHHZ/NKymZTvpdsvo/JfkAbyU89E hqdk8+kSEA+05ZGKcA+waFh9Is8GVpul++tWBZPf2EZCYWJuybqFexxvWXPfFLN2Ol qPqTbl/ojTyEw== To: "guix-patches@HIDDEN" <guix-patches@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: [PATCH] Enable riscv-elf targets Message-ID: <ef2YQavtUNwLAlNDfePhAHovSF3ilvjbP2zUxxMQEY7FMwN-yJni9Gvg-9Ad9NbceXHTc6Ii7NxNURiAZRucsgipeuIrAdNtOKGUwcYg8jU=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.18; envelope-from=ekaitz@HIDDEN; helo=mail1.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Hi, I've been struggling to make a RISC-V cross compiler. This `manifest.scm` file failed to create because there was no available dynamic linker for the targets which, in the end, don't need any dynamic linker: manifest.scm: ``` scm (use-modules (gnu packages cross-base) (gnu packages embedded) (gnu packages man)) (packages->manifest `(,@(let* ((triplet "riscv32-unknown-elf") (binutils (cross-binutils triplet))) (list binutils (cross-gcc triplet #:xbinutils binutils #:libc #f))) ,man-db)) ``` I realized there were some targets missing (and there are more!) in the bootstrap.scm file, so I think adding them is harmless and lets us make cross compilers that are not available otherwise. I'd like to add riscv32-linux too, but that involves setting the correct path and I don't know it. Hope this patch is helpful. From 58785556b7448cfe32916d3842bce398b360c2de Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga <ekaitz@HIDDEN> Date: Sat, 23 Jan 2021 22:50:44 +0100 Subject: [PATCH] gnu: glibc-dynamic-linker: Add riscv*-elf targets * gnu/packages/bootstrap.scm: (glibc-dynamic-linker): Set riscv64-*-elf targets to "no-ld" --- gnu/packages/bootstrap.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index c39e60ec8b..8566d11284 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -302,6 +302,8 @@ or false to signal an error." ((string=3D? system "i686-mingw") "no-ld.so") ((string=3D? system "x86_64-mingw") "no-ld.so") ((string=3D? system "vc4-elf") "no-ld.so") + ((string=3D? system "riscv32-elf") "no-ld.so") + ((string=3D? system "riscv64-elf") "no-ld.so") (else (error "dynamic linker name not known for this system" system)))) -- 2.29.2
Ekaitz Zarraga <ekaitz@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#46059
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.