From patchwork Sun Nov 10 10:38:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70173 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 8339A27BBE2; Sun, 10 Nov 2024 10:39:46 +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 autolearn=ham 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 3896027BBE2 for ; Sun, 10 Nov 2024 10:39:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tA5Lb-00008h-72; Sun, 10 Nov 2024 05:39:11 -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 ) id 1tA5LZ-0008VP-It for guix-patches@gnu.org; Sun, 10 Nov 2024 05:39:09 -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 ) id 1tA5LZ-0007tQ-AI for guix-patches@gnu.org; Sun, 10 Nov 2024 05:39:09 -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=cF6ikUut8co2WzQ8hrEHqPCHeXj3NYg53KJsM6rMXCM=; b=Vkg0I6n1+dO3BDrMMLJKAQ5PKSld1oEZSw/Oh9NlG5UffNeP9wwbnB9DAWgK6ffx7c/Tg5ZwL5vG2pOgw13sLSl6SnRi467C/XqSjy1OcmuPFN6zk9jyCOqAVMp/ohq4tonvs7g5iUKw+ndLaUEI/7y8kpNrrapgTf0mkv4hYhWut48Q/VVcCDc+0YBTIaEbAQ1AKELGqhaGKQcwZYY0ehbDI3qNpv6P4Id/hp92qGifoXRl5KeatTWGVO/PNm/TZdu7xLV2K2cW3tD7vysAmpP2zR4sgqCKlCvVl9xkfaYvjrdh/c9eU4nSGv8OlBvFluNkgZ8aMghPxkhToQDv1A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tA5LZ-0002be-3c for guix-patches@gnu.org; Sun, 10 Nov 2024 05:39:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH 08/31] gnu: elfutils: Fix build for 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Nov 2024 10:39:08 +0000 Resent-Message-ID: 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.17312351469958 (code B ref 74290); Sun, 10 Nov 2024 10:39:08 +0000 Received: (at 74290) by debbugs.gnu.org; 10 Nov 2024 10:39:06 +0000 Received: from localhost ([127.0.0.1]:55708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5LU-0002aE-Rw for submit@debbugs.gnu.org; Sun, 10 Nov 2024 05:39:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5LL-0002XA-03 for 74290@debbugs.gnu.org; Sun, 10 Nov 2024 05:38:55 -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 ) id 1tA5LF-0007nl-Pv; Sun, 10 Nov 2024 05:38:49 -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=cF6ikUut8co2WzQ8hrEHqPCHeXj3NYg53KJsM6rMXCM=; b=IPb8hafcbYQo0pmn1P4u SnlFFngfZRPruy3jy/SbIhUfX7bfJLo/c6A13dQ3dUG8epPVPvj1ouPO/1gzIAvumsGLD2MelQ+2P jF655nlf548ZrOlYb+RoooZ2HmuoZSppEBmjq/cKytvAIoywFGcRdZZVo4ISzHIeXmPVmEVl6AMZz xuzkCQzsglNBiMJMgX0eBrKRlljfHTg1BXESKj/9A5J+0aqUcuOt7iNTBvKEbLcLnStON1Q9LFbDz n4pNfh5CtdxFErDRfNxNJO/J5OALJHndjh/Csudjt5WoViOyMTuwE7OJK7+T/Z/i6bcWJL6Ty3MZK 0aNNisLTNaMGIA==; From: Janneke Nieuwenhuizen Date: Sun, 10 Nov 2024 11:38:04 +0100 Message-ID: <3112163cbeb58f04bff54368364741ae8a16cdcc.1731232753.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: , 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 * gnu/packages/elf.scm (elfutils)[arguments]: When building for a 64bit Hurd, set #:make-flags. Change-Id: I00abf360a7de5b1f78c1e912f0dcf27c62c1af68 --- gnu/packages/elf.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 119f8d13dd..81a753a483 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2021 Leo Le Bouter ;;; Copyright © 2021 Maxime Devos -;;; Copyright © 2023 Janneke Nieuwenhuizen +;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -86,6 +86,10 @@ (define-public elfutils "--disable-libdebuginfod" "--disable-debuginfod") + ,@(if (target-hurd64?) + '(#:make-flags '("core-file_no_Werror=yes")) + '()) + ;; Disable tests on MIPS and PowerPC (without changing ;; the arguments list on other systems). ,@(if (any (cute string-prefix? <> (or (%current-target-system)