From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e2i632.smtp2go.com (e2i632.smtp2go.com [103.2.142.120]) by sourceware.org (Postfix) with ESMTPS id 4F97A3938C11 for ; Sun, 18 Apr 2021 10:58:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F97A3938C11 Received: from [10.176.58.103] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-S2G) (envelope-from ) id 1lY57x-qt4KQz-Cj for cygwin@cygwin.com; Sun, 18 Apr 2021 10:58:09 +0000 Received: from [10.62.31.23] (helo=romulus.metastack.com) by smtpcorp.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92-S2G) (envelope-from ) id 1lY57x-9EFKsV-5C for cygwin@cygwin.com; Sun, 18 Apr 2021 10:58:09 +0000 Received: from remus.metastack.local (usr233-bra.static.cable.virginmedia.com [62.31.23.243] (may be forged)) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id 13IAw6qX030210 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 18 Apr 2021 11:58:06 +0100 Received: from Hermes.metastack.local (172.16.0.8) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sun, 18 Apr 2021 11:58:32 +0100 Received: from Hermes.metastack.local ([fe80::210d:d258:cd04:7b5a]) by Hermes.metastack.local ([fe80::210d:d258:cd04:7b5a%3]) with mapi id 15.01.2176.012; Sun, 18 Apr 2021 11:58:32 +0100 From: David Allsopp To: "cygwin@cygwin.com" Subject: RE: Regression in Cygwin 3.2.0 Thread-Topic: Regression in Cygwin 3.2.0 Thread-Index: AdcyqcCG5s2HGI90S9SHr7J6oEC2WAA1EJ4AADDfxaA= Date: Sun, 18 Apr 2021 10:58:32 +0000 Message-ID: References: <000b01d732a9$c15bf510$4413df30$@cl.cam.ac.uk> <20210417213714.2a3dad50885c85f4faf4e1b6@nifty.ne.jp> In-Reply-To: <20210417213714.2a3dad50885c85f4faf4e1b6@nifty.ne.jp> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.0.125] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.65 on 62.31.23.242 X-Smtpcorp-Track: 1_Y57x9EFKsV5C.fKDjdbLXA5gl2 Feedback-ID: 614951m:614951apMmpqs:614951s6I-Ahd1fe X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS, KAM_NUMSUBJECT, SPF_HELO_PASS, 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: Sun, 18 Apr 2021 10:58:17 -0000 Takashi Yano wrote: > 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=3Dx86_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? >=20 > 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. >=20 > I will submit the patches fixing this issue. Fantastic, thanks - I'll keep an eye on cygwin-patches and test. David