When I build gcc 4.0.0 and g++ 4.0.0 using the newest configuration instructions
on a 32-bit processor, the g++ configuration script builds a 64 bit program,
fails to execute it and the build stops.

Configuring with --disable-multilib works around the problem.

Processor Pentium 4
OS: Solaris 2.10 (uname -a returns SunOS <my machine name> 5.10 Generic i86pc
i386 i86pc)
Shell: csh

Procedure:

1. cd to /tool/gcc/4.0.0
2. Download gcc-core-4.0.0.tar & gcc-g++-4.0.0.tar and extract both.
3. setenv CONFIG_SHELL /usr/bin/ksh
4. setenv PATH $TOOL/gnu/gmake/3.80/i386-pc-solaris2.10/bin:$PATH

> which make
/tool/gnu/gmake/3.80/i386-pc-solaris2.10/bin/make
> which gcc
/opt/sfw/bin/gcc
> which gas
/opt/sfw/bin/gas
> which ld
/usr/ccs/bin/ld

5. make a directory called "build" that's a peer to the new gcc-4.0.0.
   
> mkdir build
> cd build
> /tool/gcc/4.0.0/gcc-4.0.0/configure
--prefix=/tool/gcc/4.0.0/i386-pc-solaris2.10 --with-gnu-as
--with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
creating cache ./config.cache
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking build system type... i386-pc-solaris2.10
checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
The following languages will be built: c,c++
*** This configuration is not supported in the following subdirectories:
     target-libmudflap
    (Any other directories should still work fine.)
checking for bison... bison
checking for bison... bison -y
checking for gm4... gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for i386-pc-solaris2.10-ar... no
checking for ar... ar
checking for i386-pc-solaris2.10-as... no
checking for as... as
checking for i386-pc-solaris2.10-dlltool... no
checking for dlltool... dlltool
checking for i386-pc-solaris2.10-ld... /usr/ccs/bin/ld
checking for i386-pc-solaris2.10-nm... no
checking for nm... nm
checking for i386-pc-solaris2.10-ranlib... no
checking for ranlib... ranlib
checking for i386-pc-solaris2.10-windres... no
checking for windres... windres
checking for i386-pc-solaris2.10-objcopy... no
checking for objcopy... objcopy
checking for i386-pc-solaris2.10-objdump... no
checking for objdump... objdump
checking for i386-pc-solaris2.10-ar... no
checking for ar... ar
checking for i386-pc-solaris2.10-as... no
checking for as... as
checking for i386-pc-solaris2.10-dlltool... no
checking for dlltool... dlltool
checking for i386-pc-solaris2.10-ld... no
checking for ld... ld
checking for i386-pc-solaris2.10-nm... no
checking for nm... nm
checking for i386-pc-solaris2.10-ranlib... no
checking for ranlib... ranlib
checking for i386-pc-solaris2.10-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
> make bootstrap

LOTS of stuff happens ending in

make GCC_FOR_TARGET="/tool/gcc/4.0.0/build/gcc/xgcc -B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include" \
  AR_FOR_TARGET="ar" \
  AR_CREATE_FOR_TARGET="ar  rc" \
  AR_EXTRACT_FOR_TARGET="ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="loser-" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -m64 "  \
  MULTILIB_CFLAGS=" -m64" T=amd64/ amd64/gmon.o amd64/crtbegin.o amd64/crtend.o
