delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 57FLXsYY3102714 |
Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 57FLXsYY3102714 |
Authentication-Results: | delorie.com; |
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=uvRyllm3 | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 47563385840B |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1755293632; | |
bh=sSKU4V7q1yFSWAJVrzhLLwIi9JQH6+pWsjMWwj2TScU=; | |
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
From; | |
b=uvRyllm3CsqZfqelEkihEcGy/MJFYiFl5e2irGbSc6iYHhJDru/Pl3KfKfjsCZnRt | |
OxuNAgbCPezyIZ26fOfYYx1hn71D37miOG4Ib0uoS2gk4eOtpkebbn20fNyDWNZ5Wd | |
zXeZYA3ah4M7bFynxwAL7+ceod8yj+Yj+gsWj4UQ= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 8C5C83858D20 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 8C5C83858D20 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755293570; cv=none; |
b=ntidtottOi5Bq25/tjFo8NO2W4xhWq594X+gddchiE8Ff1veovW1iWLilv4v+i5PHf8GMjC6pjqctGt802XiH6wRiRzz50G2PWk0BrEVxHFvpUXklGtLF29hRWyKmYU0NSss0lqtwUqSV3Bq9oENnM2Wpq2nMdpr2pxdEFO2FbM= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1755293570; c=relaxed/simple; | |
bh=+PkoQyqV/9zbEqGEdmjPkPYOH75U49W9Mddw+HfCKN8=; | |
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; | |
b=NQ8TuIk4t9izjeA9VbR6htCd0tprq3JxhEYfXFN6QHpEZnS4ikcX5DDxW92Fd+TaAJsNPDU18570oaSonTyeEEwhWsCMWMfYmS9u2XQY3j+72Wgq+W8LoUrh4mRrnwJO5jMTDzpFEjWn3YOvWmKRI5RWFdARlUjZG67inpM9H0w= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 8C5C83858D20 |
Date: | Sat, 16 Aug 2025 06:32:45 +0900 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Suspicious commit dated 'Sat Jul 19 23:49:26 2025 +0900' |
Message-Id: | <20250816063245.23b538b41befef275f37f484@nifty.ne.jp> |
In-Reply-To: | <20250815215842.d0f48a86d3bc251798a28a2b@nifty.ne.jp> |
References: | <03D1D669-A7CF-40C3-A671-EEAA20A31448 AT Denis-Excoffier DOT org> |
<533DB209-713C-4580-9575-F7C4DAD43FBB AT Denis-Excoffier DOT org> | |
<20250815215842 DOT d0f48a86d3bc251798a28a2b AT nifty DOT ne DOT jp> | |
X-Mailer: | Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) |
Mime-Version: | 1.0 |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Takashi Yano via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Fri, 15 Aug 2025 21:58:42 +0900 Takashi Yano wrote: > On Wed, 13 Aug 2025 20:44:50 +0200 > Denis Excoffier wrote: > > > > > On 2025-08-12, 19:33, Denis Excoffier wrote: > > > > > > Hello, > > > > > > Today i was using cygwin-3.7.0-0.266$B!D(B (found under /x86_64/release/cygwin, installed also the corresponding cygwin-doc and cygwin-devel) > > > and built the new GCC 15.2.0. Then i built many (about 100) GNU or not-so-GNU software with no errors at all until i found in tcl-9.0.2 > > > that GCC returns with status 2 (i.e. not 0, not 1, not 4) for compilation of tclStubLib.o (and compilation fails). Similarly, same > > > return code (2) with fastcwd.o (and others, fastcwd is the first one) under winsup/cygwin/x86_64. > > > > > > Same with GCC 15.1.0. But this was surely not the case when i installed GCC 15.1.0 in April. > > > Same with cygwin-3.7.0-0.277$B!D(B (the more recent one). > > > > > > But not the same with cygwin-3.7.0-0.124... that i fetched on the 6th of June. In this case, compilation is ok (i checked with tcl only, not fastcwd.o). > > > > > > Then i started to bisect between cygwin-3.7.0-0.124$B!D(B and cygwin-3.7.0-0.277$B!D(B > > > > > > Unfortunately, cygwin-3.7.0 revisions from -124 to -246 are gone! > > > > > > Please don$B!G(Bt remove cygwin test releases too early. > > > > Well, i$B!G(Bm lucky since cygwin-3.7.0-0.247 does not show up the problem (which is: GCC returns sometimes with $status=2, e.g. in tcl-9.0.2 and for cygwin sources). > > > > After bisection, it appears that the problem can be located between cygwin-3.7.0-250$B!D(B and cygwin-3.7.0-256. > > Three commits there on the trunk (and three on the branch): > > > > [newlib-cygwin] Cygwin: cygheap: Add lock()/unlock() method Takashi Yano > > [newlib-cygwin] Cygwin: spawn: Lock cygheap from refresh_cygheap() until child_copy() Takashi Yano > > [newlib-cygwin] Cygwin: spawn: Make system() thread-safe Takashi Yano > > > > The third one seems promising. Indeed: > > - i install cygwin1.dll from cygwin-3.7.0-0.250 > > - i build cygwin-3.7.0-0.277 with the commit 'Cygwin: spawn: Make system() thread-safe$B!G(B reverted. It builds. > > - i install cygwin1.dll from the newly built cygwin-3.7.0-277 (again with commit reverted) > > - i build cygwin-3.7.0-0.277 with the commit reverted. Now it builds without problem. > > > > Similary, tcl (see above) no longer fails to build. The return code 2 from GCC seems gone. > > > > Some additional information: under W10, no such difficulties. The problem seems to arise only with W11 (CYGWIN_NT-10.0-26100). > > > > Please someone have a look into this commit. Sorry not being able to do it myself. Hope this however helps. > > > > Last remark: i didn$B!G(Bt try with the regular GCC from the cygwin distribution; and perhaps something is missing in my GCC 15 build configuration. > > > > I could not reproduce the issue. > > I followed the following steps. > > 1) wget http://prdownloads.sourceforge.net/tcl/tcl9.0.2-src.tar.gz > 2) tar xf tcl9.0.2-src.tar.gz > 3) cd tcl9.0.2/unix > 4) ./configure && make -j8 > > tcl 9.0.2 was successfully built. > > I'm using cygwin 3.7.0-0.277.g45f9b4841373.x86_64 (Test) and > gcc 15.1.1+20250726-0.1 (Test) on windows 11. > > I also tested with gcc 16.0.0+20250727-0.1 (Test) and the result > is the same. > > Could you please confirm the issue happens with cygwin gcc package? I could reproduce the issue and confirmed the issue occurs even with gcc 13.4.0 (cygwin package) on Windows 11. I looked into the issue and found the cause. I'll submit a patch for the issue. Thanks for finding this issue. -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |