From patchwork Tue Nov 12 16:25:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70286 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 B6CB227BBEA; Tue, 12 Nov 2024 16:30:15 +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=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 7EDFA27BBE2 for ; Tue, 12 Nov 2024 16:30:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtmM-0003cM-Gp; Tue, 12 Nov 2024 11:30:10 -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 1tAtmK-0003ZM-6F for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30: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 ) id 1tAtmJ-0005sO-RK for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:07 -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=fZ2Rz5Wxd2RTuDnKjPtE2xKFKrWgVr5eScEQbMMz/kHxcLZU7yi/49ERyUNMAwNDQHnIi80r9MFFs/cZJrJ8l3d3SRnr+zrf6hZUE2bLulN0TS7nUdTHINcDx74QBKGIabXJ3MjgM68xi3qtUrX11rKGnZj3mYPDwaykiGerCv73BJwxM/xcydHSSZJP+zCThva5OOMbEXRoY/Fz0B2pNmGT4AQ0Yx2h5pwHB1WtrrcxEAt6nq9isVpX7Im5/58YVHEb+QP0iCLXa2f203XzBIne9NEtrMT+0IhtUOxXBtgKKTagLfQYXLjIiw4AoBzZu4Upc6iZUDvByWce35FOcw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAtmJ-0000RM-Ji for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v2 08/40] gnu: elfutils: Fix build for 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2024 16:30:07 +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.17314289621133 (code B ref 74290); Tue, 12 Nov 2024 16:30:07 +0000 Received: (at 74290) by debbugs.gnu.org; 12 Nov 2024 16:29:22 +0000 Received: from localhost ([127.0.0.1]:39079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtlZ-0000Hy-Sw for submit@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtlR-0000G9-7Q for 74290@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:14 -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 1tAtjG-0005LB-7x; Tue, 12 Nov 2024 11:26:58 -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=jqOL6pgSPWBlWXZitwzg kf1haxnjMiRU41YRRWeZHtv65glF3saTBKv56UxaJBEvYl4eUACYQvfaYtewqLSqbixfNTWXvvq5x mwerIIL1XT0jR4XKtggetlcZ9Czd5ZKq+Iexq9GQqbjr8QYtaa6HkkA4szdTxvq7MoRnU05fR3tls POOhc/hFO/S51WcXdk4pSUezcRkDlb6xzchRqGlLYbSFRa5XnpXpAfpqK8CSbjF1+YlK/saG+kc/6 Sxg0MFeVvIDYOi3/JXbEeBdmwKpq4tcgeSFgCfaUBwnWEolZ60DMpu2vxttVqB2Q16nBtuLekh0NK 2lYqgWA0NFDZ5g==; From: Janneke Nieuwenhuizen Date: Tue, 12 Nov 2024 17:25:17 +0100 Message-ID: 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)