From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CAGYHeyR6mJpcgAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 17:19:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yOraHOyR6mJNQgAAG6o9tA (envelope-from ) for ; Wed, 03 Aug 2022 17:19:08 +0200 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 0A5D22AE82 for ; Wed, 3 Aug 2022 17:19:07 +0200 (CEST) Received: from localhost ([::1]:41476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJG9K-0006co-SH for larch@yhetil.org; Wed, 03 Aug 2022 11:19:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJG9H-0006cd-3M for guix-patches@gnu.org; Wed, 03 Aug 2022 11:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJG9G-0001uS-RL for guix-patches@gnu.org; Wed, 03 Aug 2022 11:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJG9G-0005Nl-N2 for guix-patches@gnu.org; Wed, 03 Aug 2022 11:19:02 -0400 Subject: bug#56620: [PATCH] gnu: mingw: Update to 10.0.0. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Kaelyn Takata Cc: 56620-done@debbugs.gnu.org Mail-Followup-To: 56620@debbugs.gnu.org, ludo@gnu.org, kaelyn.alexi@protonmail.com Received: via spool by 56620-done@debbugs.gnu.org id=D56620.165953991620648 (code D ref 56620); Wed, 03 Aug 2022 15:19:02 +0000 Received: (at 56620-done) by debbugs.gnu.org; 3 Aug 2022 15:18:36 +0000 Received: from localhost ([127.0.0.1]:49745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJG8p-0005Mw-L0 for submit@debbugs.gnu.org; Wed, 03 Aug 2022 11:18:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJG8o-0005Mj-1m for 56620-done@debbugs.gnu.org; Wed, 03 Aug 2022 11:18:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJG8i-0001qZ-Pd; Wed, 03 Aug 2022 11:18:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ce7DShOLmnImjOo4cQjP9nCKcRQOS+fwdsP9ixM5deg=; b=lhaka6t9Dnv5Wt+QWRQ6 eG1q4dFg/NEeEVPtC6zWE+BZaBE02TOn4NH70zfCgcRoYC4YtiL2IH7K9UOHDIRP51101Vol1fu58 72BlvL5F/2pF+AJH9/rQx7QkVrMDFRe1qpgfLzZapiabaktJxh7dS6W0TjHvBxvlS/sr0g1VuQK/c ebWZk3zBHOoKbSnQawoUbL+Hnf65nn4jg7H3i5JJg64dlVxoCeIQmj03adTrr/Ugmb7fS2U8gd5IN 9eNmuahtidmuUGDPZWeY4B6540vM8wOl+CmwI8jVpnT7vesNUhBCVyiBhYrzWtN+wjk355c9Nd/O2 7giUd2nplnVXqw==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52008 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJG8i-0000Up-D1; Wed, 03 Aug 2022 11:18:28 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <268e4429435f2d3135d2df1fb0abba51ca1e8482.1658076669.git.kaelyn.alexi@protonmail.com> <33c7a38e52c69ec50514916ea86402aaffa7b698.1658170309.git.kaelyn.alexi@protonmail.com> Date: Wed, 03 Aug 2022 17:18:26 +0200 In-Reply-To: <33c7a38e52c69ec50514916ea86402aaffa7b698.1658170309.git.kaelyn.alexi@protonmail.com> (Kaelyn Takata's message of "Mon, 18 Jul 2022 18:52:19 +0000") Message-ID: <87o7x1s6d9.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659539948; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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=ce7DShOLmnImjOo4cQjP9nCKcRQOS+fwdsP9ixM5deg=; b=c1a/j25KwcANlhHhRqiW3As7bJpRvkwN1Wg2OilcRSJPI1aMxrk2EMZJT7STj0yzdMClyM i+3h2y2DvehNBU85SLIzw7ClUVFbIqLhcdA3DfDwD1768c5b0Mv4/pA2uQmuir1nplLg8T p4y1C+ItMgTLCq0llQnxXbMJLwzj5/tHvFKdXCcc0DCUJADVkd6uDyOJ0SRUEKv7263pK4 vF0cCRpJYk5FSjxvQ9qA6ePoSa13TdtRtY7dzAKkZ4EDhN52QWNPdzbCrCDmp/PF+meu7z jpm6+z/1oYT1ZD8wSLTjclK+YP3LCuQNr6IfOcFO6sXXj+PPDY1mqtHc1xuSrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659539948; a=rsa-sha256; cv=none; b=bPWpLmaXCzQ1QWC+tXfKkoswZKkF50pBzWDGiZiJFpqyJT7AX49W0+t67HRz/TLu2ATYyX O5kc3+vBwzVSLOX2i7y+AhRQkOEHh1Gnpq723R8Qcu0ogbg6OIwPy+Hgo/TnsJtyw3na1g fUuaSushsBRB1AKzUX8YPxBsxAB9OrBlmXHpInkA5sRyrV2QHOJsfkyr3CtjLS2dhi4CQ7 P7xzyD4uH81dbkB//8PUTOS7IntAoat1eaQJ+g0wA94jyPt2ihy3S3cffCvp7Nm3dh2QmG pLL1Msg5oxuWkDPiC+b4LUSnxN6ZyadyvkcbCFBkRyE9Aq9GwYc8FRDo2jrPlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lhaka6t9; 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" X-Migadu-Spam-Score: -4.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lhaka6t9; 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" X-Migadu-Queue-Id: 0A5D22AE82 X-Spam-Score: -4.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: DZWRLntHDoLO Hi, Kaelyn Takata skribis: > * gnu/packages/mingw.scm (mingw): Update to 10.0.0. > [arguments] Disable parallel building to avoid failures trying to access = empty > .a files. [...] > * gnu/packages/mingw.scm (mingw-w64-tools): Update to 10.0.0. Applied, thanks! As discussed on IRC, on master (before the upgrade), linking an executable fails: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 223 Aug 01 2022 00:30:24 (current) guix ab59155 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ab59155c5a38dda7efaceb47c7528578fcf0def4 $ guix build gzip --target=3Dx86_64-w64-mingw32 -n --log-file https://ci.guix.gnu.org/log/qsyn46vn7cvlhrmbds3666kmqp26as9q-gzip-1.10 $ wget -qO- https://ci.guix.gnu.org/log/qsyn46vn7cvlhrmbds3666kmqp26as9q-gz= ip-1.10 | gunzip | tail -20 /gnu/store/njkaba9vvqkali96xg47al7pcwjpx2w2-mingw-w64-x86_64-8.0.0/include/= string.h:228: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcat': /gnu/store/njkaba9vvqkali96xg47al7pcwjpx2w2-mingw-w64-x86_64-8.0.0/include/= string.h:234: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: lib/libgzip.a(openat-proc.o): in function `sprintf': /gnu/store/njkaba9vvqkali96xg47al7pcwjpx2w2-mingw-w64-x86_64-8.0.0/include/= stdio.h:372: undefined reference to `__chk_fail' x86_64-w64-mingw32-ld: lib/libgzip.a(vasnprintf.o): in function `sprintf': /gnu/store/njkaba9vvqkali96xg47al7pcwjpx2w2-mingw-w64-x86_64-8.0.0/include/= stdio.h:372: undefined reference to `__chk_fail' x86_64-w64-mingw32-ld: /gnu/store/njkaba9vvqkali96xg47al7pcwjpx2w2-mingw-w6= 4-x86_64-8.0.0/include/stdio.h:372: undefined reference to `__chk_fail' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1639: gzip.exe] Error 1 make[2]: Leaving directory '/tmp/guix-build-gzip-1.10.drv-0/gzip-1.10' make[1]: *** [Makefile:1768: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-gzip-1.10.drv-0/gzip-1.10' make: *** [Makefile:1549: all] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "16") exit-stat= us: 2 term-signal: #f stop-signal: #f>=20 phase `build' failed after 3.5 seconds command "make" "-j" "16" failed with status 2 builder for `/gnu/store/g573vakmnipxc8454x3aji51fy5gvvpr-gzip-1.10.drv' fai= led with exit code 1 @ build-failed /gnu/store/g573vakmnipxc8454x3aji51fy5gvvpr-gzip-1.10.drv - = 1 builder for `/gnu/store/g573vakmnipxc8454x3aji51fy5gvvpr-gzip-1.10.drv' f= ailed with exit code 1 --8<---------------cut here---------------end--------------->8--- The bug is still there after the upgrade: --8<---------------cut here---------------start------------->8--- CCLD gzip.exe x86_64-w64-mingw32-ld: gzip.o: in function `strcpy': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:228: undefined reference to `__memcpy_chk' x86_64-w64-mingw32-ld: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w6= 4-x86_64-10.0.0/include/string.h:228: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w6= 4-x86_64-10.0.0/include/string.h:228: undefined reference to `__memcpy_chk' x86_64-w64-mingw32-ld: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w6= 4-x86_64-10.0.0/include/string.h:228: undefined reference to `__memcpy_chk' x86_64-w64-mingw32-ld: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w6= 4-x86_64-10.0.0/include/string.h:228: undefined reference to `__stpcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcat': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:234: undefined reference to `__memcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcpy': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:228: undefined reference to `__stpcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcat': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:234: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcpy': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:228: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: gzip.o: in function `strcat': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /string.h:234: undefined reference to `__strcpy_chk' x86_64-w64-mingw32-ld: lib/libgzip.a(openat-proc.o): in function `sprintf': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /stdio.h:386: undefined reference to `__chk_fail' x86_64-w64-mingw32-ld: lib/libgzip.a(vasnprintf.o): in function `sprintf': /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /stdio.h:386: undefined reference to `__chk_fail' x86_64-w64-mingw32-ld: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w6= 4-x86_64-10.0.0/include/stdio.h:386: undefined reference to `__chk_fail' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1639: gzip.exe] Error 1 make[2]: Leaving directory '/tmp/guix-build-gzip-1.10.drv-0/gzip-1.10' --8<---------------cut here---------------end--------------->8--- So it=E2=80=99s not a regression, but certainly something we=E2=80=99ll hav= e to address to make cross-compilation to MinGW useful. Thanks, Ludo=E2=80=99.