X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A998398B413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1618663064; bh=RhkafYvLzz2eETrfxvlrTwDH/XgsziNUV4FLdKoz+0Y=; 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=Dc6tFrTgp84A5Xm4S4T+t2gQhRMUdUklS6eue/2Yh40WPEHT5GamxoMUgSmB/JSqb d9ZM1AAHLUnCCt9L+VdmaSxuqIOQxPlVcse1pGnZBGxbtCzp5XYD6fblEuMyD53D7v Wl+eIIY8THVQHX6LZsi//YghKQH6jPu0Eq4R2Mmc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81E783894C00 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 To: cygwin AT cygwin DOT 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 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 AT cygwin DOT 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: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 -- 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