delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/06/02/04:33:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8F6043857350
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 2528WNN1023712
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1654158743;
bh=8/g6PCikGayXq63l9KEN0B2fczXpuxtplWftoB7Nw9A=;
h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
b=RvAs0cApTFtdJBYzglnVTDeRrVDBKb6wNrYYeU+rFe3bDs5/K3xohnf5yVn3mnZuV
jnSjuGVGAE3BXmwMInDs7lIAnNYfM/29jbAyVknA/sbO/y6+2oORhOMn3FM5jnSSzA
pikZxEUmFN34QjPd2tu3k5Z0BcfEzsJdM4ORltpJga4iEn+xpAH69HUF3/RSp8AQtP
wwKKmBFqZuH/u3aGBKwRTHnxiRaxDhjAwJ9cisBpyBk68LQiNxq2rT5VhwlJdJ8tkB
p/pOhanoFoG2gz+oYwFtJ6Y1WO6LMp98dyoCjDsgmTx94SpkgAEZEHqgpIu4f4owHK
CZMfOlwi3JYPw==
X-Nifty-SrcIP: [119.150.44.95]
Date: Thu, 2 Jun 2022 17:32:24 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: shebang env sh stopped working with coreutils-8.32-1
Message-Id: <20220602173224.900e97413bdeaaff98a2c202@nifty.ne.jp>
In-Reply-To: <CAMrH03LAR_kjDCxBstS39MGgKsr55q4v42cx5oegy=1-5Mycyg@mail.gmail.com>
References: <CAMrH03L5B==+Ad6tHCgaQ2zxGnEMzzBMmbdpS78h9qeVxFmP3g AT mail DOT gmail DOT com>
<da6669b3-40c4-67b1-f883-8f310febdd2e AT cornell DOT edu>
<CAMrH03LbwFMvmsONC4_mswRwc+0+MYpuJRkfR-GUK6HmMcE2iQ AT mail DOT gmail DOT com>
<8239fa91-e061-7ae2-d077-8343b8c243d4 AT cornell DOT edu>
<CAMrH03LAR_kjDCxBstS39MGgKsr55q4v42cx5oegy=1-5Mycyg AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.8 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,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-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>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2528XZLO000996

On Wed, 1 Jun 2022 21:38:53 +0200
Daniel Jeliński wrote:
> śr., 1 cze 2022 o 18:21 Ken Brown <kbrown AT cornell DOT edu> napisał(a):
> > The original report on that issue
> > (https://cygwin.com/pipermail/cygwin/2022-March/251095.html) described it as
> > long-standing.  Are you saying that it got worse with cygwin-3.3.x?  That would
> > be disappointing, because we overhauled the internal implementation of pipes in
> > cygwin-3.3.0.
> 
> Yessir. I'm also using Cygwin to build OpenJDK. With Cygwin 3.2.0, the
> build starts with 8 threads and usually loses no more than 1-2 tokens;
> with 3.3.5 the build either finishes with a single token, or segfaults
> after a few seconds.
> FWIW, I haven't seen any problems with single-threaded builds.

How can we reproduce the losing jobserver token issue?

I tried the following steps, however, no such messages appeared.

1) git clone https://git.openjdk.java.net/jdk/
2) cd jdk
3) export TEMP=/tmp
4) bash configure
5) make images

The summary of the configuration is as follows:

Configuration summary:
* Name:           windows-x86_64-server-release
* Debug level:    release
* HS debug level: product
* JVM variants:   server
* JVM features:   server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'
* OpenJDK target: OS: windows, CPU architecture: x86, address length: 64
* Version string: 19-internal-adhoc.yano.jdk (19-internal)
* Source date:    Determined at build time

Tools summary:
* Environment:    cygwin version 3.3.5-341.x86_64, 2022-05-13 12:27 UTC; windows version 10.0.19044.1706; prefix "/cygdrive"; root "C:\cygwin64"
* Boot JDK:       java version "18" 2022-03-22 Java(TM) SE Runtime Environment (build 18+36-2087) Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing) (at /cygdrive/c/progra~1/java/jdk-18)
* Toolchain:      microsoft (Microsoft Visual Studio 2022)
* C Compiler:     Version 19.32.31329 (at /cygdrive/c/progra~1/micros~1/2022/commun~1/vc/tools/msvc/1432~1.313/bin/hostx86/x64/cl.exe)
* C++ Compiler:   Version 19.32.31329 (at /cygdrive/c/progra~1/micros~1/2022/commun~1/vc/tools/msvc/1432~1.313/bin/hostx86/x64/cl.exe)

Build performance summary:
* Build jobs:     8
* Memory limit:   16136 MB


$ cygcheck -c autoconf make zip unzip
Cygwin Package Information
Package              Version        Status
autoconf             15-1           OK
make                 4.3-1          OK
unzip                6.0-17         OK
zip                  3.0-12         OK

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

- Raw text -


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