On 2/13/2023 6:05 PM, 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.
I've now reported this upstream:
https://lists.gnu.org/archive/html/bug-make/2023-02/msg00029.html
Ken