public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: gcc 4.7.2 fails to bootstrap in stage 1
@ 2012-11-21  2:35 Dennis Clarke
  2012-11-21  8:07 ` Eric Botcazou
  0 siblings, 1 reply; 10+ messages in thread
From: Dennis Clarke @ 2012-11-21  2:35 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc

Once more unto the breach : Shakespeare's Henry V, Act III, 1598


> I suspect that GNU ld is in your PATH and conflicts with 
> --without-gnu-ld, so you need to remove it from your PATH or use --with-ld=[...].

Well I gave this a try : 

$ date 
Tue Nov 20 23:31:22 GMT 2012
$ 
$ gas --version 
GNU assembler (GNU Binutils) 2.23.1
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-sun-solaris2.10'.
$ 
$ which ld 
/usr/ccs/bin/ld
$ 
$ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --disable-nls --enable-threads=posix \
> --enable-shared --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 --without-gnu-ld \
> --with-as=/usr/local/bin/gas --with-ld=/usr/ccs/bin/ld \
> --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 23\:31\:22\ GMT\ 2012 \
> --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking target system type... sparc64-sun-solaris2.10
checking for a BSD-compatible install... ../gcc-4.7.2/install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... gawk
checking for libitm support... yes
checking for gcc... gcc -m64
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 gcc -m64 accepts -g... yes
checking for gcc -m64 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 accepts -g... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,ada,c++,fortran,lto,objc
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgo target-libffi target-zlib target-libjava target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for bison... bison -y
checking for bison... bison
checking for gm4... /usr/local/bin/gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... ar
checking for as... (cached) /usr/local/bin/gas
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for lipo... no
checking for nm... (cached) /usr/ccs/bin/nm -p
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... no
checking for objdump... no
checking for readelf... no
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... no
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
$ 

That fails in the same way in the same place. 

.
.
.
checking whether the /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for exception model to use... call frame
checking for compiler with PCH support... yes
checking for enabled PCH... yes
checking for thread model used by GCC... posix
checking for atomic builtins for bool... yes
checking for atomic builtins for short... yes
checking for atomic builtins for int... yes
checking for atomic builtins for long long... yes
checking for ISO/IEC TR 24733 ... no
checking for __int128... no
checking for __float128... no
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for underlying I/O to use... stdio
checking for C locale to use... generic
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for enabled wchar_t specializations... yes
checking for sin in -lm... yes
checking for ISO C99 support in <math.h>... yes
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h>... yes
checking for ISO C99 support in <stdio.h>... yes
checking for ISO C99 support in <stdlib.h>... yes
checking for ISO C99 support in <wchar.h>... yes
checking for fully enabled ISO C99 support... yes
configure: Debug build flags set to -gdwarf-4 -g3 -O0
checking for additional debug build... no
checking for parallel mode support... yes
checking for extra compiler flags for building... 
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... yes
checking for float std::abs(float) overload... yes
checking for long std::abs(long) overload... yes
checking for gets declaration... yes
checking for EOWNERDEAD... yes
checking for ENOTRECOVERABLE... yes
checking for ENOLINK... yes
checking for EPROTO... yes
checking for ENODATA... yes
checking for ENOSR... yes
checking for ENOSTR... yes
checking for ETIME... yes
checking for EBADMSG... yes
checking for ECANCELED... yes
checking for EOVERFLOW... yes
checking for ENOTSUP... yes
checking for EIDRM... yes
checking for ETXTBSY... yes
checking for ECHILD... yes
checking for ENOSPC... yes
checking for EPERM... yes
checking for ETIMEDOUT... yes
checking for EWOULDBLOCK... yes
checking for int64_t... yes
checking for int64_t as long... checking for int64_t as long long... yes
checking for LFS support... 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 for poll... yes
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking for complex.h... (cached) yes
checking for ISO C99 support to TR1 in <complex.h>... yes
checking for ISO C99 support to TR1 in <ctype.h>... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for ISO C99 support to TR1 in <fenv.h>... yes
checking for ISO C99 support to TR1 in <stdint.h>... yes
checking for ISO C99 support to TR1 in <math.h>... yes
checking for ISO C99 support to TR1 in <inttypes.h>... yes
checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2
checking for gettimeofday... checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for clock_gettime, nanosleep and sched_yield... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for get_nprocs... no
checking for unistd.h... (cached) yes
checking for _SC_NPROCESSORS_ONLN... yes
checking for _SC_NPROC_ONLN... no
checking for pthreads_num_processors_np... no
checking for hw.ncpu sysctl... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) 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 nan.h usability... yes
checking nan.h presence... yes
checking for nan.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/isa_defs.h usability... yes
checking sys/isa_defs.h presence... yes
checking for sys/isa_defs.h... yes
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for ld used by /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/xgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32... (cached) /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/collect-ld
checking if the linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/collect-ld) is GNU ld... (cached) no
checking for sin in -lm... (cached) yes
checking for isinf declaration... no
checking for _isinf declaration... no
checking for isnan declaration... no
checking for _isnan declaration... no
checking for finite declaration... yes
checking for finite... 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 modf declaration... no
checking for _modf declaration... no
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 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 strtold declaration... yes
checking for strtold... yes
checking for strtof declaration... yes
checking for strtof... yes
checking for "/dev/random" and "/dev/urandom" for TR1 random_device... yes
checking whether the target supports thread-local storage... yes
checking for ld used by GCC... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/collect-ld
checking if the linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/collect-ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking for GNU c++filt... /usr/local/bin/gc++filt
checking for shared libgcc... yes
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is sun
checking for size_t as unsigned int... yes
checking for ptrdiff_t as int... yes
checking whether the target supports hidden visibility... yes
configure: visibility supported: yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... no
checking for RLIMIT_VMEM... yes
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
checking whether it can be safely assumed that mutex_timedlock is available... yes
checking for gthreads library... yes
checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000
checking for modern makeinfo... yes
checking for doxygen... no
checking for dot... no
checking for xsltproc... yes
checking for xmllint... yes
checking for docbook stylesheets for documentation creation... no
checking for local stylesheet directory... no
checking for epub3 stylesheets for documentation creation... no
checking for dblatex... no
checking for pdflatex... yes
configure: 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++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/testsuite_flags
config.status: creating scripts/extract_symvers
config.status: creating include/Makefile
Adding multilib support to include/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating libsupc++/Makefile
Adding multilib support to libsupc++/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/Makefile
Adding multilib support to src/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/c++98/Makefile
Adding multilib support to src/c++98/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/c++11/Makefile
Adding multilib support to src/c++11/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr.h > sparc64-sun-solaris2.10/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-single.h > sparc64-sun-solaris2.10/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-posix.h > sparc64-sun-solaris2.10/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/../libgcc/gthr-default.h > sparc64-sun-solaris2.10/bits/gthr-default.h
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/include'
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr.h > sparc64-sun-solaris2.10/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-single.h > sparc64-sun-solaris2.10/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-posix.h > sparc64-sun-solaris2.10/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/libstdc++-v3/../libgcc/gthr-default.h > sparc64-sun-solaris2.10/bits/gthr-default.h
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/libstdc++-v3/include'
gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
gmake: *** [all] Error 2

real 1475.46
user 6613.18
sys 384.54
$ 

So if I use /usr/ccs/bin/as I may get a different result .  Don't want to do that as gas should work. Then again this may be entirely unrelated to the assembler. 

dc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21  2:35 gcc 4.7.2 fails to bootstrap in stage 1 Dennis Clarke
@ 2012-11-21  8:07 ` Eric Botcazou
  2012-11-21 16:41   ` Dennis Clarke
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Botcazou @ 2012-11-21  8:07 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc

> Well I gave this a try :
> 
> $ date
> Tue Nov 20 23:31:22 GMT 2012
> $
> $ gas --version
> GNU assembler (GNU Binutils) 2.23.1
> Copyright 2012 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `sparc64-sun-solaris2.10'.
> $
> $ which ld
> /usr/ccs/bin/ld
> $
> $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure
> --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> > --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
> > --disable-nls --enable-threads=posix \ --enable-shared
> > --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4
> > --without-gnu-ld \ --with-as=/usr/local/bin/gas
> > --with-ld=/usr/ccs/bin/ld \
> > --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 23\:31\:22\ GMT\
> > 2012 \ --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
> [..].
> That fails in the same way in the same place.