make[4]: Entering directory `/tool/gcc/4.0.0/build/gcc'
make[4]: `amd64/crtend.o' is up to date.
make[4]: Leaving directory `/tool/gcc/4.0.0/build/gcc'
./xgcc -B./ -B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-isystem /tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include
-isystem /tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include
-L/tool/gcc/4.0.0/build/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
-shared -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs
-Wl,-M,libgcc/amd64/libgcc.map -o amd64/libgcc_s.so.1.tmp  -m64
libgcc/amd64/_muldi3_s.o libgcc/amd64/_negdi2_s.o libgcc/amd64/_lshrdi3_s.o
libgcc/amd64/_ashldi3_s.o libgcc/amd64/_ashrdi3_s.o libgcc/amd64/_cmpdi2_s.o
libgcc/amd64/_ucmpdi2_s.o libgcc/amd64/_floatdidf_s.o
libgcc/amd64/_floatdisf_s.o libgcc/amd64/_fixunsdfsi_s.o
libgcc/amd64/_fixunssfsi_s.o libgcc/amd64/_fixunsdfdi_s.o
libgcc/amd64/_fixdfdi_s.o libgcc/amd64/_fixunssfdi_s.o libgcc/amd64/_fixsfdi_s.o
libgcc/amd64/_fixxfdi_s.o libgcc/amd64/_fixunsxfdi_s.o
libgcc/amd64/_floatdixf_s.o libgcc/amd64/_fixunsxfsi_s.o
libgcc/amd64/_fixtfdi_s.o libgcc/amd64/_fixunstfdi_s.o
libgcc/amd64/_floatditf_s.o libgcc/amd64/_clear_cache_s.o
libgcc/amd64/_enable_execute_stack_s.o libgcc/amd64/_trampoline_s.o
libgcc/amd64/__main_s.o libgcc/amd64/_absvsi2_s.o libgcc/amd64/_absvdi2_s.o
libgcc/amd64/_addvsi3_s.o libgcc/amd64/_addvdi3_s.o libgcc/amd64/_subvsi3_s.o
libgcc/amd64/_subvdi3_s.o libgcc/amd64/_mulvsi3_s.o libgcc/amd64/_mulvdi3_s.o
libgcc/amd64/_negvsi2_s.o libgcc/amd64/_negvdi2_s.o libgcc/amd64/_ctors_s.o
libgcc/amd64/_ffssi2_s.o libgcc/amd64/_ffsdi2_s.o libgcc/amd64/_clz_s.o
libgcc/amd64/_clzsi2_s.o libgcc/amd64/_clzdi2_s.o libgcc/amd64/_ctzsi2_s.o
libgcc/amd64/_ctzdi2_s.o libgcc/amd64/_popcount_tab_s.o
libgcc/amd64/_popcountsi2_s.o libgcc/amd64/_popcountdi2_s.o
libgcc/amd64/_paritysi2_s.o libgcc/amd64/_paritydi2_s.o
libgcc/amd64/_powisf2_s.o libgcc/amd64/_powidf2_s.o libgcc/amd64/_powixf2_s.o
libgcc/amd64/_powitf2_s.o libgcc/amd64/_mulsc3_s.o libgcc/amd64/_muldc3_s.o
libgcc/amd64/_mulxc3_s.o libgcc/amd64/_multc3_s.o libgcc/amd64/_divsc3_s.o
libgcc/amd64/_divdc3_s.o libgcc/amd64/_divxc3_s.o libgcc/amd64/_divtc3_s.o
libgcc/amd64/_divdi3_s.o libgcc/amd64/_moddi3_s.o libgcc/amd64/_udivdi3_s.o
libgcc/amd64/_umoddi3_s.o libgcc/amd64/_udiv_w_sdiv_s.o
libgcc/amd64/_udivmoddi4_s.o libgcc/amd64/unwind-dw2_s.o
libgcc/amd64/unwind-dw2-fde_s.o libgcc/amd64/unwind-sjlj_s.o
libgcc/amd64/gthr-gnat_s.o libgcc/amd64/unwind-c_s.o -lc && rm -f
amd64/libgcc_s.so && if [ -f amd64/libgcc_s.so.1 ]; then mv -f
amd64/libgcc_s.so.1 amd64/libgcc_s.so.1.backup; else true; fi && mv
amd64/libgcc_s.so.1.tmp amd64/libgcc_s.so.1 && ln -s libgcc_s.so.1 
amd64/libgcc_s.so
make[3]: Leaving directory `/tool/gcc/4.0.0/build/gcc'
echo timestamp > stmp-multilib
make[2]: Leaving directory `/tool/gcc/4.0.0/build/gcc'
Checking multilib configuration...
/usr/bin/ksh /tool/gcc/4.0.0/gcc-4.0.0/mkinstalldirs
i386-pc-solaris2.10/libstdc++-v3 ; \
rm -f i386-pc-solaris2.10/libstdc++-v3/Makefile || : ; \
cp multilib.out i386-pc-solaris2.10/libstdc++-v3/multilib.out
mkdir i386-pc-solaris2.10
mkdir i386-pc-solaris2.10/libstdc++-v3
Configuring in i386-pc-solaris2.10/libstdc++-v3
configure: creating cache ./config.cache
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i386-pc-solaris2.10-gcc... /tool/gcc/4.0.0/build/gcc/xgcc
-B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /tool/gcc/4.0.0/build/gcc/xgcc -B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include accepts
-g... yes
checking for /tool/gcc/4.0.0/build/gcc/xgcc -B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include option to
accept ANSI C... none needed
checking for i386-pc-solaris2.10-g++... /tool/gcc/4.0.0/build/gcc/xgcc
-shared-libgcc -B/tool/gcc/4.0.0/build/gcc/ -nostdinc++
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src/.libs
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include
checking whether we are using the GNU C++ compiler... yes
checking whether /tool/gcc/4.0.0/build/gcc/xgcc -shared-libgcc
-B/tool/gcc/4.0.0/build/gcc/ -nostdinc++
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src/.libs
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include accepts
-g... yes
checking for GCC version number... 4.0.0
checking whether ln -s works... yes
checking for i386-pc-solaris2.10-as... /usr/sfw/bin/gas
checking for i386-pc-solaris2.10-ar... ar
checking for i386-pc-solaris2.10-ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
configure: CPU config directory is cpu/i386
configure: OS config directory is os/solaris/solaris2.7
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm
checking how to recognise dependant libraries... pass_all
checking for i386-pc-solaris2.10-ranlib... (cached) ranlib
checking for i386-pc-solaris2.10-strip... no
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... yes
checking for objdir... .libs
checking for /tool/gcc/4.0.0/build/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /tool/gcc/4.0.0/build/gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /tool/gcc/4.0.0/build/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... 393217
checking if /tool/gcc/4.0.0/build/gcc/xgcc supports -c -o file.o... yes
checking if /tool/gcc/4.0.0/build/gcc/xgcc supports -fno-rtti -fno-exceptions 
... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.10 ld.so
checking command to parse /usr/ccs/bin/nm output... failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking how to run the C++ preprocessor... /tool/gcc/4.0.0/build/gcc/xgcc
-shared-libgcc -B/tool/gcc/4.0.0/build/gcc/ -nostdinc++
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src
-L/tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3/src/.libs
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include -E
loading cache ./config.cache within ltconfig
checking host system type... i386-pc-solaris2.10
checking build system type... i386-pc-solaris2.10
checking for objdir... .libs
checking for /tool/gcc/4.0.0/build/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /tool/gcc/4.0.0/build/gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /tool/gcc/4.0.0/build/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... (cached) 393217
checking if /tool/gcc/4.0.0/build/gcc/xgcc supports -c -o file.o... (cached) yes
checking if /tool/gcc/4.0.0/build/gcc/xgcc supports -fno-rtti -fno-exceptions
... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... 
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.10 ld.so
checking command to parse /usr/ccs/bin/nm output... failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for exception model to use... call frame
checking for enabled PCH... yes
checking for compiler with PCH support... yes
checking for underlying I/O to use... stdio
checking how to run the C preprocessor... /tool/gcc/4.0.0/build/gcc/xgcc
-B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for C locale to use... generic
checking for std::allocator base class to use... new
configure: "C" header strategy set to c_std
checking for ISO C99 support in <math.h>... no
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h>... no
checking for ISO C99 support in <stdio.h>... yes
checking for lldiv_t declaration... yes
checking for ISO C99 support in <stdlib.h>... yes
checking for additional ISO C99 support in <wchar.h>... yes
checking for enabled ISO C99 support... no
checking for thread model used by GCC... posix
configure: Debug build flags set to -g3 -O0
checking for additional debug build... no
checking for extra compiler flags for building... 
checking nan.h usability... yes
checking nan.h presence... yes
checking for nan.h... yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking sys/isa_defs.h usability... yes
checking sys/isa_defs.h presence... yes
checking for sys/isa_defs.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking gconv.h usability... no
checking gconv.h presence... no
checking for gconv.h... no
checking for sys/types.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for sin in -lm... yes
checking for isinf declaration... no
checking for _isinf declaration... no
checking for isnan declaration... yes
checking for isnan... yes
checking for finite declaration... yes
checking for finite... yes
checking for copysign declaration... yes
checking for copysign... yes
checking for sincos declaration... yes
checking for sincos... yes
checking for fpclass declaration... yes
checking for fpclass... yes
checking for qfpclass declaration... no
checking for _qfpclass declaration... no
checking for hypot declaration... yes
checking for hypot... yes
checking for float trig functions... yes
checking for acosf... yes
checking for asinf... yes
checking for atanf... yes
checking for cosf... yes
checking for sinf... yes
checking for tanf... yes
checking for coshf... yes
checking for sinhf... yes
checking for tanhf... yes
checking for float round functions... yes
checking for ceilf... yes
checking for floorf... yes
checking for expf declaration... yes
checking for expf... yes
checking for isnanf declaration... yes
checking for isnanf... yes
checking for isinff declaration... no
checking for _isinff declaration... no
checking for atan2f declaration... yes
checking for atan2f... yes
checking for fabsf declaration... yes
checking for fabsf... yes
checking for fmodf declaration... yes
checking for fmodf... yes
checking for frexpf declaration... yes
checking for frexpf... yes
checking for hypotf declaration... yes
checking for hypotf... yes
checking for ldexpf declaration... yes
checking for ldexpf... yes
checking for logf declaration... yes
checking for logf... yes
checking for log10f declaration... yes
checking for log10f... yes
checking for modff declaration... yes
checking for modff... yes
checking for powf declaration... yes
checking for powf... yes
checking for sqrtf declaration... yes
checking for sqrtf... yes
checking for sincosf declaration... yes
checking for sincosf... yes
checking for finitef declaration... no
checking for _finitef declaration... no
checking for long double trig functions... yes
checking for acosl... yes
checking for asinl... yes
checking for atanl... yes
checking for cosl... yes
checking for sinl... yes
checking for tanl... yes
checking for coshl... yes
checking for sinhl... yes
checking for tanhl... yes
checking for long double round functions... yes
checking for ceill... yes
checking for floorl... yes
checking for isnanl declaration... yes
checking for isnanl... yes
checking for isinfl declaration... no
checking for _isinfl declaration... no
checking for copysignl declaration... yes
checking for copysignl... yes
checking for atan2l declaration... yes
checking for atan2l... yes
checking for expl declaration... yes
checking for expl... yes
checking for fabsl declaration... yes
checking for fabsl... yes
checking for fmodl declaration... yes
checking for fmodl... yes
checking for frexpl declaration... yes
checking for frexpl... yes
checking for hypotl declaration... yes
checking for hypotl... yes
checking for ldexpl declaration... yes
checking for ldexpl... yes
checking for logl declaration... yes
checking for logl... yes
checking for log10l declaration... yes
checking for log10l... yes
checking for modfl declaration... yes
checking for modfl... yes
checking for powl declaration... yes
checking for powl... yes
checking for sqrtl declaration... yes
checking for sqrtl... yes
checking for sincosl declaration... yes
checking for sincosl... yes
checking for finitel declaration... no
checking for _finitel declaration... no
checking for _float trig functions... no
checking for _float round functions... no
checking for _long double trig functions... no
checking for _long double round functions... no
checking for __builtin_abs declaration... yes
checking for __builtin_abs linkage... yes
checking for __builtin_fabsf declaration... yes
checking for __builtin_fabsf linkage... yes
checking for __builtin_fabs declaration... yes
checking for __builtin_fabs linkage... yes
checking for __builtin_fabsl declaration... yes
checking for __builtin_fabsl linkage... yes
checking for __builtin_labs declaration... yes
checking for __builtin_labs linkage... yes
checking for __builtin_sqrtf declaration... yes
checking for __builtin_sqrtf linkage... yes
checking for __builtin_sqrt declaration... yes
checking for __builtin_sqrt linkage... yes
checking for __builtin_sqrtl declaration... yes
checking for __builtin_sqrtl linkage... yes
checking for __builtin_sinf declaration... yes
checking for __builtin_sinf linkage... yes
checking for __builtin_sin declaration... yes
checking for __builtin_sin linkage... yes
checking for __builtin_sinl declaration... yes
checking for __builtin_sinl linkage... yes
checking for __builtin_cosf declaration... yes
checking for __builtin_cosf linkage... yes
checking for __builtin_cos declaration... yes
checking for __builtin_cos linkage... yes
checking for __builtin_cosl declaration... yes
checking for __builtin_cosl linkage... yes
checking for main in -lm... yes
checking for copysignf... yes
checking for __signbit... no
checking for __signbitf... no
checking for __signbitl... no
checking for mbstate_t... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for WCHAR_MIN and WCHAR_MAX... yes
checking for WEOF... yes
checking for wcslen... yes
checking for wmemchr... yes
checking for wmemcmp... yes
checking for wmemcpy... yes
checking for wmemmove... yes
checking for wmemset... yes
checking for btowc... yes
checking for wctob... yes
checking for fgetwc... yes
checking for fgetws... yes
checking for fputwc... yes
checking for fputws... yes
checking for fwide... yes
checking for fwprintf... yes
checking for fwscanf... yes
checking for swprintf... yes
checking for swscanf... yes
checking for vfwprintf... yes
checking for vswprintf... yes
checking for vwprintf... yes
checking for wprintf... yes
checking for wscanf... yes
checking for getwc... yes
checking for getwchar... yes
checking for mbsinit... yes
checking for mbrlen... yes
checking for mbrtowc... yes
checking for mbsrtowcs... yes
checking for wcsrtombs... yes
checking for putwc... yes
checking for putwchar... yes
checking for ungetwc... yes
checking for wcrtomb... yes
checking for wcstod... yes
checking for wcstol... yes
checking for wcstoul... yes
checking for wcscpy... yes
checking for wcsncpy... yes
checking for wcscat... yes
checking for wcsncat... yes
checking for wcscmp... yes
checking for wcscoll... yes
checking for wcsncmp... yes
checking for wcsxfrm... yes
checking for wcscspn... yes
checking for wcsspn... yes
checking for wcstok... yes
checking for wcsftime... yes
checking for wcschr... yes
checking for wcspbrk... yes
checking for wcsrchr... yes
checking for wcsstr... yes
checking for vfwscanf... yes
checking for vswscanf... yes
checking for vwscanf... yes
checking for wcstof... yes
checking for iswblank... yes
checking for ISO C99 wchar_t support... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for iconv in -liconv... no
checking for iconv_open... yes
checking for iconv_close... yes
checking for iconv... yes
checking for nl_langinfo... yes
checking for XPG2 wchar_t support... yes
checking for enabled wchar_t specializations... yes
checking for strtold declaration... yes
checking for strtold... yes
checking for strtof declaration... yes
checking for strtof... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for shared libgcc... yes
configure: WARNING: === You have requested some kind of symbol versioning, but
configure: WARNING: === either you are not using a supported linker, or you are
configure: WARNING: === not building a shared libgcc_s (which is required).
configure: WARNING: === Symbol versioning will be disabled.
configure: versioning on shared library symbols is no
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... no
checking for install location... ${prefix}/include/c++/4.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/check_survey
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in /tool/gcc/4.0.0/gcc-4.0.0/libstdc++-v3
multidirs=amd64
with_multisubdir=
Running configure in multilib subdirs amd64
pwd: /tool/gcc/4.0.0/build/i386-pc-solaris2.10/libstdc++-v3
Running configure in multilib subdir amd64
pwd: /tool/gcc/4.0.0/build/i386-pc-solaris2.10
mkdir amd64
configure: creating cache ./config.cache
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i386-pc-solaris2.10-gcc... /tool/gcc/4.0.0/build/gcc/xgcc
-B/tool/gcc/4.0.0/build/gcc/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/bin/
-B/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/include -isystem
/tool/gcc/4.0.0/i386-pc-solaris2.10/i386-pc-solaris2.10/sys-include  -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/tool/gcc/4.0.0/build'
make: *** [bootstrap] Error 2
>

-- 
           Summary: g++ bootstrap build fails on 32-bit, Solaris 10 x86
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Daniel dot Davies at xerox dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21561

Reply via email to