Hi, I'm attempting to build GCC 4.6.3 on a virtual Solaris 10 machine (installed using sol-10-u10-ga2-x86-dvd.iso), but gmake fails pretty early on in the compilation. The machine's pretty clean, I've only installed a few packages from the companion CD, nothing else. Here's what my build script does: cd $HOME mkdir gccbuild/gcc463/output cd gccbuild/gcc463 export GCCBUILDOUTPUT=`pwd`/output gtar -xjf $HOME/downloads/gcc463/gcc-4.6.3.tar.bz2 gtar -xzf $HOME/downloads/gcc463/gmp-4.2.1.tar.gz gtar -xjf $HOME/downloads/gcc463/mpfr-2.4.0.tar.bz2 gtar -xzf $HOME/downloads/gcc463/mpc-0.8.2.tar.gz cd gmp-4.2.1 ./configure --prefix=$GCCBUILDOUTPUT --without-gnu-ld --enable-shared --enable-static gmake gmake install cd .. cd mpfr-2.4.0 ./configure --prefix=$GCCBUILDOUTPUT --with-gmp=$GCCBUILDOUTPUT --without-gnu-ld --enable-shared --enable-static LDFLAGS="-R $GCCBUILDOUTPUT/lib:/usr/sfw/lib" gmake gmake install cd .. cd mpc-0.8.2 ./configure --prefix=$GCCBUILDOUTPUT --with-gmp=$GCCBUILDOUTPUT --with-mpfr=$GCCBUILDOUTPUT --without-gnu-ld --enable-shared --enable-static LDFLAGS="-R $GCCBUILDOUTPUT/lib:/usr/sfw/lib" gmake gmake install cd .. cd gcc-4.6.3 mkdir objdir cd objdir ../configure --prefix=$GCCBUILDOUTPUT --with-gmp=$GCCBUILDOUTPUT --with-mpfr=$GCCBUILDOUTPUT --with-mpc=$GCCBUILDOUTPUT --with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++ LDFLAGS="-R $GCCBUILDOUTPUT/lib:/usr/sfw/lib" gmake ###FAILURE### gmake -k check gmake install When the GCC gmake fails, here's the end of the output: config.status: executing default commands gmake[3]: Entering directory `/home/grahamb/gccbuild/gcc463/gcc-4.6.3/objdir/libiberty' if [ x"-fpic" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir gmake[3]: *** [stamp-picdir] Segmentation Fault (core dumped) gmake[3]: *** Deleting file `stamp-picdir' gmake[3]: Leaving directory `/home/grahamb/gccbuild/gcc463/gcc-4.6.3/objdir/libiberty' gmake[2]: *** [all-stage1-libiberty] Error 2 gmake[2]: Leaving directory `/home/grahamb/gccbuild/gcc463/gcc-4.6.3/objdir' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/home/grahamb/gccbuild/gcc463/gcc-4.6.3/objdir' gmake: *** [all] Error 2 Has anybody seen this before, and knows how to fix it? I've actually tried GCC 4.3.6 the same way, with gmp and mpfr (but without mpc, it's not required), with the same result. I have very limited experience with Solaris, so please bear with me! Many thanks, Graham