So what's the error in the end?  Your longish messages don't show it AFAICS.

-- 
Eric Botcazou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21  8:07 ` Eric Botcazou
@ 2012-11-21 16:41   ` Dennis Clarke
  2012-11-21 17:36     ` Dennis Clarke
  2012-11-21 18:17     ` Ryan Johnson
  0 siblings, 2 replies; 10+ messages in thread
From: Dennis Clarke @ 2012-11-21 16:41 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc



----- Original Message -----
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Wednesday, November 21, 2012 3:07 am
Subject: Re: gcc 4.7.2 fails to bootstrap in stage 1
To: Dennis Clarke <dclarke@blastwave.org>
Cc: gcc-help@gcc.gnu.org, ryan.johnson@cs.utoronto.ca, iant@google.com, jwakely.gcc@gmail.com


> > Well I gave this a try :
> > 
> > $ date
> > Tue Nov 20 23:31:22 GMT 2012
> > $
> > $ gas --version
> > GNU assembler (GNU Binutils) 2.23.1
> > Copyright 2012 Free Software Foundation, Inc.
> > This program is free software; you may redistribute it under the 
> terms of
> > the GNU General Public License version 3 or later.
> > This program has absolutely no warranty.
> > This assembler was configured for a target of `sparc64-sun-solaris2.10'.
> > $
> > $ which ld
> > /usr/ccs/bin/ld
> > $
> > $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure
> > --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> > > --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
> > > --disable-nls --enable-threads=posix \ --enable-shared
> > > --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4
> > > --without-gnu-ld \ --with-as=/usr/local/bin/gas
> > > --with-ld=/usr/ccs/bin/ld \
> > > --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 23\:31\:22\ GMT\
> > > 2012 \ --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
> > [..].
> > That fails in the same way in the same place.
> 
> So what's the error in the end?  Your longish messages don't show it AFAICS.

regardless this situation just keeps getting worse and worse. 

I can chose to use gas or as and either way the build fails in stage 1 either with
a pile of noises about sed or with something even more interesting : 


.
.
.

gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/gcc'
mkdir sparc64-sun-solaris2.10/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in sparc64-sun-solaris2.10/libgcc
configure: creating cache ./config.cache
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh -c
checking for gawk... gawk
checking for sparc64-sun-solaris2.10-ar... ar
checking for sparc64-sun-solaris2.10-lipo... lipo
checking for sparc64-sun-solaris2.10-nm... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/nm
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking for sparc64-sun-solaris2.10-strip... strip
checking whether ln -s works... yes
checking for sparc64-sun-solaris2.10-gcc... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/xgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include
checking for suffix of object files... configure: error: in `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[2]: *** [configure-stage1-target-libgcc] Error 1
gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
gmake: *** [all] Error 2

