Subject: bug#78349: closed (Closing Issues)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 May 2025 15:10:02 +0000

Your bug report

#78349: [PATCH hurd-team] Allow for a crossbuilt gnumach.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78349: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78349
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Closing Issues
From: [email-masked]
To: [email-masked], [email-masked], [email-masked], [email-masked]
Date: Sat, 24 May 2025 17:08:57 +0200 (GMT+02:00)
List-Id: <debbugs-submit.debbugs.gnu.org>

All patches are applied, cleaning up the issues.

Subject: [PATCH hurd-team] Allow for a crossbuilt gnumach.
From: [email-masked]
To: [email-masked]
Cc: Janneke Nieuwenhuizen <[email-masked]>
Date: Sat, 10 May 2025 10:44:36 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

While building a childhurd for core-packages-team I noticed that gnumach is currently build with the i686-linux toolchain rather than the i586-pc-gnu cross toolchain with a comment that a cross-built mach has issues. As I wanted to avoid bootstrapping a second toolchain I tried a to cross-build one and found no issues.

I then tried this is also on master with both i586-pc-gnu and x86_64-pc-gnu and have not noticed something (yet?) that indicates that mach is broken, the system boots and I was able to talk to the guix-daemon.

I marked the target as a [hurd-team] branch in case there is need for some more testing. 
>From 1ca15aadf75a46467038deaecf801018b8aa2a39 Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Yelninei <[email-masked]>
Date: Fri, 9 May 2025 18:26:54 +0000
Subject: [PATCH 1/2] system: hurd: Use the regular gnumach as default kernel.

* gnu/system/hurd.scm (%hurd-default-operating-system-kernel,
%hurd64-default-operating-system-kernel): Set to gnumach.

Change-Id: I7d5515c95e2994e2f0c4ae3a43afe4e6575a53ed
---
 gnu/system/hurd.scm | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index c9df366f24..1436f7b52c 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -64,20 +64,10 @@ (define-module (gnu system hurd)
 ;;; Code:
 
 (define %hurd-default-operating-system-kernel
-  (if (system-hurd?)
-      gnumach
-      ;; A cross-built GNUmach does not work
-      (with-parameters ((%current-system "i686-linux")
-                        (%current-target-system #f))
-        gnumach)))
+  gnumach)
 
 (define %hurd64-default-operating-system-kernel
-  (if (system-hurd?)
-      gnumach
-      ;; A cross-built GNUmach does not work
-      (with-parameters ((%current-system "x86_64-linux")
-                        (%current-target-system #f))
-        gnumach)))
+  %hurd-default-operating-system-kernel)
 
 (define %base-packages/hurd
   ;; Note: the Shepherd comes before the Hurd, not just because its duty is to

base-commit: 43de5db0af03f118c10cef43dc3966ff8eabec0e
-- 
2.49.0