From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 500973858002 for ; Tue, 22 Mar 2022 17:52:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 500973858002 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id WaZYnPHGV43SgWifrnhGrq; Tue, 22 Mar 2022 17:52:03 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id WifrnwKsEqyysWifrnXC7p; Tue, 22 Mar 2022 17:52:03 +0000 X-Authority-Analysis: v=2.4 cv=Y6brDzSN c=1 sm=1 tr=0 ts=623a0cc3 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=VwQbUJbxAAAA:8 a=D19gQVrFAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 a=AjGcO6oz07-iQ99wixmX:22 a=W4TVW4IDbPiebHqcZpNg:22 Message-ID: <638af4ef-e741-6ab1-6dfa-e64684e32f9e@SystematicSw.ab.ca> Date: Tue, 22 Mar 2022 11:52:03 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Reply-To: cygwin@cygwin.com Subject: Re: GNU make losing jobserver tokens in pipes Content-Language: en-CA To: cygwin@cygwin.com References: <9b9da583-124d-9d5f-4c10-6622602ca8dc@oracle.com> <09d8cb84-b3e3-0760-2245-0f3d2154c023@cornell.edu> <1a25a77b-b1de-edc0-974f-937e914d05fd@gmail.com> From: Brian Inglis Organization: Systematic Software In-Reply-To: <1a25a77b-b1de-edc0-974f-937e914d05fd@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfFYlr/w+3exrPYuxfjv/Mu2e27uiKdfsUhS/P0ZMMnLHbeiKCttOcoM/ykmkxLbZJyXBKWWXcvPT3jkzXYg+BeyijWoDMvRz5pLs4C3DTZRvDqWloGCw Z1K1RvUY1MMZjb3w0vefhJYDxAOvGUHwW4pfv7pmpJwrSir7733MXMCIu30RYfXN5sRJfDL1QS78dcXqGc5HFo7hmloLGm8DGZ4= X-Spam-Status: No, score=-1164.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Tue, 22 Mar 2022 17:52:05 -0000 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 including the current latest version in Cygwin.) > It was not that long ago that Linus Torvalds found a bug in the Linux > kernel pipe implementation which caused GNU make to lose jobserver > tokens, so possibly researching that bug may shed some light on the > kinds of things that could be wrong with the Cygwin pipe code. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ddad21d3e99c743a3aa473121dc5561679e26bb > > https://lkml.org/lkml/2019/12/18/1064 Perhaps add "in pipes" to subject to get that maintainer's attention? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]