So I think the issue may be in the GNU stack that I have built, though I know not where.
I will create a new fresh zone and work in there with no GNU stack at all other than
GNU make and maybe binutils. Then see what happens. 

Dennis 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21 16:41   ` Dennis Clarke
@ 2012-11-21 17:36     ` Dennis Clarke
  2012-11-21 18:25       ` Ryan Johnson
  2012-11-21 18:17     ` Ryan Johnson
  1 sibling, 1 reply; 10+ messages in thread
From: Dennis Clarke @ 2012-11-21 17:36 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Eric Botcazou, gcc-help, ryan.johnson, iant, jwakely.gcc

- replying to myself because it makes sense 

Even in a separate Solaris zone with little or no GNU stack items I get a fail early and fast : 

Configure looks good : 

dclarke@unreal $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure \
> --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --disable-nls \
> --enable-threads=posix --enable-shared --libdir=/usr/local/gcc4/lib \
> --with-local-prefix=/usr/local/gcc4 --without-gnu-ld --with-ld=/usr/ccs/bin/ld --without-gnu-as \
> --with-as=/usr/ccs/bin/as --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking target system type... sparc64-sun-solaris2.10
checking for a BSD-compatible install... ../gcc-4.7.2/install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for libitm support... yes
checking for gcc... gcc -m64 -g
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 gcc -m64 -g accepts -g... yes
checking for gcc -m64 -g option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -g accepts -g... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,ada,c++,fortran,lto,objc
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgo target-libffi target-zlib target-libjava target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for bison... no
checking for byacc... no
checking for yacc... yacc
checking for bison... no
checking for gm4... /usr/local/bin/gm4
checking for flex... no
checking for lex... lex
checking for flex... no
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... (cached) /usr/ccs/bin/ar
checking for as... (cached) /usr/ccs/bin/as
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... no
checking for objdump... no
checking for readelf... no
checking for cc... no
checking for gcc... gcc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... no
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
dclarke@unreal $ 


The gmake fials real real fast : 

$ /usr/bin/time -p gmake -j 8 

.
.
.gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/libiberty'
checking for inttypes.h... gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/fixincludes'
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixincl.c
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixtests.c
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixfixes.c
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/server.c
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/procopen.c
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixlib.c
rm -f ./libiberty.a pic/./libiberty.a
/usr/ccs/bin/ar rc ./libiberty.a \
  ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./memmem.o ./mempcpy.o ./mkstemps.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./setproctitle.o
yes
ranlib ./libiberty.a
if [ x"-fPIC" != x ]; then \
  cd pic; \
  /usr/ccs/bin/ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./memmem.o ./mempcpy.o ./mkstemps.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./setproctitle.o; \
  ranlib ./libiberty.a; \
  cd ..; \
