Re: GNU make losing jobserver tokens

2022-04-30 Thread Takashi Yano
On Sat, 30 Apr 2022 17:51:03 -0400 Ken Brown wrote: > On 4/29/2022 5:10 AM, Takashi Yano wrote: > > On Thu, 28 Apr 2022 17:32:22 +0200 > > I tried to move sigproc_init() call from dll_crt0_0() to > > fork::child() for 64bit cygwin, however, that causes hang > > at cygwin startup. > > > > Am I miss

Re: GNU make losing jobserver tokens

2022-04-30 Thread Ken Brown
On 4/29/2022 5:10 AM, Takashi Yano wrote: On Thu, 28 Apr 2022 17:32:22 +0200 I tried to move sigproc_init() call from dll_crt0_0() to fork::child() for 64bit cygwin, however, that causes hang at cygwin startup. Am I missing somehting? I've never looked into the Cygwin startup code, so just ign

Re: GNU make losing jobserver tokens

2022-04-29 Thread Takashi Yano
On Thu, 28 Apr 2022 17:32:22 +0200 Corinna Vinschen wrote: > On Apr 29 00:01, Takashi Yano wrote: > > On Thu, 28 Apr 2022 16:09:24 +0200 > > Corinna Vinschen wrote: > > > On Apr 28 09:42, Ken Brown wrote: > > > > On 4/27/2022 10:13 AM, Takashi Yano wrote: > > > > > On Fri, 1 Apr 2022 17:45:51 +0900

Re: GNU make losing jobserver tokens

2022-04-28 Thread Corinna Vinschen
On Apr 29 00:01, Takashi Yano wrote: > On Thu, 28 Apr 2022 16:09:24 +0200 > Corinna Vinschen wrote: > > On Apr 28 09:42, Ken Brown wrote: > > > On 4/27/2022 10:13 AM, Takashi Yano wrote: > > > > On Fri, 1 Apr 2022 17:45:51 +0900 > > > > Takashi Yano wrote: > > > > > [...] > > > > > diff --git a/win

Re: GNU make losing jobserver tokens

2022-04-28 Thread Takashi Yano
On Thu, 28 Apr 2022 16:09:24 +0200 Corinna Vinschen wrote: > On Apr 28 09:42, Ken Brown wrote: > > On 4/27/2022 10:13 AM, Takashi Yano wrote: > > > On Fri, 1 Apr 2022 17:45:51 +0900 > > > Takashi Yano wrote: > > > > I have tried to reproduce the issue by building OpenJDK > > > > from source, howeve

Re: GNU make losing jobserver tokens

2022-04-28 Thread Corinna Vinschen
On Apr 28 09:42, Ken Brown wrote: > On 4/27/2022 10:13 AM, Takashi Yano wrote: > > On Fri, 1 Apr 2022 17:45:51 +0900 > > Takashi Yano wrote: > > > I have tried to reproduce the issue by building OpenJDK > > > from source, however, I could not. > > > > > > Instead, I encountered another issue. > >

Re: GNU make losing jobserver tokens

2022-04-28 Thread Ken Brown
On 4/27/2022 10:13 AM, Takashi Yano wrote: On Fri, 1 Apr 2022 17:45:51 +0900 Takashi Yano wrote: I have tried to reproduce the issue by building OpenJDK from source, however, I could not. Instead, I encountered another issue. Building OpenJDK sometimes (rarely) failed with error such as:

Re: GNU make losing jobserver tokens

2022-04-27 Thread Takashi Yano
On Fri, 1 Apr 2022 17:45:51 +0900 Takashi Yano wrote: > On Mon, 21 Mar 2022 15:28:17 +0100 > Magnus Ihse Bursie wrote: > > Hi, > > > > I'm working for Oracle on the OpenJDK build team. We're using GNU make > > to build the JDK on all supported platforms. For Windows, we use Cygwin > > as our bui

Re: GNU make losing jobserver tokens

2022-04-01 Thread Takashi Yano
On Mon, 21 Mar 2022 15:28:17 +0100 Magnus Ihse Bursie wrote: > Hi, > > I'm working for Oracle on the OpenJDK build team. We're using GNU make > to build the JDK on all supported platforms. For Windows, we use Cygwin > as our build environment, including the Cygwin version of GNU make. > > We ha

Re: checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-23 Thread Samuel Lelièvre
Version number of the "cygwin" Cygwin package: ``` cygcheck -c cygwin ``` Version numbers of all installed Cygwin packages: ``` cygcheck -c ``` Save that information to a file: ``` cygcheck -c > cygwin-package-versions.txt ``` Save more complete information to a file: ``` cygcheck -s -r -v > cyg

Re: GNU make losing jobserver tokens

2022-03-22 Thread Roumen Petrov
Hi, Magnus Ihse Bursie wrote: Hi, I'm working for Oracle on the OpenJDK build team. We're using GNU make to build the JDK on all supported platforms. For Windows, we use Cygwin as our build environment, including the Cygwin version of GNU make. We have had a long-standing issue with make los

Re: checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread Mark Geisert
L A Walsh wrote: On 2022/03/21 08:09, Ken Brown wrote: For starters, is your Cygwin installation up to date?  Cygwin's internal implementation of pipes was overhauled starting with cygwin-3.3.0. How does one check the version of cygwin?  I've updated cygwin files this year, but if I use cygch

Re: checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread Adam Dinwoodie
On Tue, Mar 22, 2022 at 12:38:34PM -0700, L A Walsh wrote: > On 2022/03/21 08:09, Ken Brown wrote: > > > > For starters, is your Cygwin installation up to date? Cygwin's internal > > implementation of pipes was overhauled starting with cygwin-3.3.0. > How does one check the version of cygwin? I'

checking cyg version (was Re: GNU make losing jobserver tokens)

2022-03-22 Thread L A Walsh
On 2022/03/21 08:09, Ken Brown wrote: For starters, is your Cygwin installation up to date? Cygwin's internal implementation of pipes was overhauled starting with cygwin-3.3.0. How does one check the version of cygwin? I've updated cygwin files this year, but if I use cygcheck -V, I

Re: GNU make losing jobserver tokens in pipes

2022-03-22 Thread Brian Inglis
On 2022-03-22 00:54, Noel Grandin wrote: On 2022/03/21 5:09 pm, Ken Brown wrote: On 3/21/2022 10:28 AM, Magnus Ihse Bursie wrote: We have had a long-standing issue with make losing jobserver tokens. ("long-standing" here means for years, and years, at least since GNU make 4.0, up to and includ

Re: GNU make losing jobserver tokens

2022-03-21 Thread Noel Grandin
On 2022/03/21 5:09 pm, Ken Brown wrote: On 3/21/2022 10:28 AM, Magnus Ihse Bursie wrote: We have had a long-standing issue with make losing jobserver tokens. ("long-standing" here means for years, and years, at least since GNU make 4.0, up to and including the current latest version in Cygwin.

Re: GNU make losing jobserver tokens

2022-03-21 Thread Ken Brown
On 3/21/2022 10:28 AM, Magnus Ihse Bursie wrote: Hi, I'm working for Oracle on the OpenJDK build team. We're using GNU make to build the JDK on all supported platforms. For Windows, we use Cygwin as our build environment, including the Cygwin version of GNU make. We have had a long-standing

GNU make losing jobserver tokens

2022-03-21 Thread Magnus Ihse Bursie
Hi, I'm working for Oracle on the OpenJDK build team. We're using GNU make to build the JDK on all supported platforms. For Windows, we use Cygwin as our build environment, including the Cygwin version of GNU make. We have had a long-standing issue with make losing jobserver tokens. ("long-s