http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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
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
>
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_
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60295
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |4.9.0
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
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