else true; fi
checking for stdint.h... gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/libiberty'
gcc -m64 -g -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -I/usr/local/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.2/fixincludes -I../include -I../../../gcc-4.7.2/fixincludes/../include ../../../gcc-4.7.2/fixincludes/fixopts.c
yes
srcdir="../../../gcc-4.7.2/fixincludes" /opt/csw/bin/bash ../../../gcc-4.7.2/fixincludes/mkfixinc.sh sparc64-sun-solaris2.10
checking for unistd.h... sed -e 's/@gcc_version@/4.7.2/' < mkheaders.almost > mkheadersT
mv -f mkheadersT mkheaders
gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
/usr/local/bin/gmake  all-am
yes
gmake[4]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
/opt/csw/bin/bash ./libtool --tag=CC --tag=disable-static  --mode=compile gcc -m64 -g -DHAVE_CONFIG_H -I. -I../../gcc-4.7.2/lto-plugin  -I../../gcc-4.7.2/lto-plugin/../include -DHAVE_CONFIG_H -I/usr/local/include -Wall -g -fkeep-inline-functions -c -o lto-plugin.lo ../../gcc-4.7.2/lto-plugin/lto-plugin.c
checking minix/config.h usability... ./libtool: line 519: CDPATH: command not found
./libtool: line 923: libtool: ignoring unknown tag disable-static: command not found
libtool: Version mismatch error.  This is libtool 2.2.7a, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a
libtool: and run autoconf again.
gmake[4]: *** [lto-plugin.lo] Error 63
gmake[4]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
gmake[2]: *** [all-stage1-lto-plugin] Error 2
gmake[2]: *** Waiting for unfinished jobs....
no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
checking whether gcc -m64 -g supports -W... yes
checking whether gcc -m64 -g supports -Wall... yes
checking whether gcc -m64 -g supports -Wnarrowing... yes
checking whether gcc -m64 -g supports -Wwrite-strings... yes
checking whether gcc -m64 -g supports -Wmissing-format-attribute... yes
checking whether gcc -m64 -g supports -Wstrict-prototypes... yes
checking whether gcc -m64 -g supports -Wmissing-prototypes... yes
checking whether gcc -m64 -g supports -Wold-style-definition... gcc -m64 -g -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/build-sparc64-sun-solaris2.10/fixincludes'
yes
checking whether gcc -m64 -g supports -Wc++-compat... yes
checking whether gcc -m64 -g supports -pedantic -Wlong-long... yes
checking whether gcc -m64 -g supports -fno-exceptions... yes
checking whether gcc -m64 -g supports -fno-rtti... yes
checking dependency style of gcc -m64 -g... gcc3
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for obstacks... no
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uintptr_t... yes
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of int... 4
checking size of long... 8
checking for clearerr_unlocked... no
checking for feof_unlocked... no
checking for ferror_unlocked... no
checking for fflush_unlocked... no
checking for fgetc_unlocked... no
checking for fgets_unlocked... no
checking for fileno_unlocked... no
checking for fprintf_unlocked... no
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fread_unlocked... no
checking for fwrite_unlocked... no
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking whether abort is declared... yes
checking whether asprintf is declared... yes
checking whether basename is declared... no
checking whether errno is declared... no
checking whether getopt is declared... yes
checking whether vasprintf is declared... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgetc_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fileno_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for nl_langinfo and CODESET... yes
checking whether NLS is requested... no
checking for uchar... 
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depdir commands
mkdir .deps
gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002'
gmake: *** [all] Error 2

real 118.53
user 166.40
sys 47.70

So here we see some complaint about libtool of all things. 

endless battle .. is what this is 

dc



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21 16:41   ` Dennis Clarke
  2012-11-21 17:36     ` Dennis Clarke
@ 2012-11-21 18:17     ` Ryan Johnson
  2012-11-21 18:24       ` Dennis Clarke
  1 sibling, 1 reply; 10+ messages in thread
From: Ryan Johnson @ 2012-11-21 18:17 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Eric Botcazou, gcc-help, iant, jwakely.gcc

On 21/11/2012 11:41 AM, Dennis Clarke wrote:
>
> ----- Original Message -----
> From: Eric Botcazou <ebotcazou@adacore.com>
> Date: Wednesday, November 21, 2012 3:07 am
> Subject: Re: gcc 4.7.2 fails to bootstrap in stage 1
> To: Dennis Clarke <dclarke@blastwave.org>
> Cc: gcc-help@gcc.gnu.org, ryan.johnson@cs.utoronto.ca, iant@google.com, jwakely.gcc@gmail.com
>
>
>>> Well I gave this a try :
>>>
>>> $ date
>>> Tue Nov 20 23:31:22 GMT 2012
>>> $
>>> $ gas --version
>>> GNU assembler (GNU Binutils) 2.23.1
>>> Copyright 2012 Free Software Foundation, Inc.
>>> This program is free software; you may redistribute it under the
>> terms of
>>> the GNU General Public License version 3 or later.
>>> This program has absolutely no warranty.
>>> This assembler was configured for a target of `sparc64-sun-solaris2.10'.
>>> $
>>> $ which ld
>>> /usr/ccs/bin/ld
>>> $
>>> $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure
>>> --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
>>>> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
>>>> --disable-nls --enable-threads=posix \ --enable-shared
>>>> --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4
>>>> --without-gnu-ld \ --with-as=/usr/local/bin/gas
>>>> --with-ld=/usr/ccs/bin/ld \
>>>> --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 23\:31\:22\ GMT\
>>>> 2012 \ --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
>>> [..].
>>> That fails in the same way in the same place.
>> So what's the error in the end?  Your longish messages don't show it AFAICS.
> regardless this situation just keeps getting worse and worse.
>
> I can chose to use gas or as and either way the build fails in stage 1 either with
> a pile of noises about sed or with something even more interesting :
If it's complaining about sed, you've probably path issue (sed vs gsed) 
and messing with binutils won't help.

>
>
> .
> .
> .
>
> gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/gcc'
> mkdir sparc64-sun-solaris2.10/libgcc
> Checking multilib configuration for libgcc...
> Configuring stage 1 in sparc64-sun-solaris2.10/libgcc
> configure: creating cache ./config.cache
> checking build system type... sparc64-sun-solaris2.10
> checking host system type... sparc64-sun-solaris2.10
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh -c
> checking for gawk... gawk
> checking for sparc64-sun-solaris2.10-ar... ar
> checking for sparc64-sun-solaris2.10-lipo... lipo
> checking for sparc64-sun-solaris2.10-nm... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/nm
> checking for sparc64-sun-solaris2.10-ranlib... ranlib
> checking for sparc64-sun-solaris2.10-strip... strip
> checking whether ln -s works... yes
> checking for sparc64-sun-solaris2.10-gcc... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/xgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/./gcc/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include
> checking for suffix of object files... configure: error: in `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003/sparc64-sun-solaris2.10/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> gmake[2]: *** [configure-stage1-target-libgcc] Error 1
> gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
> gmake[1]: *** [stage1-bubble] Error 2
> gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.003'
> gmake: *** [all] Error 2
>
> So I think the issue may be in the GNU stack that I have built, though I know not where.
You might try looking in config.log, which would contain the actual 
error message and could easily point to something mundane (like a broken 
sed or grep).

