[Bug lto/106328] Build doesn't respect -j N flag

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #11 from Martin Liška --- > Ah, indeed. That still leaves the question whether we execute the > WPA stage with the FDs open - I suppose you checked? Yes, I can confirm it correctly works on Linux with FDs provided by jobserver. >

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #10 from rguenther at suse dot de --- On Wed, 10 Aug 2022, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 > > --- Comment #9 from Martin Liška --- > > Magically only with recent GNU make,

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #9 from Martin Liška --- > Magically only with recent GNU make, otherwise needs proper prefixed > rules in the lto-wrapper generated makefile which I don't think we do. Wait, the cooperation works with older GNU make if a Makefile

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #8 from rguenther at suse dot de --- On Wed, 10 Aug 2022, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 > > Martin Liška changed: > >What|Removed

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:fed766af32ed6cd371016cc24e931131e19b4eb1 commit r13-2012-gfed766af32ed6cd371016cc24e931131e19b4eb1 Author: Martin Liska Date:

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug lto/106328] Build doesn't respect -j N flag

2022-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #4 from Richard Biener --- If it is possible to query the '-j=N' setting from make via the jobserver connection then it might be practical to auto-tune lto-max-streaming-parallelism to that setting at least (that's still prone to

[Bug lto/106328] Build doesn't respect -j N flag

2022-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #3 from Richard Biener --- Just to clarify, GCCs WPA stage fork()s to write out LTRANS IL object files in parallel - those processes are not controlled by make but GCC could request tokens from makes jobserver if it got a handle on

[Bug lto/106328] Build doesn't respect -j N flag

2022-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug lto/106328] Build doesn't respect -j N flag

2022-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #1 from Andrew Pinski --- Hmm: https://gcc.gnu.org/onlinedocs/gcc-10.4.0/gcc/Optimize-Options.html#index-flto Maybe the automation detection of job server is not working on freebsd correctly.