From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2D1iKIXmQmehaQEAqHPOHw:P1 (envelope-from ) for ; Sun, 24 Nov 2024 08:40:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2D1iKIXmQmehaQEAqHPOHw (envelope-from ) for ; Sun, 24 Nov 2024 09:40:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aTMs8xEw; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=J+uoFIPN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732437637; a=rsa-sha256; cv=none; b=UvuBPBDzbU1iSsbXfrzgIw5Pq15Mo1cwyjljpD7AW82KIs0MVxrM6tjZmYomLj9MSPdSeq pR+Au7cCpbhTD9XJBViSXCXzYMR7c6Bb3m7GLSN+P3Ht6/NBzo7I1QoxmR5buZfsG/rGre QJLKQfO7WFnqeS2nkfDFRNgE2rdLxx+8VymMM7iwFWhxbh/JAfiRPTJ5IjbmxMefsuHPIt QoR5uP9kbkVDOSWUfrFFVKem6wxVhW0yPBXCEzVyB7jf8Mav3eDmbMtFeu8kP7wwqntuvQ 11Qlr3kbAz2fDBOM9yD9nfngwdk9BF/k4dsq0JCNuw+zSz5LvIOv+lKgNLeMwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aTMs8xEw; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=J+uoFIPN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732437637; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cCAl94rsMNTlvu6NprBvKee9APP2XEpDFhvQ0GdiLAg=; b=KxdL8T//Zr5VCSsGIiB3f11TY5G+pV+LQSy04StxbAjMcisr582IGei84eCrvLVmdQLRmf bGGGL6Dk9tDlV27p2ndJ2iXecPSqXhlghJwGgLtBh4LOEVqJkmItWGYXYqYypAA/rPaNOJ 7IcFUku9SXrRn4J9ZcenxzSdmiZLX+hI8vuriObgvyO5gFdLj1FDQ5uvagKoanX0WLRG+/ 5t58kNbR1+9lREo0E5vHXvvFbmAeojZP52J4N+zLwvOU+dmK4TmXHTTbP7dVgczInZ9rMK v/i99dwKd8oRO3jUbQxtD21v0FFdRsvkzqA89gwpul0ynvW+vw7YrIxL3cyBnQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 564247955E for ; Sun, 24 Nov 2024 09:40:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF7UX-0000Ez-49; Sun, 24 Nov 2024 02:57:13 -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 1tF7US-0000Cb-Ji for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57: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 1tF7US-0002Ku-BV for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57: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=cCAl94rsMNTlvu6NprBvKee9APP2XEpDFhvQ0GdiLAg=; b=aTMs8xEw0CGYr9VygJbmVodVKiDj4X0opF942qlq6B7S2n00y4/CjGRfMvFMBjzphEa4lng9nJ43UfU59oa/INpuPk6Qm1MqfeW67MCcCeUXnfpmWmVQ/t33knwiUaquvaFOwXIlDc30tS5pBI5xxiyB06y1hYtZJ6D1z1yZWGo7deYdPYf0yWkMkFLuNcrkjfND1DOY1E3cqYVG//kKINcJbyvOatBLgX3QfZa6hZFBIW927aUTPypfbv68dk7JM16cUBZ6Ku+N0YBlWzsVETC/fluFAAE/UptlW5YZVWFE+4pJsKF4vjgIarUa2eTM2b1f5rweKf0HyTJW3dVOew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF7US-0004gU-5r for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v4 14/58] gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 07:57: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.173243497817528 (code B ref 74290); Sun, 24 Nov 2024 07:57:08 +0000 Received: (at 74290) by debbugs.gnu.org; 24 Nov 2024 07:56:18 +0000 Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7Td-0004YU-Jg for submit@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7TV-0004Vg-6q for 74290@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:09 -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 1tF7TQ-0001wm-0T; Sun, 24 Nov 2024 02:56:04 -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=cCAl94rsMNTlvu6NprBvKee9APP2XEpDFhvQ0GdiLAg=; b=J+uoFIPNvQaBXIErmGgZ hJqIXzFAHn6S/5XX6J843qVCY5CbrP49Q9yJlHNCBaHbTPyclMbR9GJrKd9Tytf9tbaRioLNO2iAL YT8X7P6kxI3nWc8K/DvR+0a3ukqZvG5THLeB1BpecToUUepTDYOfqe+xO/fZV3DY3uMHOGrm7dRwH ldzbH59M+3wf3l7UhteNRjQibyCtxYqSpWZ+3H2Se8pzmF9X/sHRLkRXiyMsqHnw2dxFTw6mhIKIi Phu4xPCEFSb0aRfpI2O4xEbTGqPZ7BC6Uip/m1jAEnNBclS0mQmYqSMlwuj/sWEcnJ5grAWF6nIK8 8dvGWiqzHHQk5Q==; From: Janneke Nieuwenhuizen Date: Sun, 24 Nov 2024 08:54:37 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 564247955E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.17 X-Spam-Score: -7.17 X-TUID: uPqiiZqeP9Vs * gnu/packages/version-control.scm (git-minimal)[arguments]: When building for the 64bit Hurd, or cross-compiling, use "-Wno-implicit-function-declaration" in #:make-flags. Use target-hurd? instead of comparing with "i586-pc-gnu" in "use-host-uname_S" phase. Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14 --- gnu/packages/version-control.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index c892a83a98..ca77b485ad 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -296,7 +296,10 @@ (define-public git-minimal ;; By default 'make install' creates hard links for ;; things in 'libexec/git-core', which leads to huge ;; nars; see . - "NO_INSTALL_HARDLINKS=indeed") + "NO_INSTALL_HARDLINKS=indeed" + #$@(if (or (target-hurd64?) (%current-target-system)) + #~("-Wno-implicit-function-declaration") + #~())) #:phases #~(modify-phases %standard-phases #$@(if (%current-target-system) @@ -305,7 +308,7 @@ (define-public git-minimal (lambda _ (substitute* "config.mak.uname" (("uname_S := .*" all) - (if (equal? #$(%current-target-system) "i586-pc-gnu") + (if #$(target-hurd?) "uname_S := GNU\n" all)))))) ;; We do not have a full bash when cross-compiling. -- 2.46.0