delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/05/13:34:32

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B5IYVmL1411676
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5B5IYVmL1411676
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=c8FBPU8p
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3E414BC894E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1764959668;
bh=eZLTx1twcAYupLigOCLNvjWtSxQOwVZMvEOTpZRtknc=;
h=Subject:Date:References:To:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=c8FBPU8pDEjXEvyZx/s7ZU2XQZLVYwNU4nxvs6Ccw5YKgCLnLIrvGAZSMFQpHO6w6
YaX5JplKeWoI/tF6CsLG/B89uSVKuckrUz/kLqJDINO8QwR2w6Bb+DpBVPCzR12zxH
jCzA299rnNjeUzeB0rjNTCXDNFe9pbbd/5Cw9e50=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2142C4C3188B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2142C4C3188B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764959618; cv=none;
b=FAUSnOZFm7NRAVjUNSxVhwr5KWeTUdD9NAGlAdHF+7+Nq+XsbtAycYzoOSqKEP2Eernz1R1jDemBd0hBXJVEgCjtBPf2VlaCgyvqAmg4C2x9pWuGBLu1UwuZezBv39SvFEJBn5AKOIPs94wVNKvD7XtNxvJGY1KGqzeA1/tf0B8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1764959618; c=relaxed/simple;
bh=650DdyOPgqnhjxQqySE5S7/zyhaDw1K1Gx3ymcvN6Iw=;
h=DKIM-Signature:From:Mime-Version:Subject:Date:To:Message-Id;
b=u5JHPqZYf1ATTQhZ+/rsVvcrM3mYVq5GOXkRnXloX1nX0d+8jibmcjl6AQKhJcZ/Z7/JFCVie0QR86xKRr5FAbK0PLd+iStV8fOnqsXi8ZZK43x4+pTRDU0lDXEOKhuNLhjbR4dN++8s7fdobEoSzutuVeBnSpMzFLbSa/vh8Xc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2142C4C3188B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1764959617; x=1765564417;
h=message-id:in-reply-to:to:references:date:subject:mime-version
:content-transfer-encoding:from:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=N7cgApjB4z2z/tVl7EIMealav6VFftQhOwrDNxfc8m0=;
b=eyXutiG7pPpsjXt3fidzH0HeMIDNb6/40LVsQLkA7bkbp9AthZFJGLCvo8c9/pzK5E
z4G0Zm6GhOQp9MXIHVSvn/wFXMv3HmfQlaRcZG4TVPBpjozv8GvdLHn0ci+wuQdLQqZJ
n1ayznuF/DJV2qtxmCQdpMbcyidobPW9snwIaWf5c4buVrNF0MPzUofqS6G8LfaO9ilt
FKbmWEsg+Izec5KvrXZYkhYebYuWs4C/E6F8GG+PaFgWnnxaC4d00/RXPl1JRVkzRwTZ
r7xUeBcOnko96r2d5EVr5jGHlqUKsWqHdNzA4wb+cCPwP7xkzxd1xKZvruicx73ngKlv
Tjbw==
X-Gm-Message-State: AOJu0Yzehb+ZT4xihhIMP1BTk+Z2TS74tObFmwI26nArNVQBMuLUZE9X
Hvdqd03/IeKj9kPMPe1gNa0qWPWqtnY9hMxYvNg48WkYN6SXTRnVM320y5uH4CcIsA4200HeKUM
BuV4UYQhLJLRazaFHZE+zXr4ghEErQPedudkSP/KeG0hvCHIjSA12bblKrhghj+V5w/K/SuQZ2P
QRfg62OeOGIxM4Pn5YShL0zpUteR4YbJQ7S+gKsFKxbK2Iq4E=
X-Gm-Gg: ASbGncsc9k+X4brqXVn6BOshkc4w3hcHa0+vo/VGR207O3dGiuc5NPHq629TA2aighN
gHG0D4xOJK1GaoNm+dzHSNkvnCiG9IoMPlwMnOtb7PAQU1gNlSeHnRncra46fTvN3Zl6TRQgJRR
o956eOWalrgEepFnodrhYBK6tr5Fuh7hAI7DFvev6ozhfNCASKSb4wIkawpMpj+Ph1YxIVEjm2f
QMKBhdzV73y9D73rScT4paC1I9SnwdQtqW0o1jt//I0zUQO+tpJMafkKUbigBJFKE0D/0i9oCkZ
U/Yh94FDb5QpZC258oydisDqcyClsmaKJP/7iEPb6SKvO5I9iLJ733l2alh+wDKhCEiKxLCp9Ia
mMdlTLYaspmNmx7ve+pIIVBCsqxW4DQ2rB+EIGNO6EbhcgthXXBT1Cl54dPdyj4nRnHaM1zWs3q
6HiQvHTxoWUagLBydDLNtIMLuKjdFzf3yCHKMxaxeR636A46j7d42RVQ==
X-Google-Smtp-Source: AGHT+IGqhPcqlw1Kc4lhf+brbLb/o9e+o7FOyO0TSvNSwe+7hTJRCkoFR5Qhq+et772sUcBSrsn+oQ==
X-Received: by 2002:a17:906:c109:b0:b76:52d3:c870 with SMTP id
a640c23a62f3a-b7a24514134mr13890266b.43.1764959616013;
Fri, 05 Dec 2025 10:33:36 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.3\))
Subject: Re: Sporadic GNU make jobserver unavailable
Date: Fri, 5 Dec 2025 19:33:35 +0100
References: <7D93A1F2-C293-4289-94D6-B8E0C3458CF9 AT unified-streaming DOT com>
<1ae0d609-dd05-48aa-b2bf-c3ccf39b86da AT SystematicSW DOT ab DOT ca>
<3AC1B525-423D-4EC2-91AC-CB0E4AA01375 AT unified-streaming DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: <3AC1B525-423D-4EC2-91AC-CB0E4AA01375@unified-streaming.com>
Message-Id: <152C1323-5BAA-4AE1-A925-33A0360B0B7E@unified-streaming.com>
X-Mailer: Apple Mail (2.3826.700.81.1.3)
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Dimitry Andric via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dimitry Andric <dimitry AT unified-streaming DOT com>
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>

