Problem with building libgfortran on PPC

Victor Kaplansky VICTORK@il.ibm.com
Sun Mar 18 15:56:00 GMT 2007


I have obtained the same error on my ppc64 yellow dog linux:


/bin/sh ./libtool --mode=compile
/home/victork/mainline-vanila/build/./gcc/gfortran
-B/home/victork/mainline-vanila/build/./gcc/
-B/home/victork/mainline-vanila/usr/ppc64-yellowdog-linux/bin/
-B/home/victork/mainline-vanila/usr/ppc64-yellowdog-linux/lib/ -isystem
/home/victork/mainline-vanila/usr/ppc64-yellowdog-linux/include -isystem
/home/victork/mainline-vanila/usr/ppc64-yellowdog-linux/sys-include  -m64
-fPIC -mstrict-align -DHAVE_CONFIG_H -I. -I../../../../gcc/libgfortran -I.
-iquote../../../../gcc/libgfortran/io -I../../../../gcc/libgfortran/../gcc
-I../../../../gcc/libgfortran/../gcc/config -I../../.././gcc -D_GNU_SOURCE
-I . -Wall -fno-repack-arrays -fno-underscoring -fallow-leading-underscore
-g -O2  -m64 -fPIC -mstrict-align -c -o _sign_r10.lo `test -f
'../../../../gcc/libgfortran/generated/_sign_r10.F90' || echo
'../../../../gcc/libgfortran/'`../../../../gcc/libgfortran/generated/_sign_r10.F90
collect2: ld terminated with signal 11 [Segmentation fault]
make[8]: *** [libstdc++.la] Error 1
make[8]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/64/libstdc++-v3/src'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/64/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/64/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/victork/mainline-vanila/build/ppc64-yellowdog-linux/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2


% uname -a
Linux mac-victork.haifa.ibm.com 2.6.10-1.yhpc.1smp #1 SMP Thu Mar 17
19:38:06 MST 2005 ppc64 ppc64 ppc64 GNU/Linux

svn main trunk revision = 123035

configuration:

../gcc/configure \
        --prefix=/home/victork/mainline-vanila/usr \
        --enable-shared \
        --enable-threads=posix \
        --with-system-zlib \
        --enable-__cxa_atexit \
        --enable-symvers=gnu \
        --host=ppc64-yellowdog-linux \
        --build=ppc64-yellowdog-linux \
        --target=ppc64-yellowdog-linux \
        --with-cpu=default32 \
        --enable-biarch \
        --enable-languages=c,c++,fortran

-- Victor

> I get the following error on PPC while bootstrapping mainline.
> Re-runing make I get:
> collect2: ld terminated with signal 11 [Segmentation fault]
> make[8]: *** [libstdc++.la] Error 1
> Thanks,
> Revital




More information about the Gcc mailing list