Ryan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21 18:17     ` Ryan Johnson
@ 2012-11-21 18:24       ` Dennis Clarke
  0 siblings, 0 replies; 10+ messages in thread
From: Dennis Clarke @ 2012-11-21 18:24 UTC (permalink / raw)
  To: Ryan Johnson; +Cc: Eric Botcazou, gcc-help, iant, jwakely.gcc


> > So I think the issue may be in the GNU stack that I have built, 
> though I know not where.
> You might try looking in config.log, which would contain the actual 
> error message and could easily point to something mundane (like a 
> broken 
> sed or grep).

I doubt it is grep .. we fixed that thing yesterday : 

http://lists.gnu.org/archive/html/bug-grep/2012-11/msg00012.html

I only point this out because GNU stack items are broken all over the place regardless if 
you look at grep or flex or libtool or whatever. One has to wonder really. 

Dennis 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-21 17:36     ` Dennis Clarke
@ 2012-11-21 18:25       ` Ryan Johnson
  0 siblings, 0 replies; 10+ messages in thread
From: Ryan Johnson @ 2012-11-21 18:25 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Eric Botcazou, gcc-help, iant, jwakely.gcc

On 21/11/2012 12:36 PM, Dennis Clarke wrote:
> gmake[4]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
> /opt/csw/bin/bash ./libtool --tag=CC --tag=disable-static  --mode=compile gcc -m64 -g -DHAVE_CONFIG_H -I. -I../../gcc-4.7.2/lto-plugin  -I../../gcc-4.7.2/lto-plugin/../include -DHAVE_CONFIG_H -I/usr/local/include -Wall -g -fkeep-inline-functions -c -o lto-plugin.lo ../../gcc-4.7.2/lto-plugin/lto-plugin.c
> ./libtool: line 519: CDPATH: command not found
> ./libtool: line 923: libtool: ignoring unknown tag disable-static: command not found
> libtool: Version mismatch error.  This is libtool 2.2.7a, but the
> libtool: definition of this LT_INIT comes from an older release.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a
> libtool: and run autoconf again.
> gmake[4]: *** [lto-plugin.lo] Error 63
> gmake[4]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
> gmake[2]: *** [all-stage1-lto-plugin] Error 2
> gmake[2]: *** Waiting for unfinished jobs....

> So here we see some complaint about libtool of all things.
That's a pretty actionable error message... which I have to assume you 
did not act on before posting, based on available information.

Please perform basic debuggery before spamming the list. Even if it 
turns out to be a gcc problem, it takes longer to compose the message 
than to fix things like this, and delivering a compiled list of 
workarounds at the end is far more useful to everyone (including you if 
you ever need to do this again) than a bunch of screen dumps showing 
basic error messages.

Ryan

P.S. This message and the previous hint pretty strongly that you've got 
some messed up paths and/or package installs that have little or nothing 
to do with gcc, other than perhaps the latter requiring non-braindead 
versions of grep/sed/etc.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-20  8:31     ` Eric Botcazou
@ 2012-11-20 17:47       ` Dennis Clarke
  0 siblings, 0 replies; 10+ messages in thread
From: Dennis Clarke @ 2012-11-20 17:47 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc


> If GNU as in your PATH, --with-gnu-as is sufficient; otherwise, you 
> need to 
> use --with-as=/usr/local/bin/gas (and --with-gnu-as is superfluous).
> 
> I suspect that GNU ld is in your PATH and conflicts with 
> --without-gnu-ld, so 
> you need to remove it from your PATH or use --with-ld=[...].

ah ha .. well I want to use the Sun provided linker as there were long standing problems with GNU ld in the Solaris world. Not sure if I can dig up the bugs but /usr/ccs/bin/ld is supposed to work perfectly. The assembler however is another matter and I will try your changes. 

dc

