Compilation takes too long time
Yuriy Chernyshov
georgthegreat@gmail.com
Mon Apr 28 05:49:00 GMT 2014
Greetings.
I'm trying to compile gcc-4.8.2 on powerpc64 to run on powerpc32.
The problem is that I don't have sudo privileges on target machine, so
I'm installing everything locally. I've all prerequisites preinstalled
and gcc/g++-4.1.2.
I configure with the following command:
./configure --prefix=/gpfs/data/chernyshov/chroot
--enable-languages=c,c++ --enable-shared
--with-gmp=/gpfs/data/chernyshov/chroot
--with-mpc=/gpfs/data/chernyshov/chroot
--with-mpfr=/gpfs/data/chernyshov/chroot
During compilation (as far, as I understand, this is libstdc++
compilation), the following command hangs (I waited for 560 minutes
for it's completion):
/gpfs/data/chernyshov/contrib/gcc-4.8.2/host-powerpc64-unknown-linux-gnu/gcc/xgcc
-shared-libgcc -B/gpfs/data/chernyshov/contrib/gcc-4.8.2/host-powerpc64-unknown-linux-gnu/gcc
-nostdinc++ -L/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/bin/
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/lib/
-isystem /gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/include
-isystem /gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/sys-include
-x c++-header -nostdinc++ -I/gpfs/data/chernyshov/chroot/include
-D_GNU_SOURCE -I/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/libsupc++ -O2
-g -std=gnu++0x
/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/include/precompiled/stdc++.h
\
-o powerpc64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
What might be that problem in?
Thanks.
More information about the Gcc-help
mailing list