Hi, this patch disables parallel streaming for -flto=jobserver. I accidentally left it on with unlimited number of processes that can easily wreck boxes with not unlimited RAM space like mines. I wrote to GNU Make folks if there is easy way to connect to the Make's jobserver and do actual parallel streaming driven by it.
Comitted as obvious, Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 208096) +++ ChangeLog (working copy) @@ -1,5 +1,12 @@ 2014-02-14 Jan Hubicka <hubi...@ucw.cz> + PR lto/60295 + * lto.c (stream_out): Avoid parallel streaming with + -flto=jobserver until we are able to throttle it down + resonably. + +2014-02-14 Jan Hubicka <hubi...@ucw.cz> + * lto-partition.c (add_symbol_to_partition_1, undo_partition, lto_balanced_map): Aliases have no defined size. Index: lto.c =================================================================== --- lto.c (revision 207702) +++ lto.c (working copy) @@ -2491,7 +2491,7 @@ stream_out (char *temp_filename, lto_sym #ifdef HAVE_WORKING_FORK static int nruns; - if (!lto_parallelism || lto_parallelism == 1) + if (lto_parallelism <= 1) { do_stream_out (temp_filename, encoder); return;