From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by sourceware.org (Postfix) with ESMTPS id 8F6043857350 for ; Thu, 2 Jun 2022 08:33:13 +0000 (GMT) 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 Received: from HP-Z230 (ak044095.dynamic.ppp.asahi-net.or.jp [119.150.44.95]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 2528WNN1023712; Thu, 2 Jun 2022 17:32:23 +0900 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 To: cygwin@cygwin.com Subject: Re: shebang env sh stopped working with coreutils-8.32-1 Message-Id: <20220602173224.900e97413bdeaaff98a2c202@nifty.ne.jp> In-Reply-To: References: <8239fa91-e061-7ae2-d077-8343b8c243d4@cornell.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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@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: Thu, 02 Jun 2022 08:33:17 -0000 On Wed, 1 Jun 2022 21:38:53 +0200 Daniel Jeliński wrote: > śr., 1 cze 2022 o 18:21 Ken Brown 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