On 5 Dec 2025, at 19:26, Dimitry Andric <dimitry AT unified-streaming DOT com> wrote:
> 
> On 5 Dec 2025, at 14:37, Brian Inglis via Cygwin <cygwin AT cygwin DOT com> wrote:
>> 
>> 
>> On 2025-12-05 02:18, Dimitry Andric via Cygwin wrote:
>>> We're using Cygwin make to build several projects in parallel mode, e.g.
>>> with -j 4 or sometimes higher settings, depending on the core count of
>>> the machine.
>>> Sporadically, and then I'm talking about "once a week" or so, random
>>> jobs will fail with a non-repeatable error, and in _every_ case these
>>> failures are preceded by a warning from make:
>>>  make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
>>> Obviously the "Add '+' to parent rule" is nonsensical, since simply
>>> running exactly the same job again almost always works fine. But there
>>> is something flaky about make's jobserver under Windows.
>>> FWIW one machine I just observed this on has the make-4.4.1-2 package,
>>> which should use the "pipe" jobserver, if I interpret
>>> https://cygwin.com/pipermail/cygwin-announce/2023-March/010972.html
>>> correctly.
>>> Does anybody know a way to further debug this issue? It must be some
>>> rare race condition...
>> 
>> https://stackoverflow.com/questions/60702726/warning-jobserver-unavailable-using-j1-add-to-parent-make-rule
> 
> Yeah, I've read all those FAQs. The problem isn't in our Makefiles,
> since they run just fine on Linux. It's only on Windows under Cygwin
> that they break. :)
> 
> I'm fairly certain it's a make bug, but whether it's Windows specific,
> or just a Cygwin issue, is not yet clear.

I just read https://cygwin.com/pipermail/cygwin-announce/2023-March/010972.html,
which says:

> The default version [4.4.1-1] is built with jobserver using FIFO and
> the test version [4.4.1-2] using pipe.
> In same complex corner case the previous 4.4-1 was reported to
> fail and it is unclear if the pipe version is the solution
> or just a side coincidence.
> Please report any problem on any version.

From Marco's post it is not really clear what the failure was, but our
Windows systems all run 4.4.1-2 since that is the latest version, so
I'll try reverting some boxes to 4.4.1-1 to see if that helps.

-Dimitry


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