delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/18/06:58:26

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 528CD393C865
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1618743499;
bh=GhUGCGhQCJ8nVgIt6YH89wJZnoxtiI3aoAgyqSzNjOc=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=sTVWvtdftDF81bcjPYP5p1mJ5mlLXXEFOqnW35cv/WNO3aA8InSMDYZrZ5tALhRrN
FHYp7CcbZ0l4/uG4dgNyYwL1KXuaVe6fLy/53fMHCqfgC7ovalAQMtV2o6lsGTZmMg
HjE6xyfW5tfX/f19wcuFh8tqa2H4xU3D1urRKWHs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F97A3938C11
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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: <eaeced0caffe43f296b42374dd344c06@metastack.com>
References: <000b01d732a9$c15bf510$4413df30$@cl.cam.ac.uk>
<20210417213714 DOT 2a3dad50885c85f4faf4e1b6 AT nifty DOT ne DOT jp>
In-Reply-To: <20210417213714.2a3dad50885c85f4faf4e1b6@nifty.ne.jp>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.16.0.125]
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 <abuse-report AT smtp2go DOT com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: David Allsopp via Cygwin <cygwin AT cygwin DOT com>
Reply-To: David Allsopp <David DOT Allsopp AT cl DOT cam DOT ac DOT uk>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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=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.

Fantastic, thanks - I'll keep an eye on cygwin-patches and test.


David
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019