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

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B5IRKuB1409062
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 5B5IRKuB1409062
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=ZwOL9Ujj
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79EFC4C318B1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1764959239;
bh=fcJxXfOmdcGXzNV6/uVz4xz1O1E8UJRZVb4eiyFHrbA=;
h=Subject:In-Reply-To:Date:Cc:References:To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=ZwOL9UjjYWUjYhuN9biTjtWwh6JBcbImOXUIBk0xzeIec0EDWdDBCKmf3LIA/RCER
vdbQ7bFF+dEuyJTOJa9JD5BCxjmfiBhfkoV8Yy5QnissnZIO6g4hXSSRA4SA1CPTzo
I1cz6fuMGtd42/NDgSPSPnb7uY8iuZsyyQ2xBit8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3BFE4C31865
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C3BFE4C31865
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764959219; cv=none;
b=mYsivHVDt+nwHdUfyrJ+zD3EBO04jh44R1tLyzI62MAr4qKn8855b2t9Y+qX5+xIUZAKbrl13Q+JwGwXuKfH/jIcnNwteH8zcq4tDnZb/YZ/rRaLZWSt6Exj7yp043uAKJfnzXsFXkTDEcSSWVmzBzpYD5Xwdx4GbDSHDT+ihOM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1764959219; c=relaxed/simple;
bh=3GBXY8gZqfH1dAJfrh9SGImqdc8e87oajWJulvOcQGs=;
h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To;
b=ZYgUcgBOvJZE55F7qKlWUjTV4pSsgVxlnes3uLDZQd9yjD1mG+fO60Y7DQf3lXxPIPN0IUOYkRhj5kP00iHvB7m/OQVM9yQV0luP4NBiNSsFAM7eoQaz8oNp5W4C79oSqRgF4cZYMtbQZ8gjms+AuD3QXWmiayGA92/56eTgX+0=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3BFE4C31865
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1764959218; x=1765564018;
h=to:references:message-id:content-transfer-encoding:cc:date
:in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=0mPC3xQ5GwfSb7yaOB4RtIsizsUhldhAKRufBSOLFWU=;
b=LngkQ3BJXEsZRICMjT9k+uDr+fF2QHpf399ASDLw5QChowccV8MoUnaARgYMNGgmgc
7FWueBC1EIdjAm031Snv2hbL+IdVljMW10VeksnkKuPzU2z3mIL1h4/3u+1sBkrsN6U0
T0J+5a6GUWdZ9bVLJxu9y5naepY4OLrpVAyB9QUiX3EYSmsJZH7LtxJyT19MAPdGpHzn
HbLAn2/CRiLzv+1F0UAwP6E81WHUaTerK9Qu7XdoiqqxklBtaQK+wPnJjdQrRlSCbrcQ
dzGJx+BHs1Fe+FGUFDbf6kdLC2jRSBuXaXZ/Ck/DDdY2wQ9mAedgg9ef7K3twl+9D24I
HK0Q==
X-Gm-Message-State: AOJu0YxI6IAAuy+dcHn9f34R4eI0RwMavMJYRkVkbfcem3ky/UR/bdoN
jXqTFS46xuu+8AWH2Po2IhhtYY1pSuFq+HC790rngUGqu1QRMiAjfz0uzRaX07pl5Pz0cATphtW
R7WR5MNOtTFqP2zsnRwN8fCTvjkD55ML1tJzjnMTeIs8ImEAwje6OPs7ksoQH+pmbL9CTK8P/xc
Pw7+I1afoCFemFkfKyvDM1EnpJ+rvws6WtGTskIrxBWT8y6j4=
X-Gm-Gg: ASbGncvdsC7y/iFZyKjYEKwqEjOCcrssQ4mfRlZa56LWtShsvdz1FHu9ay7CK2/b8k7
csKtREUwrejVbPsIKY8uMqYssibKOCl393UMl5NpEZUxKTiZU+8CX1YNe/1bP3zG4s3FILBLgqB
wJvaQIdoWcoA5xGc4af/WM8XwJr44vCLSXA4+Oj7N4XUDYqy0SEKSEsqEIBevoM3Jed/ywnpSVe
0zb3ureUkDDC2kFl6GkR/r9tHkt79xOL2hymd5pGB2nZY0sKzn98zHHrCd2c+RvNa+56JIXs3m3
lhG1q3pZMRhq+W/1ynJ4DNPfvAsbG4qDBTo7+dWWbXt2ukhYcJT8nSTjPSHxbrOLOwzL89RlA6r
hNQ7Q1+cMuIMLB5EsohJyaV7KYYQwbH79qS3knRNvjPqilgYjQO2edaP7U8q+2SXQk4++VLXxmz
3cMwTzfOraZJ/p+4MBPC+EDbxdCkLfCakKJk1WD2mASX70jhup0H2Tnw==
X-Google-Smtp-Source: AGHT+IFImz7mZaIlY/kG88ioWLkSJTRx0JBskNYKdUG9C/KlyFBS+iATIgeY9HK8W9C9kyAYybMZqg==
X-Received: by 2002:a17:906:eec2:b0:b73:5a2f:2f0e with SMTP id
a640c23a62f3a-b7a243047d2mr13971766b.3.1764959217495;
Fri, 05 Dec 2025 10:26:57 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.3\))
Subject: Re: Sporadic GNU make jobserver unavailable
In-Reply-To: <1ae0d609-dd05-48aa-b2bf-c3ccf39b86da@SystematicSW.ab.ca>
Date: Fri, 5 Dec 2025 19:26:56 +0100
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Message-Id: <3AC1B525-423D-4EC2-91AC-CB0E4AA01375@unified-streaming.com>
References: <7D93A1F2-C293-4289-94D6-B8E0C3458CF9 AT unified-streaming DOT com>
<1ae0d609-dd05-48aa-b2bf-c3ccf39b86da AT SystematicSW DOT ab DOT ca>
To: cygwin AT cygwin DOT 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 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.

-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