From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 2AF063858D35 for ; Tue, 14 Feb 2023 16:49:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2AF063858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id RmLMp8qnul2xSRyUlpv4Vo; Tue, 14 Feb 2023 16:49:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1676393371; bh=JXtvaqn+Q6krHrmXmSQeuEluPMojSi2+uicEetlayHg=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=kYgl3hharsiZJ8OGAvysCe1+lVhMT2oOkCSAouhsFmA6HHIEV1tul6gDMk4QXb0DN Yv2MVez1vgKgzIOs/x1V0qaDxcaii5mLDDIlJk9iS2wWnAvT9zWxQiTcVWYOUWXBF/ z5E8Kc6wenCpehvdsVFUw4mqbqIyu1Wxpcxd6zhpOTfDDqfXUmhGM1PLZxmtW0RNfq umaJwSDtxBLOhAVmXqlHqDaX2TC2EX8/wd9OVIx2schnqJ4mmj8XfpdHBzho/tKnLj 4K+/4ricsjVKQTLyj5IFJlt2VKtWFBM2IAF4cv8+zHktaT3RSAeVLkBOQ/opPIIih0 BDpHfXwpNBgGA== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id RyUkpaOwn3fOSRyUlpaHtJ; Tue, 14 Feb 2023 16:49:31 +0000 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=63ebbb9b a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=84cC0Fa9WzghRB8SmCUA:9 a=QEXdDO2ut3YA:10 a=6k1JwJpU5EIA:10 a=_FVE-zBwftR9WsbkzFJk:22 Message-ID: <6c9c801e-7ec6-5093-afd7-8111fc4692a3@Shaw.ca> Date: Tue, 14 Feb 2023 09:49:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Reply-To: Brian.Inglis@Shaw.ca Subject: Re: Heads up: Problems with parallel make Content-Language: en-CA To: cygwin-apps@cygwin.com References: <9c9fb865-5f11-67ec-81a5-9c1ee37b5ee1@cornell.edu> <871214fe-aa00-5c51-7145-82737e830fcc@Shaw.ca> From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfBZyX3q55NihX2r5fpygqjhVQMGinzqXUdDA4Wtt6rxJFQnTQZx/B0J2mJBjUGz67x0sgg6DW8bD+E8o2aUZQVybboxoTeUZWVeJbBw2aKxD5tSfgYf2 Vb/X1Ow9NERwnR2d7eHV+C5P9jVifFym6ffbTdiPdOhJXczNEI3gRY7clnMmaWgceBuOu76w4sZdjw== X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-02-13 17:38, Ken Brown via Cygwin-apps wrote: > On 2/13/2023 6:44 PM, Brian Inglis wrote: >> On 2023-02-13 16:05, Ken Brown via Cygwin-apps wrote: >>> Several of my packages that used to build fine with parallel make now require >>> 'make -j1'.  Without this I either get strange errors or a hang. >>> I can't find any pattern to explain when the problem occurs and when it >>> doesn't, but it seems to be due to a change in make, starting with version >>> 4.4.  By default, make now uses a FIFO rather than a pipe in its jobserver >>> implementation.  You can override this with the make flag >>>    --jobserver-style=pipe >>> In all cases where I've tried this, parallel make works again. >>> It wouldn't surprise me if there's a bug in Cygwin's FIFO implementation >>> that's responsible for this, but I haven't yet tried to track it down. >> >> There is some glibc? compatibility issue also with this recommended workaround. > > Could you elaborate?  I don't know what issue you're seeing. There have been reports from various projects mentioning problems in other packages ending up at make 4.4 and FIFOs solved by reverting to pipes. There is a make 4.4.1 release candidate 4.40.0.90 with patches that may help to deal with this: https://alpha.gnu.org/gnu/make/make-4.4.0.90.tar.lz{,.sig} https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=110&set=custom -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry