GNU bug report logs - #75051
[PATCH 00/14] Add loongarch64 platform support.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <873216071 <at> qq.com>

Date: Mon, 23 Dec 2024 17:04:01 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 75051 <at> debbugs.gnu.org
Cc: Zheng Junjie <873216071 <at> qq.com>, Andreas Enge <andreas <at> enge.fr>, Janneke Nieuwenhuizen <janneke <at> gnu.org>, Ludovic Courtès <ludo <at> gnu.org>
Subject: [bug#75051] [PATCH v2 06/15] gnu: %glibc-stripped: Fix cross-compiling to loongarch64.
Date: Sat, 25 Jan 2025 00:39:04 +0800
From: Zheng Junjie <873216071 <at> qq.com>

gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: When target
loongarch64, Use linux-libre-headers-5.19.17.

Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
---
 gnu/packages/make-bootstrap.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 59c117f2260..864d84d89e9 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -475,11 +475,13 @@ (define (%glibc-stripped)
                         glibc)))))
       (inputs
        `(("kernel-headers"
-          ,(if (or (and (%current-target-system)
+          ,(cond ((or (and (%current-target-system)
                         (target-hurd? (%current-target-system)))
                    (string-suffix? "-hurd" (%current-system)))
-               gnumach-headers
-               linux-libre-headers))))
+                  gnumach-headers)
+                 ;; linux 5.19 include loongarch support.
+                 ((target-loongarch64?) linux-libre-headers-5.19.17)
+                 (else linux-libre-headers)))))
       (propagated-inputs '())
 
       ;; Only one output.
-- 
2.47.1





This bug report was last modified 81 days ago.

Previous Next


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