From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id 81E783894C00 for ; Sat, 17 Apr 2021 12:37:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81E783894C00 Received: from Express5800-S70 (v050190.dynamic.ppp.asahi-net.or.jp [124.155.50.190]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 13HCbCpb022020; Sat, 17 Apr 2021 21:37:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 13HCbCpb022020 X-Nifty-SrcIP: [124.155.50.190] Date: Sat, 17 Apr 2021 21:37:14 +0900 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Regression in Cygwin 3.2.0 Message-Id: <20210417213714.2a3dad50885c85f4faf4e1b6@nifty.ne.jp> In-Reply-To: <000b01d732a9$c15bf510$4413df30$@cl.cam.ac.uk> References: <000b01d732a9$c15bf510$4413df30$@cl.cam.ac.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2021 12:37:43 -0000 On Fri, 16 Apr 2021 11:17:50 +0100 David Allsopp wrote: > I'm unable to build OCaml using the mingw-w64 compilers with Cygwin 3.2.0. > Windows 10.0.19042.928 (and tried on three different machines so far) > > Repro: > > - Fresh Cygwin64 installation with make, libiconv, mingw64-x86_64-gcc-core > and git added; fire up mintty > - git clone --depth 1 --recursive https://github.com/ocaml/ocaml > - cd ocaml && ./configure --host=x86_64-w64-mingw32 && make -j8 flexdll && > make -j8 world.opt > > This is consistently hanging with Cygwin 3.2.0 and seems possibly to have > something to do with linking (the creation of runtime/ocamlrun.exe and > stdlib/camlheader, which is also an executable, seem to be part of the > problem). > > It can be immediately fixed by downgrading to Cygwin 3.1.7, cleaning the > tree and repeating the build. > > I'm of course very happy to try to reduce this to a smaller repro case, but > is there an obvious culprit in Cygwin 3.2.0 to check before I do? Thanks for the report. I looked into this problem and found that the caused is the combination of some race issues for non-cygwin processes in pty and console code. I will submit the patches fixing this issue. -- Takashi Yano