[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57242] Non-recursive command passes invalid jobserver file descrip
From: |
Martin Liška |
Subject: |
[bug #57242] Non-recursive command passes invalid jobserver file descriptors |
Date: |
Tue, 9 Aug 2022 08:03:38 -0400 (EDT) |
Follow-up Comment #14, bug #57242 (project make):
> One note: an ideal implementation would look for the _last_ instance of
--jobserver-auth in MAKEFLAGS, not the first instance. In the current code in
Git, if we are using anonymous pipes and we invoke a sub-process which is not
considered to be a recursive make, we will add an extra
"--jobserver-auth=-2,-2" to the END of MAKEFLAGS to disable the jobserver
(unfortunately it's complicated to try to replace the existing option so
instead we just add an overriding option.
>
> This should make the jobserver more reliable than before, even when using
anonymous pipes. It doesn't solve all problems though: named pipes works
better in many situations.
Yeah, I've done that in v2:
https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599478.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57242>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/