[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #6 from Jan Hubicka --- Author: hubicka Date: Mon Feb 24 22:58:44 2014 New Revision: 208097 URL: http://gcc.gnu.org/viewcvs?rev=208097&root=gcc&view=rev Log: PR lto/60295 * lto.c (stream_out): Avoid parallel streaming with

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #5 from H.J. Lu --- (In reply to Jan Hubicka from comment #4) > I think this is better variant > $ svn diff ~/trunk/gcc/lto/lto.c > Index: /aux/hubicka/trunk/gcc/lto/lto.c >

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-24 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #4 from Jan Hubicka --- > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 > > --- Comment #3 from H.J. Lu --- > lto_wpa_write_files has > > for (i = 0; i < n_sets; i++) > { > ... > stream_out (temp_filename, part->encoder, i == n_

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #3 from H.J. Lu --- lto_wpa_write_files has for (i = 0; i < n_sets; i++) { ... stream_out (temp_filename, part->encoder, i == n_sets - 1); ... } n_sets is 32 when bootstrapping GCC. With parallel build, we may build cc1, cc1plus, f9

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #2 from H.J. Lu --- -flto=jobserver is added by bootstrap-lto.mk. There are static void stream_out (char *temp_filename, lto_symtab_encoder_t encoder, bool last) { #ifdef HAVE_WORKING_FORK static int nruns; if (!lto_parallelism

[Bug lto/60295] [4.9 Regression] Too many lto1-wpa-stream processes are forked

2014-02-20 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295 --- Comment #1 from Jan Hubicka --- > It happens during a GCC LTO+FDO bootstrap with > > ../src-trunk/configure \ > --prefix=/usr/4.9.0 --enable-clocale=gnu --with-system-zlib > --enable-shared --with-demangler-in-ld --with-build-config=boot