This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile times for gcc with ppl/cloog backened?


Hi,

On 05/09/10 05:09, ajmcello wrote:
I've got a quad core 3.2Ghz FreeBSD-8 system with 8GB of ram. I
compiled and installed Cloog-PPL and PPL, mpfr, gmp, mpc, polylib,
etc. I'm using make -j 4, and my gcc compile has been going for about
24 hours. Is this normal or did something go terribly wrong? It is
still building, but each file uses about 20-30 hours of CPU time to
build (according to top). I think this is the 3rd compile. After the
first, I recompiled all of my tools (binutils, coreutils, etc) with
the new gcc and then started the build over. This last one, I think
stage1 and stage2 went by relatively quick, but the 3rd and final
stage has been taking forever. I wrote a test program and compiled it
with prev-gcc/xgcc with no arguments, and it took about 5 seconds.
Just curious.

No. This is too much. At our nightly tester gcc bootstraps on a 8 core machine in 45 minutes.


Two things I am not sure about in you config.

1. You said you installed polylib.

There is no dependency to polylib. The cloog version you installed should link against PPL, but not polylib.

2. You enabled lto

Did you try once without lto? I have not tested graphite yet with lto, so there might be either a bug or LTO exposes _ a lot _ optimization oportunities.

Cheers

Tobi


Here's my runtime options. Thanks.



./configure --prefix=/usr/gnu \ --disable-werror \ --disable-ppl-version-check \ --disable-cloog-version-check \ --enable-cxx \ --enable-shared \ --enable-static \ --enable-bootstrapp \ --enable-lto \ --enable-objc-gc \ --enable-gold \ --enable-stage1-checking=all \ --enable-64-bit-bfd \ --enable-languages=c,c++,lto \ --with-pic \ --with-libiconv=/usr/gnu \ --with-gmp-include=/usr/gnu/include \ --with-gmp-lib=/usr/gnu/lib \ --with-gmp-build=/wl2k/src/gmp/gmp-5.0.1 \ --with-gmp=/usr/gnu \ --with-mpfr-include=/usr/gnu/include \ --with-mpfr-lib=/usr/gnu/lib \ --with-mpfr-build=/wl2k/src/mpfr/mpfr-2.4.2 \ --with-mpfr=/usr/gnu \ --with-cloog=/usr/gnu \ --with-cloog-include=/usr/gnu/include \ --with-cloog-lib=/usr/gnu/lib \ --with-ppl=/usr/gnu \ --with-ppl-include=/usr/gnu/include \ --with-ppl-lib=/usr/gnu/lib \ --with-mpc=/usr/gnu \ --with-mpc-include=/usr/gnu/include \ --with-mpc-lib=/usr/gnu/lib \ --with-gnu-ld \ --with-ld=/usr/gnu/bin/ld \ --with-gnu-as \ --with-as=/usr/gnu/bin/as


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]