From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emj3O-0005QO-Pd for guix-patches@gnu.org; Fri, 16 Feb 2018 11:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emj3K-00026j-Rh for guix-patches@gnu.org; Fri, 16 Feb 2018 11:40:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emj3K-00026R-N3 for guix-patches@gnu.org; Fri, 16 Feb 2018 11:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emj3K-0007yK-GU for guix-patches@gnu.org; Fri, 16 Feb 2018 11:40:02 -0500 Subject: [bug#30487] [PATCH] gnu: Add basic support for s390x-linux-gnu targets. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emhLv-0005WY-1u for guix-patches@gnu.org; Fri, 16 Feb 2018 09:51:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emhLr-0007a0-V9 for guix-patches@gnu.org; Fri, 16 Feb 2018 09:51:07 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:41689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emhLr-0007ZO-Lg for guix-patches@gnu.org; Fri, 16 Feb 2018 09:51:03 -0500 Received: by mail-lf0-x22e.google.com with SMTP id f136so4372524lff.8 for ; Fri, 16 Feb 2018 06:51:03 -0800 (PST) From: mephi42 Date: Fri, 16 Feb 2018 17:50:42 +0300 Message-Id: <20180216145042.28978-1-mephi42@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30487@debbugs.gnu.org Cc: mephi42 * 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