[bug #57242] Non-recursive command passes invalid jobserver file descriptors

2022-08-04 Thread Paul D. Smith
Follow-up Comment #13, bug #57242 (project make): OK; I guess if it's the old style anonymous pipe you do something different? 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 usin

[bug #57242] Non-recursive command passes invalid jobserver file descriptors

2022-08-04 Thread Martin Liška
Follow-up Comment #12, bug #57242 (project make): [comment #11 comment #11:] > I don't see how that patch can work. There has to be some code somewhere to open the named pipe...?? No. It works by preserving the MAKEFLAGS env. variable as we call make subprocess from lto-wrapper (where the sub-m

[bug #57242] Non-recursive command passes invalid jobserver file descriptors

2022-08-04 Thread Paul D. Smith
Follow-up Comment #11, bug #57242 (project make): I don't see how that patch can work. There has to be some code somewhere to open the named pipe...?? ___ Reply to this item at: _

[bug #57242] Non-recursive command passes invalid jobserver file descriptors

2022-08-04 Thread Martin Liška
Follow-up Comment #10, bug #57242 (project make): Btw. I've just sent a patch for GCC that supports it: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599313.html ___ Reply to this item at:

[bug #57242] Non-recursive command passes invalid jobserver file descriptors

2022-08-04 Thread Martin Liška
Follow-up Comment #9, bug #57242 (project make): [comment #8 comment #8:] > This should be resolved in the next release of GNU make which uses named pipes for the jobserver. Oh, great, thanks a lot for it. We (GCC) have been waiting for the feature for a long time. When can we expect a new make r