ps: thank you once again 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-20  6:07   ` gcc 4.7.2 fails to bootstrap in stage 1 Dennis Clarke
@ 2012-11-20  8:31     ` Eric Botcazou
  2012-11-20 17:47       ` Dennis Clarke
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Botcazou @ 2012-11-20  8:31 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc

> Then I tried to bootstap gcc again by using this gcc 4.7.2 and gas and was
> surprised to see the process fail in stage1 :
> [...]
> $
> $ which gas
> /usr/local/bin/gas
> $
> $ gas --version
> GNU assembler (GNU Binutils) 2.23.1
> Copyright 2012 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `sparc64-sun-solaris2.10'.
> 
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/local/gcc4/lib/gcc/sparc64-sun-solaris2.10/4.7.2/lt
> o-wrapper Target: sparc64-sun-solaris2.10
> Configured with: ../gcc-4.7.2/configure --prefix=/usr/local/gcc4
> --build=sparc64-sun-solaris2.10 --without-gnu-as --without-gnu-ld
> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
> --with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix
> --enable-shared --libdir=/usr/local/gcc4/lib
> --libexecdir=/usr/local/gcc4/lib --with-pkgversion='Blastwave.org Inc. Thu
> Nov 15 21:54:55 GMT 2012' --with-bugurl=http://www.blastwave.org/support
> --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap Thread model:
> posix
> gcc version 4.7.2 (Blastwave.org Inc. Thu Nov 15 21:54:55 GMT 2012)
> 
> $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure \
> 
> > --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> > --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \
> > --disable-nls --enable-threads=posix --enable-shared \
> > --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> > --without-gnu-ld --with-gnu-as=/usr/local/bin/gas \
> > --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 05\:29\:02\ GMT\
> > 2012 \ --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap

--with-gnu-as and -with-gnu-ld don't take arguments.  When you need to specify 
assembler or linker, you need to use --with-as=[...] and --with-ld=[...] and, 
in this case, --with-gnu-as and -with-gnu-ld become superfluous since the 
configure script will autodetect.

If GNU as in your PATH, --with-gnu-as is sufficient; otherwise, you need to 
use --with-as=/usr/local/bin/gas (and --with-gnu-as is superfluous).

I suspect that GNU ld is in your PATH and conflicts with --without-gnu-ld, so 
you need to remove it from your PATH or use --with-ld=[...].

