|
From: | Ken Brown |
Subject: | Re: Regression on Cygwin: Problems with parallel make in 4.4 |
Date: | Sun, 19 Feb 2023 09:17:14 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 2/19/2023 8:49 AM, Paul Smith wrote:
On Wed, 2023-02-15 at 13:57 -0500, Ken Brown wrote:One thing to keep in mind here is that your tests on Cygwin were done on Cygwin 2.9.0, in which FIFOs were very poorly supported. For example, a FIFO couldn't have multiple readers or writers. If GNU/Hurd has similar limitations, that could explain the similar test results. Cygwin's FIFO implementation was completely rewritten starting with 3.0, and it now supports multiple readers and writers. So the issue with current Cygwin is more likely a bug in Cygwin and/or make.GNU make _definitely_ has multiple readers/writers (that's really the whole point :)). So I'm not sure where to go from here on Cygwin. Should I force Cygwin builds to use the "pipe" jobserver, as I've done for GNU/Hurd?
My preference would be for you to provide a configure option, which defaults to "pipe" on Cygwin. But if you don't want to do that, then I think you should force Cygwin builds to use "pipe".
Should I add preprocessor checks (or autoconf checks?) to try to figure out which version of Cygwin is being used and choose based on that? I don't know how to check versions.
That wouldn't help. There's currently no known version of Cygwin on which the fifo option works well. (Bruno tested on old version, I tested the current version.)
Ken
[Prev in Thread] | Current Thread | [Next in Thread] |