Message ID | de805c55fb5a6e5602a6cf388c7b6b0f272dd8a6.1731999203.git.janneke@gnu.org |
---|---|
State | New |
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 25E6827BBE2; Tue, 19 Nov 2024 07:01:06 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B86C527BBEC for <patchwork@mira.cbaines.net>; Tue, 19 Nov 2024 07:01:01 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tDIDl-00010c-0V; Tue, 19 Nov 2024 02:00:21 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tDIDY-0000kY-D9 for guix-patches@gnu.org; Tue, 19 Nov 2024 02:00:08 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tDIDY-0004kd-1Y for guix-patches@gnu.org; Tue, 19 Nov 2024 02:00:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=jCJ0C5wf6WwpDPlRftOHTJMUCHlacoa1lsMC2E1/S1Y=; b=OTe1SPDEKlGUVJcHLucSP0lZZQm/j1Dv9REbTNTmy5ImyqCsQtqYi00jCcMnnjEpBR+s4KZsOs8r29acMeAttzzYaVrMLz+5c+G3RZjJUdTlNbO4e7lRRkj+ZCrVptl4YFIZc1BkXgEGcOJKTJVaxJOqLPmgU6kMvzHtcL6dN99P2zMHIrfAMlaqyhuvsCjlMoG9ksPxLypoguV2qF4EwQAiNDMdgDgmZflVu7qlC3FFBmUSCxRO1pFJCIRNTVnMBVAhVIduim3ZqV90JA6uLoXvzLOWPaCGAa8Nhe1KZO+rPtVPaZzNT7ectHCK52Qv9ZUjxoNa8PjnElNqrVR9mA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tDIDX-0005P5-Rd for guix-patches@gnu.org; Tue, 19 Nov 2024 02:00:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 40/51] gnu: m4: Fix build for the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen <janneke@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 07:00:07 +0000 Resent-Message-ID: <handler.74290.B74290.173199959220606@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173199959220606 (code B ref 74290); Tue, 19 Nov 2024 07:00:07 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:59:52 +0000 Received: from localhost ([127.0.0.1]:40665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tDIDH-0005MC-JS for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:59:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <janneke@gnu.org>) id 1tDICI-0005BX-3q for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <janneke@gnu.org>) id 1tDIA7-00045P-J3; Tue, 19 Nov 2024 01:56:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jCJ0C5wf6WwpDPlRftOHTJMUCHlacoa1lsMC2E1/S1Y=; b=HI+DxWZOk5xUJiTjObU9 X2MNnCKz5MLBm3Sv918MJaaQag3VpF1M5n2PYhInLhKK4M/ptbFsaeOpAvIJqSvk3dVPiViFRjX6F Q0c3X6QyxdlZI9m68fJgSRuHXRzM1gKtYYCg1SHGe6jyMuHmmb/M/X7wpdc2IB9edW6hKHWzNLGW4 y47MrKiyLe19lZkrNtYFzZT5J3GLZgKyIyU0oftk3x3dB6EClXsgY3uSr79Z/uAwWR+Qy+/8c80rs veHLOJgVv5vs4P4RdkyAfuXez7JnTVSPkrSMeu8hhMue3y6UxsX0vCl1txuYGEMHEBG6gL0wPtn1d 7HjDWlYFi7djxQ==; From: Janneke Nieuwenhuizen <janneke@gnu.org> Date: Tue, 19 Nov 2024 07:55:10 +0100 Message-ID: <de805c55fb5a6e5602a6cf388c7b6b0f272dd8a6.1731999203.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <cover.1731999202.git.janneke@gnu.org> References: <cover.1731999202.git.janneke@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> 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 |
Series |
Add support for x86_64-gnu, aka the 64bit Hurd.
|
expand
|
diff --git a/gnu/packages/m4.scm b/gnu/packages/m4.scm index 39b50b6800..081304db34 100644 --- a/gnu/packages/m4.scm +++ b/gnu/packages/m4.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> -;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,6 +64,13 @@ (define-public m4 (("(^| )main *\\(.*" all) (string-append all "{\n exit (77);//")))))) '()) + ,@(if (target-hurd64?) + '((add-after 'unpack 'patch-sigsegv + (lambda _ + ;; Stack overflow recovery does not compile + (substitute* "lib/sigsegv.in.h" + (("__GNU__") "__XGNU__"))))) + '()) (add-after 'unpack 'configure-shell (lambda* (#:key native-inputs inputs #:allow-other-keys) (let ((/bin/sh (search-input-file (or native-inputs inputs)