Problems building gcc-4.2.1 on Solaris 8
powell_dan@emc.com
powell_dan@emc.com
Fri Jun 12 13:54:00 GMT 2009
I've been trying to build GCC 4.2.1 on Solaris 8 for several weeks. The
initial guidance I got from Garey Mills, Kai Ruottu, and Dennis Clarke
was to pay attention to the "Prerequisites".
So my configuration is:
GNU make 3.81
Binutils 2.19
Gawk 3.1.5
Gmp 4.3.1
Mpfr 2.3.2
I've used Dennis Clarke's test results as a guideline
http://gcc.gnu.org/ml/gcc-testresults/2007-08/msg00318.html
I've built with GCC 3.3.2 as well as SunStudio 9.
I've built with CONFIG_SHELL set to /bin/bash, /bin/ksh, and bash4.0.
My current configure line is:
/emc/ctadm/drp/gcc/gcc-4.2.1/configure \
--prefix=/disks/rmdev/tools/solaris8 \
--with-local-prefix=/disks/rmdev/tools/solaris8 \
--with-build-sysroot=/disks/rmdev/tools/sysroots/solaris8 \
--enable-threads \
--enable-languages=c,c++ \
--disable-nls \
--without-gnu-ld \
--with-ld=/usr/ccs/bin/ld \
--without-gnu-as \
--with-as=/usr/ccs/bin/as \
--enable-shared \
--enable-bootstrap \
--with-gmp=/disks/rmdev/tools/solaris8 \
--with-mpfr=/disks/rmdev/tools/solaris8
I have saved several build directories "objdirX" with a full log of the
configuration/make where each log file is > 2MB. I have been trying
different combinations of compilers, config shells, etc.
The build of GCC stop with a failure to build the libstdc++-v3 directory
in stage3.
The most common errors I see are:
More information about the Gcc-help
mailing list