From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gHBzI/Os+WH1QQEAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 22:58:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2I3YIPOs+WFFQQEA9RJhRA (envelope-from ) for ; Tue, 01 Feb 2022 22:58:11 +0100 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 2752910924 for ; Tue, 1 Feb 2022 22:58:10 +0100 (CET) Received: from localhost ([::1]:42892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF1A9-0004qt-5T for larch@yhetil.org; Tue, 01 Feb 2022 16:58:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExNA-0000IP-8B for bug-guix@gnu.org; Tue, 01 Feb 2022 12:55:20 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nExMr-0004aW-Oo for bug-guix@gnu.org; Tue, 01 Feb 2022 12:55:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nExMr-00046b-Ok for bug-guix@gnu.org; Tue, 01 Feb 2022 12:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53426: mingw-w64-{x86_64, i686}-winpthreads broken after absorption of binutils-next Resent-From: Carl Dong Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Feb 2022 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53426 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , 53426@debbugs.gnu.org Received: via spool by 53426-submit@debbugs.gnu.org id=B53426.164373807715745 (code B ref 53426); Tue, 01 Feb 2022 17:55:01 +0000 Received: (at 53426) by debbugs.gnu.org; 1 Feb 2022 17:54:37 +0000 Received: from localhost ([127.0.0.1]:44011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nExMT-00045t-82 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 12:54:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nExMR-00045f-Va for 53426@debbugs.gnu.org; Tue, 01 Feb 2022 12:54:36 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4DF195C0159; Tue, 1 Feb 2022 12:54:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 01 Feb 2022 12:54:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=X89jG2OtO6TePbyviT/ZKfW4F05ZBe4Ov/I7Wv UDVtU=; b=0qTXJmHuV7RyghddUtnF9f2SK/w+apoSAjrwTV9XKmN+SJppcralPF aZYY0RnAE9wsvYiBR4rfQUNvMFVl/D57fwIeM6YIPs8Xpx2q1RnKWx7FXeaqnMKe jwhe9TAVkWXX8n7XP24WW8cvapjGXAX7J1nRO2Yz5ab7iPhyP6/77nnMtxO/OHML glH6TnoIeTPtXgxWJZOUwOYm4V87RXyksgWnlB4TEGsyuYrz3c2Dw3+gQuLQLvYv HqxXz30lxryX8Ftu9HzDELBcyVeTGrNUqzKa74lrgX4QDfPnNiKw1o9N/WzQmCmb 036oDNAr0LAvK2M/7q2sECE9imiroQBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=X89jG2OtO6TePbyvi T/ZKfW4F05ZBe4Ov/I7WvUDVtU=; b=d7T63SJ8APh7YCgrm5t2DhXmKjp791x4R nRXxL7srQqxNcTsHXYp10+rOFkxUV/KDZ7CvU/HTVJcmRpV9siPiinQ025fV+UYy J7VfdkTOiroeyz1GaBj2lfGbfoL+pI70c8PGIoApjsOVoiiYSQeqg07uSMFSgUKu 2RJdsZzNIskh+SV6FNSSXw+6xTELRil+UesuwPgekXEHC83S61FCVKfCECzXg2KQ GB20k3Kc2sZcaOfAl1F3o1hVq1xnTvtT+E4xYV2PotjVSvlzURy8s+HvEchcw6sY cDYOSQb/zGPAET+YOmDS+iXkoWmH3kdAdO2Xkh6F9R+9ebHVovLEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeefgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfgtggfuffhfvfgjkffosehgtdhmrehhtdejnecuhfhrohhmpeevrghrlhcu ffhonhhguceotghonhhtrggtthestggrrhhlughonhhgrdhmvgeqnecuggftrfgrthhtvg hrnhepueeftdeuheeivefgjeffvdekkeffjeehleeffedtvdetjeehvdeluedtfeffffet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghonh htrggtthestggrrhhlughonhhgrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Feb 2022 12:54:29 -0500 (EST) From: Carl Dong Content-Type: multipart/signed; boundary="Apple-Mail=_066AF32D-FDC2-4AD5-AA64-B62124929BCF"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Date: Tue, 1 Feb 2022 12:54:12 -0500 References: <5ec60e040300065c155dbf9e2653e6c44da6ef2e.camel@telenet.be> In-Reply-To: <5ec60e040300065c155dbf9e2653e6c44da6ef2e.camel@telenet.be> Message-Id: X-Mailer: Apple Mail (2.3693.60.0.1.1) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643752691; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=X89jG2OtO6TePbyviT/ZKfW4F05ZBe4Ov/I7WvUDVtU=; b=DyKDI31gGHTdYV06hfNUSi9AuZxEcD/J5Dku+QM6T5VhirjIuY7mFPudrw2ElPBEeAcliH lDfswoyV3/GwGnfc1JnlZRUyWooz0BONGiVrdnsJhQE4A9VTxyjcVmEHWIC9bGbgXN2mMX GAfsmY/2I5MmN9L/3fTZtxlE0p0n4dFBLg2EfFGTMQNjcL5w4L6B1kUZxU+ySpXjuMtl0d fWW5G2qN7Gz86ytXZGAnLj+ZBp70ncFZOl8bacgWVMDVs26UjeqxR8Ji5P4e9jAr8/MaU/ tk68dw9ek/eNYtc7W7yWAukYf9eGDKzjwOPUR0K6e+RTdIagZsVXCFiE6H61Mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643752691; a=rsa-sha256; cv=none; b=iX4DxdLs5UnQfrKGBw5J5DCUm6/Zv4mTkKaIiSCoGL70Ou1vLh/bNYaXq8iUU0pc3iiW34 BLn+QDkTmGeGEmx2JwLsPOAR+PtP+7XmH/inh+90MJkBC1+9aTnbGPeL9HaVheSO8tGzbj P0OgQFK3C+oRt6UaAPIpcKLBeVt0qFODQ4Ng6jYCM9nrDyCimVj/2NRwQbbEyG0PqtUCgO u2ZhkD/vo76BYVdZHQEom7vPSmU1/q5QfXG5H3WKadDp7f11V61YAXhT/V4cEJ4SOQcAm/ muP9jCb5xwYbxQWsNBSf7+zvDNDSlQjRrQkD2bg6Giq4Q35eeEO7Q1QEEiE/Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=carldong.me header.s=fm3 header.b=0qTXJmHu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=d7T63SJ8; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=carldong.me header.s=fm3 header.b=0qTXJmHu; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=d7T63SJ8; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2752910924 X-Spam-Score: -5.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: R1qJacHqMQwx --Apple-Mail=_066AF32D-FDC2-4AD5-AA64-B62124929BCF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I did some more exploration, and found that not only are the = mingw-w64-{x86_64, i686}-winpthreads packages broken, but any = --target=3Dx86_64-w64-mingw32 package: $ guix build --target=3Dx86_64-w64-mingw32 hello I have this patch which resolves the problem by simply disabling = compressed debug sections, but perhaps it=E2=80=99d also be worthwhile = to investigate the root cause... --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 78cbf871ac..397e4d4c1c 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -101,7 +101,8 @@ (define* (cross-binutils target #:optional (binutils = binutils)) = "ath9k-htc-firmware-binutils.patch"))) ((target-mingw? target) (package-with-extra-patches - binutils + (package-with-extra-configure-variable + binutils "--enable-compressed-debug-sections" "no") (search-patches "binutils-mingw-w64-timestamp.patch" = "binutils-mingw-w64-deterministic.patch"))) (else binutils)) --8<---------------cut here---------------end--------------->8--- Cheers, Carl Dong > On Jan 21, 2022, at 5:10 PM, Maxime Devos = wrote: >=20 > Carl Dong schreef op vr 21-01-2022 om 16:30 [-0500]: >> I=E2=80=99m wondering what the best course of action is to fix the = mingw-w64- >> {x86_64,i686}-winpthreads packages (e.g. just remove the configure >> flag for mingw-w64? Add that flag only for linux? Or something else?) >> and would love some help. >=20 > I would assume that it works for Linux, it also works for the Hurd, > so I would prefer something like >=20 > #$@(if (target-mingw?) '() '("--some-configuration...")) >=20 > above >=20 > #$@(if (target-linux?) '("--some-configuration...") '()) >=20 > Greetings, > Maxime. >=20 --Apple-Mail=_066AF32D-FDC2-4AD5-AA64-B62124929BCF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEECc3SW1JEo3Z49u6oDMUhUxl5kaUFAmH5c8QACgkQDMUhUxl5 kaVnfhAAkl6dHYLvZhZhpjEp/PHb2+KwuiyeA86cDGyOS7c4PHUrXbWvYbCeiKmT 6c4+vACwIpbI+BHDDqtDApd5OUa0uX5ia48Ze6MQZKhcOImOtvc/oxscivL/oLmW E7GLC08szWdwIuXbLIn/0Be1PR7mDP52MlCkvo9q540nzXeUS3v7lhDSpC6JRN+M VhfTzwzrDBXD47wWCbtmK4nKeGAosyP+HMF57/mrSMupgjrRNDl56BmsIr8iuM4f rSYkN5CrzLSNoiv7BCcgFMoXZdxEwQ6Ou0Yf/hQqdUiEU3vEwkjXez9H1C3EvhEc XQPwsspCCeCNLWT39r1E1bjfYxZU66IWK2aoqkdPVz2Tm01ZBjKuEydOJwOOFi+H 8HbGxoA4PwrtegaiiKCluc2up73ug41YyiCJ7r7BEH2f6rixiwawrP7SyWdeVfSR EmXE1o+8SJKNKRAHknjRE7HByJt3uzAzC9kANCMpuZvRRmgJAc83E/enAyDpvbF2 w+y7lWYqbukhTdrLZoWoVAICxFK9P0QMAxM3XMjQg7LAvMSUZ7wcdVOH76yuLavJ 71mH763YhQ+un+WFdTDyAB9KmjdtAwTCI4VJ0jFrly/0zszn4zAXy8raoFAiYwmB /GyEiAML+zk8pXxbJBITwQfZHsuOWRBI4sEgVI6WypcZRqhIOI8= =73S7 -----END PGP SIGNATURE----- --Apple-Mail=_066AF32D-FDC2-4AD5-AA64-B62124929BCF--