GNU logs - #46059, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#46059] [PATCH] Enable riscv-elf targets
Resent-From: Ekaitz Zarraga <ekaitz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jan 2021 22:02:01 +0000
Resent-Message-ID: <handler.46059.B.161143927714511 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 46059
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 46059 <at> debbugs.gnu.org
X-Debbugs-Original-To: "guix-patches@HIDDEN" <guix-patches@HIDDEN>
Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.161143927714511
          (code B ref -1); Sat, 23 Jan 2021 22:02:01 +0000
Received: (at submit) by debbugs.gnu.org; 23 Jan 2021 22:01:17 +0000
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==
From: Ekaitz Zarraga <ekaitz@HIDDEN>
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-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>
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






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ekaitz Zarraga <ekaitz@HIDDEN>
Subject: bug#46059: Acknowledgement ([PATCH] Enable riscv-elf targets)
Message-ID: <handler.46059.B.161143927714511.ack <at> debbugs.gnu.org>
References: <ef2YQavtUNwLAlNDfePhAHovSF3ilvjbP2zUxxMQEY7FMwN-yJni9Gvg-9Ad9NbceXHTc6Ii7NxNURiAZRucsgipeuIrAdNtOKGUwcYg8jU=@elenq.tech>
X-Gnu-PR-Message: ack 46059
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 46059 <at> debbugs.gnu.org
Date: Sat, 23 Jan 2021 22:02:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 46059 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
46059: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46059
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#46059] More info about other targets
References: <ef2YQavtUNwLAlNDfePhAHovSF3ilvjbP2zUxxMQEY7FMwN-yJni9Gvg-9Ad9NbceXHTc6Ii7NxNURiAZRucsgipeuIrAdNtOKGUwcYg8jU=@elenq.tech>
In-Reply-To: <ef2YQavtUNwLAlNDfePhAHovSF3ilvjbP2zUxxMQEY7FMwN-yJni9Gvg-9Ad9NbceXHTc6Ii7NxNURiAZRucsgipeuIrAdNtOKGUwcYg8jU=@elenq.tech>
Resent-From: Ekaitz Zarraga <ekaitz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 23 Jan 2021 23:25:02 +0000
Resent-Message-ID: <handler.46059.B46059.161144429926025 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 46059
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "46059 <at> debbugs.gnu.org" <46059 <at> debbugs.gnu.org>
Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN>
Received: via spool by 46059-submit <at> debbugs.gnu.org id=B46059.161144429926025
          (code B ref 46059); Sat, 23 Jan 2021 23:25:02 +0000
Received: (at 46059) by debbugs.gnu.org; 23 Jan 2021 23:24:59 +0000
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==
From: Ekaitz Zarraga <ekaitz@HIDDEN>
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-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>
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





Last modified: Sat, 23 Jan 2021 23:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.