GNU bug report logs - #30487
[PATCH] gnu: Add basic support for s390x-linux-gnu targets.

Previous Next

Package: guix-patches;

Reported by: mephi42 <mephi42 <at> gmail.com>

Date: Fri, 16 Feb 2018 16:40:02 UTC

Severity: normal

Tags: fixed, patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30487 in the body.
You can then email your comments to 30487 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#30487; Package guix-patches. (Fri, 16 Feb 2018 16:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to mephi42 <mephi42 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 16 Feb 2018 16:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mephi42 <mephi42 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: mephi42 <mephi42 <at> gmail.com>
Subject: [PATCH] gnu: Add basic support for s390x-linux-gnu targets.
Date: Fri, 16 Feb 2018 17:50:42 +0300
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add
  "s390x-linux".
* gnu/packages/linux.scm (system->linux-architecture): Add "s390"
  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 ba733b3a9..20fcfacb8 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -173,6 +173,7 @@ successful, or false to signal an error."
         ((string=? system "powerpc-linux") "/lib/ld.so.1")
         ((string=? system "powerpc64le-linux") "/lib/ld64.so.2")
         ((string=? system "alpha-linux") "/lib/ld-linux.so.2")
+        ((string=? system "s390x-linux") "/lib/ld64.so.1")
 
         ;; 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 bc1c65851..f2d0fdab7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -128,6 +128,7 @@
           ((string-prefix? "aarch64" arch) "arm64")
           ((string-prefix? "alpha" arch) "alpha")
           ((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc64le"
+          ((string-prefix? "s390" arch) "s390")
           (else arch))))
 
 (define-public (system->defconfig system)
-- 
2.11.0





Information forwarded to guix-patches <at> gnu.org:
bug#30487; Package guix-patches. (Mon, 19 Feb 2018 21:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 30487 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: mephi42 <mephi42 <at> gmail.com>
Cc: 30487 <at> debbugs.gnu.org
Subject: Re: [bug#30487] [PATCH] gnu: Add basic support for s390x-linux-gnu
 targets.
Date: Mon, 19 Feb 2018 22:23:13 +0100
Hello,

mephi42 <mephi42 <at> gmail.com> skribis:

> * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add
>   "s390x-linux".
> * gnu/packages/linux.scm (system->linux-architecture): Add "s390"
>   prefix.

Applied, thanks!  Let us know if you get further with Guix on s390.  :-)

Ludo’.




Added tag(s) fixed. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 19 Feb 2018 21:24:04 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 30487 <at> debbugs.gnu.org and mephi42 <mephi42 <at> gmail.com> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 19 Feb 2018 21:24:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Mar 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 93 days ago.

Previous Next


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