From patchwork Sat May 10 08:44:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yelninei--- via Guix-patches via X-Patchwork-Id: 42502 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C2FB227BC4A; Sat, 10 May 2025 09:45:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8CC1527BC49 for ; Sat, 10 May 2025 09:45:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uDfpQ-0005eY-Uy; Sat, 10 May 2025 04:45:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDfpO-0005eN-Vn for guix-patches@gnu.org; Sat, 10 May 2025 04:45:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uDfpO-0004xk-LG for guix-patches@gnu.org; Sat, 10 May 2025 04:45:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=skcb6ah7rZofvlUHJsfjRnYvkS9O1X0kGk2mKwCkYoo=; b=IBBaPfGuUL6ztSa7CYPYS+rsL/WVCkcYVjPp/l955grI3+64nH+R8+g2Rt7flK8aSwhXDuVsv0rbVDQR5CxDlHx5YedbKxi/pwzc01FY4xZqMeO7qniAvg/AvCUwd1t038IwmW++Pu7vPfWfh9T2vllA54FQNB047+hDXSxk70II2fe+qWGT9hPp8EJPQY5wDrxCx6fXVyF/kFdxEyomIs4bD2KhqdeQ5Wgl8SHPyiGQjihqdt60j8baGZUt5heCOFqw1YTV8JmOZr+0vvgh+gijGsps4pWePfNp/w3llXuKZPIy9VsjD5dugz3+Wnvbd1WhThQGoLZNA+CwJeowpg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uDfpO-0002XM-5y for guix-patches@gnu.org; Sat, 10 May 2025 04:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78349] [PATCH hurd-team] Allow for a crossbuilt gnumach. Resent-From: yelninei@tutamail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 May 2025 08:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78349 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78349@debbugs.gnu.org Cc: Janneke Nieuwenhuizen X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17468666959716 (code B ref -1); Sat, 10 May 2025 08:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2025 08:44:55 +0000 Received: from localhost ([127.0.0.1]:43607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDfpG-0002We-HO for submit@debbugs.gnu.org; Sat, 10 May 2025 04:44:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:32858) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDfpB-0002WH-PP for submit@debbugs.gnu.org; Sat, 10 May 2025 04:44:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDfp3-0005d9-AT for guix-patches@gnu.org; Sat, 10 May 2025 04:44:42 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDfp0-0004wj-Pi for guix-patches@gnu.org; Sat, 10 May 2025 04:44:40 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id F26DE85E506E for ; Sat, 10 May 2025 10:44:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1746866676; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=skcb6ah7rZofvlUHJsfjRnYvkS9O1X0kGk2mKwCkYoo=; b=XhLH1kwED45jobT2iZrHWP5mQK0CY+QOf9wFHA0T3flm6KyX18cdwYvMxguopA69 3rMozAla0MRfoMD4W8Arb0Pc3EfhclCXBLhBZv6aQR1VuXLy3yk0Ub1igRvazM3RLpV aDoLZa8vIkbtXtzJdhDLkwe+CPEFVqZdfdnEj8neYbU4Vyvpg3GKd9BJ3FYHQnumb/r DO/t8sH78NYzHCD+JiWgq3RU0GI8WinK+CFnleuL5G28TzkVd3erB3X+cN0TIg9H5rI 0abvox6oukGFg0rMVZwArsFiuY8AtQDHwRCqdjJlqNQoXAyhXevIpDQjZ89GIRMHHkf fwPJV8lC5Q== Date: Sat, 10 May 2025 10:44:36 +0200 (CEST) Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.205.69.213; envelope-from=yelninei@tutamail.com; helo=mail.w13.tutanota.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: yelninei@tutamail.com X-ACL-Warn: , yelninei--- via Guix-patches X-Patchwork-Original-From: yelninei--- via Guix-patches via From: yelninei--- via Guix-patches via Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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: <1ca15aadf75a46467038deaecf801018b8aa2a39.1746864636.git.yelninei@tutamail.com> From: Yelninei 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