-- 
Eric Botcazou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* gcc 4.7.2 fails to bootstrap in stage 1
  2012-11-17 23:41 ` Eric Botcazou
@ 2012-11-20  6:07   ` Dennis Clarke
  2012-11-20  8:31     ` Eric Botcazou
  0 siblings, 1 reply; 10+ messages in thread
From: Dennis Clarke @ 2012-11-20  6:07 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc-help, ryan.johnson, iant, jwakely.gcc


> >     So after a pile of noises made I was ableto finally posts ome 
> sort of result :
> > 
> >         http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg01367.html
> > 
> >     Not exactly what I was hoping for but it seems to be a step in 
> the right
> > direction. Notice that I gave up on the --disable-multilib option 
> and did
> > embrace the --disable-nls which allowed stage 1 to complete.
> > 
> > Not too sure what to make of all those failures with g++ or gcc for 
> that
> > matter. Everything else was flawless.
> 
> I think that the visibility failures are expected - because of the 
> antiquated 
> assembler.  You need to use the GNU assembler if you want to have all 
> the 
> fancy C++ features, as well as other advanced features.

I have built gas thus : 

$ gas --version                
GNU assembler (GNU Binutils) 2.23.1
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-sun-solaris2.10'.

Then I tried to bootstap gcc again by using this gcc 4.7.2 and gas and was surprised to see the process fail in stage1 : 

$ cd gcc-4.7.2_sparc64-sun-solaris2.10.002/
$ env | sort 
AS=/usr/local/bin/gas
BUILD=/usr/local/build
CC=gcc
COLUMNS=124
CONFIG_SHELL=/bin/bash
CPPFLAGS=-I/usr/local/include -I/usr/local/gcc4/include
CXX=g++
EDITOR=/usr/xpg4/bin/vi
GREP=/usr/local/bin/grep
HOME=/export/home/dclarke
LANG=C
LC_ALL=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
LD=/usr/ccs/bin/ld
LD_OPTIONS=-R/usr/local/gcc4/lib/$ISALIST:/usr/local/gcc4/lib:/usr/local/lib -L/usr/local/gcc4/lib/$ISALIST:/usr/local/gcc4/lib:/usr/local/lib
LD_RUN_PATH=/usr/local/gcc4/lib/$ISALIST:/usr/local/gcc4/lib:/usr/local/lib
LIBTOOL=/usr/local/bin/libtool
LINES=43
LOGNAME=dclarke
M4=/usr/local/bin/gm4
MACHTYPE=sparc-sun-solaris
MAIL=/usr/mail/dclarke
MAKE=/usr/local/bin/gmake
MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man
NM=/usr/ccs/bin/nm -p
OSTYPE=solaris
PAGER=/usr/xpg4/bin/more
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/gcc4/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin:/usr/local/texlive/2012/bin/sparc-solaris
PERL=/usr/local/bin/perl
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PWD=/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002
SED=/usr/local/bin/gsed
SHELL=/bin/ksh
SRC=/usr/local/src
TERM=vt100
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
WINDOW=3
_=/usr/xpg4/bin/env
$ 
$ which gcc
/usr/local/gcc4/bin/gcc
$ gcc --version 
gcc (Blastwave.org Inc. Thu Nov 15 21:54:55 GMT 2012) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ 
$ which gas 
/usr/local/bin/gas
$ 
$ gas --version 
GNU assembler (GNU Binutils) 2.23.1
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-sun-solaris2.10'.
 
$ gcc -v 
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc4/lib/gcc/sparc64-sun-solaris2.10/4.7.2/lto-wrapper
Target: sparc64-sun-solaris2.10
Configured with: ../gcc-4.7.2/configure --prefix=/usr/local/gcc4 --build=sparc64-sun-solaris2.10 --without-gnu-as --without-gnu-ld --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix --enable-shared --libdir=/usr/local/gcc4/lib --libexecdir=/usr/local/gcc4/lib --with-pkgversion='Blastwave.org Inc. Thu Nov 15 21:54:55 GMT 2012' --with-bugurl=http://www.blastwave.org/support --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
Thread model: posix
gcc version 4.7.2 (Blastwave.org Inc. Thu Nov 15 21:54:55 GMT 2012) 
 
$ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure \
> --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \
> --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \
> --disable-nls --enable-threads=posix --enable-shared \
> --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> --without-gnu-ld --with-gnu-as=/usr/local/bin/gas \
> --with-pkgversion=Blastwave.org\ Inc.\ Tue\ Nov\ 20\ 05\:29\:02\ GMT\ 2012 \
> --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking target system type... sparc64-sun-solaris2.10
checking for a BSD-compatible install... ../gcc-4.7.2/install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... gawk
checking for libitm support... yes
checking for gcc... gcc -m64
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 gcc -m64 accepts -g... yes
checking for gcc -m64 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 accepts -g... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,ada,c++,fortran,lto,objc
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgo target-libffi target-zlib target-libjava target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for bison... bison -y
checking for bison... bison
checking for gm4... /usr/local/bin/gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... ar
checking for as... (cached) /usr/local/bin/gas
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for lipo... no
checking for nm... (cached) /usr/ccs/bin/nm -p
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... no
checking for objdump... no
checking for readelf... no
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... no
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
$

I was hoping for a nice easy clean bootstrap .. but no : 

Well into stage 1 I see : 

.
.
.
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 -E
checking for ld used by /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld
checking if the linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld) is GNU ld... no
checking whether the /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld) supports shared libraries... yes
checking for /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 option to produce PIC... -fPIC -DPIC
checking if /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 static flag -static works... no
checking if /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 supports -c -o file.o... yes
checking if /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 supports -c -o file.o... (cached) yes
checking whether the /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -shared-libgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc -nostdinc++ -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src -L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/src/.libs -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32 linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for exception model to use... call frame
checking for compiler with PCH support... yes
checking for enabled PCH... yes
checking for thread model used by GCC... posix
checking for atomic builtins for bool... yes
checking for atomic builtins for short... yes
checking for atomic builtins for int... yes
checking for atomic builtins for long long... yes
checking for ISO/IEC TR 24733 ... no
checking for __int128... no
checking for __float128... no
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for underlying I/O to use... stdio
checking for C locale to use... generic
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for enabled wchar_t specializations... yes
checking for sin in -lm... yes
checking for ISO C99 support in <math.h>... yes
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h>... yes
checking for ISO C99 support in <stdio.h>... yes
checking for ISO C99 support in <stdlib.h>... yes
checking for ISO C99 support in <wchar.h>... yes
checking for fully enabled ISO C99 support... yes
configure: Debug build flags set to -gdwarf-4 -g3 -O0
checking for additional debug build... no
checking for parallel mode support... yes
checking for extra compiler flags for building... 
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... yes
checking for float std::abs(float) overload... yes
checking for long std::abs(long) overload... yes
checking for gets declaration... yes
checking for EOWNERDEAD... yes
checking for ENOTRECOVERABLE... yes
checking for ENOLINK... yes
checking for EPROTO... yes
checking for ENODATA... yes
checking for ENOSR... yes
checking for ENOSTR... yes
checking for ETIME... yes
checking for EBADMSG... yes
checking for ECANCELED... yes
checking for EOVERFLOW... yes
checking for ENOTSUP... yes
checking for EIDRM... yes
checking for ETXTBSY... yes
checking for ECHILD... yes
checking for ENOSPC... yes
checking for EPERM... yes
checking for ETIMEDOUT... yes
checking for EWOULDBLOCK... yes
checking for int64_t... yes
checking for int64_t as long... checking for int64_t as long long... yes
checking for LFS support... 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 for poll... yes
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking for complex.h... (cached) yes
checking for ISO C99 support to TR1 in <complex.h>... yes
checking for ISO C99 support to TR1 in <ctype.h>... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for ISO C99 support to TR1 in <fenv.h>... yes
checking for ISO C99 support to TR1 in <stdint.h>... yes
checking for ISO C99 support to TR1 in <math.h>... yes
checking for ISO C99 support to TR1 in <inttypes.h>... yes
checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2
checking for gettimeofday... checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for clock_gettime, nanosleep and sched_yield... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for get_nprocs... no
checking for unistd.h... (cached) yes
checking for _SC_NPROCESSORS_ONLN... yes
checking for _SC_NPROC_ONLN... no
checking for pthreads_num_processors_np... no
checking for hw.ncpu sysctl... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) 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 nan.h usability... yes
checking nan.h presence... yes
checking for nan.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/isa_defs.h usability... yes
checking sys/isa_defs.h presence... yes
checking for sys/isa_defs.h... yes
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for ld used by /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/xgcc -B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -B/usr/local/gcc4/sparc64-sun-solaris2.10/lib/ -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/include -isystem /usr/local/gcc4/sparc64-sun-solaris2.10/sys-include  -m32... (cached) /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld
checking if the linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld) is GNU ld... (cached) no
checking for sin in -lm... (cached) yes
checking for isinf declaration... no
checking for _isinf declaration... no
checking for isnan declaration... no
checking for _isnan declaration... no
checking for finite declaration... yes
checking for finite... 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 modf declaration... no
checking for _modf declaration... no
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 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 strtold declaration... yes
checking for strtold... yes
checking for strtof declaration... yes
checking for strtof... yes
checking for "/dev/random" and "/dev/urandom" for TR1 random_device... yes
checking whether the target supports thread-local storage... yes
checking for ld used by GCC... /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld
checking if the linker (/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/./gcc/collect-ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking for GNU c++filt... /usr/local/bin/gc++filt
checking for shared libgcc... yes
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is sun
checking for size_t as unsigned int... yes
checking for ptrdiff_t as int... yes
checking whether the target supports hidden visibility... yes
configure: visibility supported: yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... no
checking for RLIMIT_VMEM... yes
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
checking whether it can be safely assumed that mutex_timedlock is available... yes
checking for gthreads library... yes
checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000
checking for modern makeinfo... yes
checking for doxygen... no
checking for dot... no
checking for xsltproc... yes
checking for xmllint... yes
checking for docbook stylesheets for documentation creation... no
checking for local stylesheet directory... no
checking for epub3 stylesheets for documentation creation... no
checking for dblatex... no
checking for pdflatex... yes
configure: 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++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/testsuite_flags
config.status: creating scripts/extract_symvers
config.status: creating include/Makefile
Adding multilib support to include/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating libsupc++/Makefile
Adding multilib support to libsupc++/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/Makefile
Adding multilib support to src/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/c++98/Makefile
Adding multilib support to src/c++98/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating src/c++11/Makefile
Adding multilib support to src/c++11/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../gcc-4.7.2/libstdc++-v3
with_multisubdir=sparcv8plus
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr.h > sparc64-sun-solaris2.10/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-single.h > sparc64-sun-solaris2.10/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-posix.h > sparc64-sun-solaris2.10/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/../libgcc/gthr-default.h > sparc64-sun-solaris2.10/bits/gthr-default.h
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/sparcv8plus/libstdc++-v3/include'
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
gmake[3]: Entering directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr.h > sparc64-sun-solaris2.10/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-single.h > sparc64-sun-solaris2.10/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /usr/local/build/gcc-4.7.2/libstdc++-v3/../libgcc/gthr-posix.h > sparc64-sun-solaris2.10/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/libstdc++-v3/../libgcc/gthr-default.h > sparc64-sun-solaris2.10/bits/gthr-default.h
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002/sparc64-sun-solaris2.10/libstdc++-v3/include'
gmake[2]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.002'
gmake: *** [all] Error 2

Not sure what to make of that. 

I will say that I used my gcc 4.7.2 result to build GNU binutils 2.23.1 with excellent test results and was really surprised to see this fail in stage 1. 
 
> The gnat.dg/lto14.adb failure is also expected (it's adjusted on the branch).

I'll work forwards on this one step at a time and just go with the golden source of 4.7.2 for now. 

> The g++.dg/cpp0x/nullptr28.C and libgomp.c/sort-1.c failures aren't expected.

hrmmm .. another mystery for later. 

dc

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-11-21 18:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21  2:35 gcc 4.7.2 fails to bootstrap in stage 1 Dennis Clarke
2012-11-21  8:07 ` Eric Botcazou
2012-11-21 16:41   ` Dennis Clarke
2012-11-21 17:36     ` Dennis Clarke
2012-11-21 18:25       ` Ryan Johnson
2012-11-21 18:17     ` Ryan Johnson
2012-11-21 18:24       ` Dennis Clarke
  -- strict thread matches above, loose matches on Subject: below --
2012-11-17 22:02 A not so stellar result on Solaris 10 Dennis Clarke
2012-11-17 23:41 ` Eric Botcazou
2012-11-20  6:07   ` gcc 4.7.2 fails to bootstrap in stage 1 Dennis Clarke
2012-11-20  8:31     ` Eric Botcazou
2012-11-20 17:47       ` Dennis Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).