From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CMQiDL83PGdfXQAAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:01:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CMQiDL83PGdfXQAAe85BDQ (envelope-from ) for ; Tue, 19 Nov 2024 08:01:19 +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=T19QnWow; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mBH28XVL; 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=1731999679; a=rsa-sha256; cv=none; b=KVR6wu2AYxTxiTAIl2eT8Qx//9b6M3MDDx4xN3ZBqFD6TyZ8H7pC4KXyuh+ZN/28Th+Zfq bIwbu21nmKjdiVCQDGAh/bHziqEjaGADTLUvYumqQvsFTQTognfcmc7Rzz3MQQsIk65o1a DAqYw/QMVZEvbxxk+Rc0LJVWv59wipRehBps+G5D8JHpT03CPzTsjxRuM5V5yPLzDp36ez wh6Qh/A0T7uNRpwvZJpNrqLEFVYzL+zp2qBtxXh9UckC2WU5ZG7G/Lw+Zre91BJ88i+oty uLk8AMwlWX1hcWWi1zzPhuhc1GphBm0vnmy17GfN22HiRKG0KXJIQimN5G2kMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=T19QnWow; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mBH28XVL; 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=1731999679; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=a7NmOy2KfV6cY0d2ca/CXJoA0Tsq6JjKypPbOUHOUhw=; b=XNEDWgQTj2N/HHUdeS4vyfWVdxVrvQ4fwurAfMvteSUcBydM5pziQBdmYmtyIM9F3JrOft sxeeeT0weMUsAoqBwcsXMElvZGX6lCb9O41Uv5Fe03fB5yXqMKGmwU8i7rM5W9jmb7EzVh xJFdnS7/FL97myKI7EeTkNDsbj20/eMl11LVBPHs5vjNJV13IAa9/MbpUFgnzO5NkGCHK8 0ilMPWCEsILZ2yY+YPHjf5TNkIX8GyhcIQvClKww9deXZ4tsIlE18ebas0ENJAAX77WXxs VtXQCHGJB6LooS8bSk5K/+vv+T/MZ/sr8OZC+Dp52IPmTP45GnfgKdPbWDZ2pg== 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 0EAD78990A for ; Tue, 19 Nov 2024 08:01:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDICf-0008Le-1h; Tue, 19 Nov 2024 01:59: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 1tDICd-0008KN-Ci for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:11 -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 1tDICc-0004JE-Pk; Tue, 19 Nov 2024 01:59:11 -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=a7NmOy2KfV6cY0d2ca/CXJoA0Tsq6JjKypPbOUHOUhw=; b=T19QnWowoXRbHn6zOce4PtrHA8/fsqeNXlM6LX2+S7ghsb4odHDN+wZiTPdUAHfl29IWiwveoq/2u15g7EtXcEaUveoxY+ZlkCt3uZFxpH68CazV33kqBlzwiX05Ry5eSUExu+WPiFrTt76S3gkVqG6gd+jcEqrMHoj/8ShzLrCRyVCa8xZ1HyIB0e3ES0qLPYGjVvVFifiqtV1I/CdahGkcVYmmzjtmBIfhbVY/82d3ciU7E6pzyqkaI9bgaH1OgmUAf/L15brdJ4dsDMMolpNnnrWIB0T6+P2ltNCWgnh25pkEvPn/o8HymHZhW0es8r94XuX+a31iP0L7u0KEfA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDICc-0005GI-JO; Tue, 19 Nov 2024 01:59:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 11/51] gnu: libstdc++: Support the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 06:59:10 +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 Cc: Andreas Enge , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Andreas Enge , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173199950419745 (code B ref 74290); Tue, 19 Nov 2024 06:59:10 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:58:24 +0000 Received: from localhost ([127.0.0.1]:40463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBs-00058H-C1 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBj-00055s-A0 for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:15 -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 1tDI9Y-0003xe-Bh; Tue, 19 Nov 2024 01:56:00 -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=a7NmOy2KfV6cY0d2ca/CXJoA0Tsq6JjKypPbOUHOUhw=; b=mBH28XVLbbqosoCtFVnj h3kCDTgw8yb2A2Wym9uZQfRs2aAuPuG53/iEEepgf9QoXU7gUorbYZ3rbCtfpEx7++oF13tC5TlKF 270OWMDpVO4DZwRw9qdke9QxheEW3sOhejl7HO1Q6heA7SSgD+5aeGvNfVi9C1maoLB9EyPmr3ev0 o++Z2yhImzLpPB9BsLSiM39D+6dhdKgjg0AmPhV2xZqYum7+IyK5CEhezHzPO7gvS6Sz7OOUHXrd6 V1bAdA7uzqyRXfPKWWxBJuQSMcoVWD5rQdVZwR4zOi111OtwOhjBtbVuEfn30g9/fStdxuCMgkNQH vHROxVxUf2Py9g==; From: Janneke Nieuwenhuizen Date: Tue, 19 Nov 2024 07:54:41 +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-Spam-Score: -0.02 X-Spam-Score: -0.02 X-Migadu-Queue-Id: 0EAD78990A X-Migadu-Scanner: mx12.migadu.com X-TUID: XCRLcQQ868t3 * gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the 64bit Hurd, add stage patch-hurd64. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 --- gnu/packages/gcc.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index c9e475b676..64ba37fd69 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -1024,7 +1024,15 @@ (define-public (make-libstdc++ gcc) (("/lib64") "/lib"))))) (add-before 'configure 'chdir (lambda _ - (chdir "libstdc++-v3")))) + (chdir "libstdc++-v3"))) + #$@(let ((version (package-version gcc))) + (if (target-hurd64?) + #~((add-after 'unpack 'patch-hurd64 + (lambda _ + (substitute* "libstdc++-v3/src/c++20/tzdb.cc" + (("#if ! defined _GLIBCXX_ZONEINFO_DIR") + "#if __GNU__ || ! defined _GLIBCXX_ZONEINFO_DIR"))))) + '()))) #:configure-flags '`("--disable-libstdcxx-pch" ,(string-append "--with-gxx-include-dir=" -- 2.46.0