public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
@ 2012-11-12 21:29 dclarke at blastwave dot org
  2012-11-12 21:49 ` [Bug c/55293] Attempt to bootstrap GCC 4.7.2 " redi at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-12 21:29 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55293
           Summary: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails
                    with gcc/pretty-print.c:954:28: error: invalid
                    conversion from 'char**' to 'const char**'
                    [-fpermissive]
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dclarke@blastwave.org


On a Solaris 10 server : 

$ uname -a 
SunOS node002 5.10 Generic_147440-23 sun4v sparc SUNW,T5240

With gcc 4.5.1 from Blastwave : 

$ which gcc 
/opt/csw/gcc4/bin/gcc
$ gcc --version
gcc (Blastwave.org Inc. Mon Aug  9 07:10:45 GMT 2010) 4.5.1
Copyright (C) 2010 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.

See test report filed :

    http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01023.html

With gmp-5.0.5, mpfr-3.1.1, and mpc-1.0.1 all previously built, tested clean
and installed into /usr/local.

Configure of GCC 4.7.2 looks fine thus : 

$ pwd
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou


$ CC='gcc -m64' CXX='g++ -m64' ../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 --enable-nls --enable-threads=posix --enable-shared \
> --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \
> --libexecdir=/usr/local/gcc4/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ Mon\ Nov\ 12\ 04\:18\:15\ GMT\ 2012 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support \
> --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... (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... 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
$ 


Running GNU Make then results in the following stage 2 failure after seven
hours and 45 minutes: 

.
.
.
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/g++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/
-B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -nostdinc++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include/sparc64-sun-solaris2.10
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include
-I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual    -DHAVE_CONFIG_H -I. -Icommon
-I../../gcc-4.7.2/gcc -I../../gcc-4.7.2/gcc/common
-I../../gcc-4.7.2/gcc/../include -I./../intl
-I../../gcc-4.7.2/gcc/../libcpp/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include 
-I../../gcc-4.7.2/gcc/../libdecnumber -I../../gcc-4.7.2/gcc/../libdecnumber/dpd
-I../libdecnumber   -I/usr/local/include:/opt/csw/gcc4/include
../../gcc-4.7.2/gcc/common/common-targhooks.c -o common/common-targhooks.o
rm -rf libcommon-target.a
/usr/ccs/bin/ar rc libcommon-target.a sparc-common.o prefix.o params.o opts.o
opts-common.o options.o vec.o hooks.o comon/common-targhooks.o
/usr/ccs/bin/ar rc libcommon-target.a sparc-common.o prefix.o params.o opts.o
opts-common.o options.o vec.o hooks.o common/common-targhooks.o
/usr/ccs/bin/ar rc libcommon-target.a sparc-common.o prefix.o params.o opts.o
opts-common.o options.o vec.o hooks.o common/common-targhooks.o
ranlib  libcommon-target.a
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/g++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/
-B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -nostdinc++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include/sparc64-sun-solaris2.10
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include
-I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.7.2/gcc -I../../gcc-4.7.2/gcc/. -I../../gcc-4.7.2/gcc/../include
-I./../intl -I../../gcc-4.7.2/gcc/../libcpp/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include 
-I../../gcc-4.7.2/gcc/../libdecnumber -I../../gcc-4.7.2/gcc/../libdecnumber/dpd
-I../libdecnumber   -I/usr/local/include:/opt/csw/gcc4/include
../../gcc-4.7.2/gcc/diagnostic.c -o diagnostic.o
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/g++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/./prev-gcc/
-B/usr/local/gcc4/sparc64-sun-solaris2.10/bin/ -nostdinc++
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-B/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include/sparc64-sun-solaris2.10
-I/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/include
-I/usr/local/build/gcc-4.7.2/libstdc++-v3/libsupc++
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs
-L/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.7.2/gcc -I../../gcc-4.7.2/gcc/. -I../../gcc-4.7.2/gcc/../include
-I./../intl -I../../gcc-4.7.2/gcc/../libcpp/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include 
-I../../gcc-4.7.2/gcc/../libdecnumber -I../../gcc-4.7.2/gcc/../libdecnumber/dpd
-I../libdecnumber   -I/usr/local/include:/opt/csw/gcc4/include
../../gcc-4.7.2/gcc/pretty-print.c -o pretty-print.o
../../gcc-4.7.2/gcc/pretty-print.c: In function 'const char*
identifier_to_locale(const char*)':
../../gcc-4.7.2/gcc/pretty-print.c:954:28: error: invalid conversion from
'char**' to 'const char**' [-fpermissive]
gmake[3]: *** [pretty-print.o] Error 1
gmake[3]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou'
gmake: *** [all] Error 2

real 27941.42
user 24133.86
sys 713.93


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
@ 2012-11-12 21:49 ` redi at gcc dot gnu.org
  2012-11-12 21:50 ` redi at gcc dot gnu.org
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-12 21:49 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-12 21:48:46 UTC ---
Solaris defines a non-standard iconv() signature unless you request POSIX 2001

Try adding -D_XOPEN_SOURCE=600 to the compilation flags


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
  2012-11-12 21:49 ` [Bug c/55293] Attempt to bootstrap GCC 4.7.2 " redi at gcc dot gnu.org
@ 2012-11-12 21:50 ` redi at gcc dot gnu.org
  2012-11-12 22:07 ` dclarke at blastwave dot org
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-12 21:50 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-12 21:50:08 UTC ---
Or -D_POSIX_C_SOURCE=200112L


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
  2012-11-12 21:49 ` [Bug c/55293] Attempt to bootstrap GCC 4.7.2 " redi at gcc dot gnu.org
  2012-11-12 21:50 ` redi at gcc dot gnu.org
@ 2012-11-12 22:07 ` dclarke at blastwave dot org
  2012-11-12 22:10 ` dclarke at blastwave dot org
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-12 22:07 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-12 22:07:29 UTC ---
OKay, I am extracting a fresh gcc 4.7.2 tarball and then running a new
bootstrap with the defines suggested.  Results should appear in seven hours or
so, however I am hoping for results in 24 hours as that would be a full three
stage bootstrap.


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (2 preceding siblings ...)
  2012-11-12 22:07 ` dclarke at blastwave dot org
@ 2012-11-12 22:10 ` dclarke at blastwave dot org
  2012-11-12 22:44 ` dclarke at blastwave dot org
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-12 22:10 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-12 22:10:01 UTC ---
bootstrap fails in 71 seconds : 

$ mkdir gcc-4.7.2_sparc64-sun-solaris2.10
$ cd gcc-4.7.2_sparc64-sun-solaris2.10
$ env | sort > ../gcc-4.7.2_sparc64-sun-solaris2.10.env
$ ls -la
total 20
drwxr-xr-x   2 dclarke  other          2 Nov 12 21:58 .
drwxrwxr-x 138 root     adbs         247 Nov 12 21:58 ..
$
$ pwd 
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10
$ uname -a 
SunOS node002 5.10 Generic_147440-23 sun4v sparc SUNW,T5240
$ 
$ env | sort 
AR=/usr/ccs/bin/ar
AS=/usr/ccs/bin/as
BUILD=/usr/local/build
CC=/opt/csw/gcc4/bin/gcc
COLUMNS=124
CONFIG_SHELL=/bin/bash
CPPFLAGS=-I/usr/local/include:/opt/csw/gcc4/include
CXX=/opt/csw/gcc4/bin/g++
EDITOR=/usr/xpg4/bin/vi
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_LIBRARY_PATH=/usr/local/lib:/opt/csw/gcc4/lib/sparcv9:/opt/csw/gcc4/lib
LD_OPTIONS=-R/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST:/opt/csw/gcc4/lib
-L/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST:/opt/csw/gcc4/lib
LD_RUN_PATH=/usr/local/lib:/opt/csw/gcc4/lib/$ISALIST
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
OSTYPE=solaris
PAGER=/usr/xpg4/bin/more
PATH=/opt/csw/gcc4/bin:/usr/local/bin:/usr/local/sbin:/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
SED=/usr/local/bin/gsed
SHELL=/bin/ksh
SRC=/usr/local/src
SSH_CLIENT=66.103.52.207 33595 22
SSH_CONNECTION=66.103.52.207 33595 66.225.151.250 22
SSH_TTY=/dev/pts/1
STY=4301.pts-1.node002
TERM=vt100
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
WINDOW=3
_=/usr/xpg4/bin/env
$ 
$ which gcc
/opt/csw/gcc4/bin/gcc
$ 
$ gcc --version 
gcc (Blastwave.org Inc. Mon Aug  9 07:10:45 GMT 2010) 4.5.1
Copyright (C) 2010 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.

$ 
$ ls -lad ../gcc-4.7.2 
drwxr-xr-x  33 dclarke  other         75 Oct 29 04:04 ../gcc-4.7.2
$ 
$ which as 
/usr/ccs/bin/as
$ which ld 
/usr/ccs/bin/ld
$ 
$ echo $CFLAGS 

$ echo $CXXFLAGS 

$ 
$ CC='gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs
-mcpu=v9 -D_TS_ERRNO' \
> CXX='g++ -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> ../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 --enable-nls --enable-threads=posix --enable-shared \
> --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \
> --libexecdir=/usr/local/gcc4/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ Mon\ Nov\ 12\ 22\:02\:41\ GMT\ 2012 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support \
> --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 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO
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 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes
checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO 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... 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... (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... 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
$ 
$ /usr/bin/time -p gmake ^C
$ date -u 
Mon Nov 12 22:04:49 GMT 2012
$ /usr/bin/time -p gmake
[ -f stage_final ] || echo stage3 > stage_final
gmake[1]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[2]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[2]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[2]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
Configuring stage 1 in ./intl
configure: creating cache ./config.cache
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh
-c
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO
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 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes
checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for off_t... no
checking for size_t... no
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) no
checking for unistd.h... (cached) no
checking for getpagesize... no
checking for working mmap... no
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unsigned long long... yes
checking for inttypes.h... no
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 argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... no
checking limits.h presence... no
checking for limits.h... no
checking locale.h usability... no
checking locale.h presence... no
checking for locale.h... no
checking nl_types.h usability... no
checking nl_types.h presence... yes
configure: WARNING: nl_types.h: present but cannot be compiled
configure: WARNING: nl_types.h:     check for missing prerequisite headers?
configure: WARNING: nl_types.h: see the Autoconf documentation
configure: WARNING: nl_types.h:     section "Present But Cannot Be Compiled"
configure: WARNING: nl_types.h: proceeding with the compiler's result
checking for nl_types.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... no
checking stddef.h presence... yes
configure: WARNING: stddef.h: present but cannot be compiled
configure: WARNING: stddef.h:     check for missing prerequisite headers?
configure: WARNING: stddef.h: see the Autoconf documentation
configure: WARNING: stddef.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stddef.h: proceeding with the compiler's result
checking for stddef.h... no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for unistd.h... (cached) no
checking sys/param.h usability... no
checking sys/param.h presence... no
checking for sys/param.h... no
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getc_unlocked... no
checking for getcwd... no
checking for getegid... no
checking for geteuid... no
checking for getgid... no
checking for getuid... no
checking for mempcpy... no
checking for munmap... no
checking for putenv... no
checking for setenv... no
checking for setlocale... no
checking for stpcpy... no
checking for strcasecmp... no
checking for strdup... no
checking for strtoul... no
checking for tsearch... no
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for __fsetlocking... no
checking for iconv... no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... no
checking for bison... bison
checking version of bison... 2.6.5, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking whether to use NLS... yes
checking where the gettext function comes from... included intl directory
checking for aclocal... aclocal
checking for autoconf... autoconf
checking for autoheader... autoheader
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.intl
config.status: creating config.h
config.status: executing default-1 commands
Configuring stage 1 in ./lto-plugin
configure: creating cache ./config.cache
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... /usr/local/build/gcc-4.7.2/install-sh
-c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../../gcc-4.7.2/lto-plugin/../install-sh
-c -d
checking for gawk... gawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO
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 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes
checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported
checking for style of include used by /usr/local/bin/gmake... GNU
checking dependency style of gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wall... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-g -mno-app-regs -mcpu=v9 -D_TS_ERRNO... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for sparc64-sun-solaris2.10-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for sparc64-sun-solaris2.10-ar... /usr/ccs/bin/ar
checking for sparc64-sun-solaris2.10-strip... no
checking for strip... strip
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking command to parse nm output from gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO object... failed
checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -fno-rtti -fno-exceptions... no
checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to produce PIC... -fPIC -DPIC
checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO PIC flag -fPIC -DPIC works... yes
checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO static flag -static works... no
checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -c -o file.o... yes
checking if gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -c -o file.o... (cached) yes
checking whether the gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO linker (/usr/ccs/bin/ld -64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
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 for int64_t... no
checking for uint64_t... no
checking for sys/wait.h that is POSIX.1 compatible... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Configuring stage 1 in ./libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000
checking for perl... /usr/local/bin/perl
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking for sparc64-sun-solaris2.10-ar... /usr/ccs/bin/ar
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking for sparc64-sun-solaris2.10-gcc... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO
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 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g... yes
checking for gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept ISO C89... unsupported
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking how to run the C preprocessor... gcc -m64 -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO -E -traditional-cpp
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -W... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wall... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wwrite-strings... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wc++-compat... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -Wstrict-prototypes... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO supports -pedantic ... yes
checking whether gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g
-mno-app-regs -mcpu=v9 -D_TS_ERRNO and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... yes
checking for unistd.h... no
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... /usr/local/build/gcc-4.7.2/install-sh
-c
checking for sys/file.h... no
checking for sys/param.h... no
checking for limits.h... no
checking for stdlib.h... (cached) no
checking for malloc.h... no
checking for string.h... (cached) no
checking for unistd.h... (cached) no
checking for strings.h... (cached) no
checking for sys/time.h... no
checking for time.h... no
checking for sys/resource.h... no
checking for sys/stat.h... (cached) no
checking for sys/mman.h... no
checking for fcntl.h... no
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... no
checking for process.h... no
checking for sys/prctl.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... no
checking size of int... 0
checking for a 64-bit type... uint64_t
checking for intptr_t... no
checking for uintptr_t... no
checking for ssize_t... no
checking for pid_t... no
checking for library containing strerror... none required
checking for asprintf... no
checking for atexit... no
checking for basename... no
checking for bcmp... no
checking for bcopy... no
checking for bsearch... no
checking for bzero... no
checking for calloc... no
checking for clock... no
checking for ffs... no
checking for getcwd... no
checking for getpagesize... no
checking for gettimeofday... no
checking for index... no
checking for insque... no
checking for memchr... no
checking for memcmp... no
checking for memcpy... no
checking for memmem... no
checking for memmove... no
checking for mempcpy... no
checking for memset... no
checking for mkstemps... no
checking for putenv... no
checking for random... no
checking for rename... no
checking for rindex... no
checking for setenv... no
checking for snprintf... no
checking for sigsetmask... no
checking for stpcpy... no
checking for stpncpy... no
checking for strcasecmp... no
checking for strchr... no
checking for strdup... no
checking for strncasecmp... no
checking for strndup... no
checking for strrchr... no
checking for strstr... no
checking for strtod... no
checking for strtol... no
checking for strtoul... no
checking for strverscmp... no
checking for tmpnam... no
checking for vasprintf... no
checking for vfprintf... no
checking for vprintf... no
checking for vsnprintf... no
checking for vsprintf... no
checking for waitpid... no
checking for setproctitle... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for _doprnt... no
checking for sys_errlist... no
checking for sys_nerr... no
checking for sys_siglist... no
checking for external symbol _system_configuration... no
checking for __fsetlocking... no
checking for canonicalize_file_name... no
checking for dup3... no
checking for getrlimit... no
checking for getrusage... no
checking for getsysinfo... no
checking for gettimeofday... (cached) no
checking for on_exit... no
checking for psignal... no
checking for pstat_getdynamic... no
checking for pstat_getstatic... no
checking for realpath... no
checking for setrlimit... no
checking for sbrk... no
checking for spawnve... no
checking for spawnvpe... no
checking for strerror... no
checking for strsignal... no
checking for sysconf... no
checking for sysctl... no
checking for sysmp... no
checking for table... no
checking for times... no
checking for wait3... no
checking for wait4... no
checking whether basename is declared... no
checking whether ffs is declared... no
checking whether asprintf is declared... no
checking whether vasprintf is declared... no
checking whether snprintf is declared... no
checking whether vsnprintf is declared... no
checking whether calloc is declared... no
checking whether getenv is declared... no
checking whether getopt is declared... no
checking whether malloc is declared... no
checking whether realloc is declared... no
checking whether sbrk is declared... no
checking whether strverscmp is declared... no
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) no
checking for unistd.h... (cached) no
checking for getpagesize... (cached) no
checking for working mmap... no
checking for working strncmp... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
gmake[3]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10/libiberty'
if [ x"-fPIC" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fPIC" != x ]; then \
  gcc -m64 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -g -mno-app-regs
-mcpu=v9 -D_TS_ERRNO -c -DHAVE_CONFIG_H -g -fkeep-inline-functions
-I/usr/local/include:/opt/csw/gcc4/include -I.
-I../../gcc-4.7.2/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat
-Wstrict-prototypes -pedantic  -fPIC ../../gcc-4.7.2/libiberty/regex.c -o
pic/regex.o; \
else true; fi
In file included from
/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/types.h:26:0,
                 from ../../gcc-4.7.2/libiberty/regex.c:51:
/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/feature_tests.h:350:2:
error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
applications     require the use of c99"
In file included from ../../gcc-4.7.2/libiberty/regex.c:51:0:
/opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.5.1/include-fixed/sys/types.h:502:13:
error: two or more data types in declaration specifiers
../../gcc-4.7.2/libiberty/regex.c:130:1: warning: function declaration isn't a
prototype
../../gcc-4.7.2/libiberty/regex.c:130:7: warning: conflicting types for
built-in function 'malloc'
../../gcc-4.7.2/libiberty/regex.c:131:1: warning: function declaration isn't a
prototype
../../gcc-4.7.2/libiberty/regex.c:131:7: warning: conflicting types for
built-in function 'realloc'
In file included from ../../gcc-4.7.2/libiberty/regex.c:638:0:
../../gcc-4.7.2/libiberty/regex.c: In function 'byte_regex_compile':
../../gcc-4.7.2/libiberty/regex.c:2439:7: warning: implicit declaration of
function 'free'
../../gcc-4.7.2/libiberty/regex.c:2439:33: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c:2500:17: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c:2533:36: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c:2640:28: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c:3253:25: warning: implicit declaration of
function 'strcmp'
../../gcc-4.7.2/libiberty/regex.c:3643:26: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c:4150:5: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c: In function 'byte_re_compile_fastmap':
../../gcc-4.7.2/libiberty/regex.c:4835:11: warning: implicit declaration of
function 'abort'
../../gcc-4.7.2/libiberty/regex.c:4835:11: warning: incompatible implicit
declaration of built-in function 'abort'
../../gcc-4.7.2/libiberty/regex.c: In function 'byte_re_match_2_internal':
../../gcc-4.7.2/libiberty/regex.c:7424:11: warning: incompatible implicit
declaration of built-in function 'abort'
../../gcc-4.7.2/libiberty/regex.c: In function 'xre_comp':
../../gcc-4.7.2/libiberty/regex.c:7849:5: warning: implicit declaration of
function 'strlen'
../../gcc-4.7.2/libiberty/regex.c:7849:34: warning: incompatible implicit
declaration of built-in function 'strlen'
../../gcc-4.7.2/libiberty/regex.c: In function 'xre_exec':
../../gcc-4.7.2/libiberty/regex.c:7865:19: warning: incompatible implicit
declaration of built-in function 'strlen'
../../gcc-4.7.2/libiberty/regex.c: In function 'xregcomp':
../../gcc-4.7.2/libiberty/regex.c:7964:40: warning: incompatible implicit
declaration of built-in function 'strlen'
../../gcc-4.7.2/libiberty/regex.c:7978:4: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c: In function 'xregexec':
../../gcc-4.7.2/libiberty/regex.c:8011:13: warning: incompatible implicit
declaration of built-in function 'strlen'
../../gcc-4.7.2/libiberty/regex.c:8053:7: warning: incompatible implicit
declaration of built-in function 'free'
../../gcc-4.7.2/libiberty/regex.c: In function 'xregerror':
../../gcc-4.7.2/libiberty/regex.c:8081:5: warning: incompatible implicit
declaration of built-in function 'abort'
../../gcc-4.7.2/libiberty/regex.c:8085:14: warning: incompatible implicit
declaration of built-in function 'strlen'
../../gcc-4.7.2/libiberty/regex.c: In function 'xregfree':
../../gcc-4.7.2/libiberty/regex.c:8114:3: warning: incompatible implicit
declaration of built-in function 'free'
gmake[3]: *** [regex.o] Error 1
gmake[3]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10/libiberty'
gmake[2]: *** [all-stage1-libiberty] Error 2
gmake[2]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake: *** [all] Error 2

real 71.45
user 17.65
sys 12.08
$ 

I think I should try one OR the other define but not BOTH.


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (3 preceding siblings ...)
  2012-11-12 22:10 ` dclarke at blastwave dot org
@ 2012-11-12 22:44 ` dclarke at blastwave dot org
  2012-11-12 23:07 ` dclarke at blastwave dot org
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-12 22:44 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-12 22:44:19 UTC ---
okay, exact same failure happens with -D_POSIX_C_SOURCE=200112L by itself. 

Am trying with _XOPEN_SOURCE=600 defined. Thus far ( well past 70 secs ) the
stage 1 phase seems to be running. 

So I will report what I see in seven hours or more .. hopefully a lot lot more. 

dc


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

* [Bug c/55293] Attempt to bootstrap GCC 4.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (4 preceding siblings ...)
  2012-11-12 22:44 ` dclarke at blastwave dot org
@ 2012-11-12 23:07 ` dclarke at blastwave dot org
  2012-11-12 23:58 ` [Bug bootstrap/55293] bootstrap failure: " ebotcazou at gcc dot gnu.org
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-12 23:07 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-12 23:06:56 UTC ---
the following fails also .. and it fails early : 

$ 
$ CC='gcc -m64 -g -D_XOPEN_SOURCE=600' CXX='g++ -m64 -g -D_XOPEN_SOURCE=600' \
> ../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 \
> --enable-nls --enable-threads=posix --enable-shared --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib --libexecdir=/usr/local/gcc4/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ Mon\ Nov\ 12\ 22\:56\:32\ GMT\ 2012 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support --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 -g -D_XOPEN_SOURCE=600
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 -D_XOPEN_SOURCE=600 accepts -g... yes
checking for gcc -m64 -g -D_XOPEN_SOURCE=600 option to accept ISO C89...
unsupported
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -g -D_XOPEN_SOURCE=600 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... 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... (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... 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
$ 
$


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (5 preceding siblings ...)
  2012-11-12 23:07 ` dclarke at blastwave dot org
@ 2012-11-12 23:58 ` ebotcazou at gcc dot gnu.org
  2012-11-13  0:15 ` redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-12 23:58 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-11-12
          Component|c                           |bootstrap
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1
            Summary|Attempt to bootstrap GCC    |bootstrap failure: invalid
                   |4.7.2 on Solaris 10 Sparc   |conversion from 'char**' to
                   |fails with                  |'const char**'
                   |gcc/pretty-print.c:954:28:  |[-fpermissive]
                   |error: invalid conversion   |
                   |from 'char**' to 'const     |
                   |char**' [-fpermissive]      |
   Target Milestone|---                         |4.7.3
              Build|                            |*-*-solaris2.*

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-12 23:57:53 UTC ---
The workaround is to add --disable-nls to the configure line.  That being said,
we should probably do something.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (6 preceding siblings ...)
  2012-11-12 23:58 ` [Bug bootstrap/55293] bootstrap failure: " ebotcazou at gcc dot gnu.org
@ 2012-11-13  0:15 ` redi at gcc dot gnu.org
  2012-11-13  0:21 ` ebotcazou at gcc dot gnu.org
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-13  0:15 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-13 00:15:19 UTC ---
pretty-print.c already does:

              ICONV_CONST char *inbuf = CONST_CAST (char *, ident);

and ICONV_CONST should be set to 'const' by gcc/configure (using the macros
from config/iconv.m4)

Could configure be finding GNU libiconv, with a correct signature, so
ICONV_CONST is empty, but during compilation of pretty-print.c the system
iconv.h is found instead, which needs ICONV_CONST?


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (7 preceding siblings ...)
  2012-11-13  0:15 ` redi at gcc dot gnu.org
@ 2012-11-13  0:21 ` ebotcazou at gcc dot gnu.org
  2012-11-13  6:01 ` [Bug c/55293] " dclarke at blastwave dot org
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-13  0:21 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-13 00:21:03 UTC ---
> pretty-print.c already does:
> 
>               ICONV_CONST char *inbuf = CONST_CAST (char *, ident);
> 
> and ICONV_CONST should be set to 'const' by gcc/configure (using the macros
> from config/iconv.m4)
> 
> Could configure be finding GNU libiconv, with a correct signature, so
> ICONV_CONST is empty, but during compilation of pretty-print.c the system
> iconv.h is found instead, which needs ICONV_CONST?

Yup, that's a well-known scenario on Solaris, there is a dozen of PRs about
this in the database I think.


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

* [Bug c/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (8 preceding siblings ...)
  2012-11-13  0:21 ` ebotcazou at gcc dot gnu.org
@ 2012-11-13  6:01 ` dclarke at blastwave dot org
  2012-11-13  7:21 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-13  6:01 UTC (permalink / raw)
  To: gcc-bugs


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

Dennis Clarke <dclarke at blastwave dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |c

--- Comment #10 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-13 06:01:17 UTC ---
(In reply to comment #7)
> The workaround is to add --disable-nls to the configure line.  That being said,
> we should probably do something.

Actually I just tried this : 

$ pwd
/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10
$ date -u
Tue Nov 13 03:37:19 GMT 2012

$ CC='gcc -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> CXX='g++ -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> ../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 --with-local-prefix=/usr/local/gcc4 \
> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \
> --libexecdir=/usr/local/gcc4/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ Tues\ Nov\ 13\ 03\:37\:19\ GMT\ 2012 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support \
> --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 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO
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 -mno-app-regs -mcpu=v9 -D_TS_ERRNO accepts -g...
yes
checking for gcc -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO option to accept
ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO 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... 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... (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... 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
$ 

The end result after a few hours was a different sort of failure : 

gmake[2]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[3]: Entering directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
rm -f stage_current
gmake[3]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/cp/semantics.o differs
gcc/cp/lex.o differs
gcc/cp/pt.o differs
gcc/cp/friend.o differs
gcc/cp/error.o differs
gcc/cp/name-lookup.o differs
gcc/cp/typeck.o differs
gcc/cp/optimize.o differs
gcc/cp/typeck2.o differs
gcc/cp/decl.o differs
gcc/cp/cp-lang.o differs
gcc/cp/expr.o differs
gcc/cp/cp-objcp-common.o differs
gcc/cp/ptree.o differs
gcc/cp/decl2.o differs
gcc/cp/dump.o differs
gcc/cp/cp-gimplify.o differs
gcc/cp/parser.o differs
gcc/cp/rtti.o differs
gcc/cp/repo.o differs
gcc/cp/mangle.o differs
gcc/cp/cvt.o differs
gcc/cp/cxx-pretty-print.o differs
gcc/cp/init.o differs
gcc/cp/class.o differs
gcc/cp/call.o differs
gcc/cp/search.o differs
gcc/cp/tree.o differs
gcc/cp/method.o differs
gcc/cp/except.o differs
gcc/fortran/frontend-passes.o differs
gcc/fortran/expr.o differs
gcc/fortran/symbol.o differs
gcc/fortran/misc.o differs
gcc/fortran/trans-array.o differs
gcc/fortran/iresolve.o differs
gcc/fortran/trans-expr.o differs
gcc/fortran/openmp.o differs
gcc/fortran/st.o differs
gcc/fortran/data.o differs
gcc/fortran/constructor.o differs
gcc/fortran/array.o differs
gcc/fortran/trans-openmp.o differs
gcc/fortran/error.o differs
gcc/fortran/dump-parse-tree.o differs
gcc/fortran/primary.o differs
gcc/fortran/bbt.o differs
gcc/fortran/match.o differs
gcc/fortran/convert.o differs
gcc/fortran/trans-types.o differs
gcc/fortran/trans-intrinsic.o differs
gcc/fortran/io.o differs
gcc/fortran/parse.o differs
gcc/fortran/target-memory.o differs
gcc/fortran/trans-stmt.o differs
gcc/fortran/trans-decl.o differs
gcc/fortran/decl.o differs
gcc/fortran/module.o differs
gcc/fortran/f95-lang.o differs
gcc/fortran/scanner.o differs
gcc/fortran/dependency.o differs
gcc/fortran/trans-const.o differs
gcc/fortran/resolve.o differs
gcc/fortran/interface.o differs
gcc/fortran/simplify.o differs
gcc/fortran/matchexp.o differs
gcc/fortran/intrinsic.o differs
gcc/fortran/options.o differs
gcc/fortran/trans-common.o differs
gcc/fortran/arith.o differs
gcc/fortran/trans.o differs
gcc/fortran/cpp.o differs
gcc/fortran/check.o differs
gcc/fortran/class.o differs
gcc/fortran/trans-io.o differs
gcc/cppdefault.o differs
gcc/realmpfr.o differs
gcc/insn-emit.o differs
gcc/c-family/c-pch.o differs
gcc/c-family/c-opts.o differs
gcc/c-family/c-semantics.o differs
gcc/c-family/c-ada-spec.o differs
gcc/c-family/c-common.o differs
gcc/c-family/c-format.o differs
gcc/c-family/c-gimplify.o differs
gcc/c-family/c-pragma.o differs
gcc/c-family/c-lex.o differs
gcc/c-family/c-pretty-print.o differs
gcc/c-family/stub-objc.o differs
gcc/c-family/c-omp.o differs
gcc/c-family/c-ppoutput.o differs
gcc/c-family/c-dump.o differs
gcc/c-family/c-cppbuiltin.o differs
gcc/gcc.o differs
gcc/tree-ssa-ccp.o differs
gcc/alloc-pool.o differs
gcc/cfgcleanup.o differs
gcc/loop-doloop.o differs
gcc/godump.o differs
gcc/tree-ssa-pre.o differs
gcc/dojump.o differs
gcc/tree-ssa-threadedge.o differs
gcc/sparc.o differs
gcc/insn-extract.o differs
gcc/host-solaris.o differs
gcc/graphite-interchange.o differs
gcc/varpool.o differs
gcc/gcc-ranlib.o differs
gcc/stor-layout.o differs
gcc/tree-ssa-threadupdate.o differs
gcc/debug.o differs
gcc/tree-ssa-loop-prefetch.o differs
gcc/tree-vect-loop.o differs
gcc/gcc-nm.o differs
gcc/tree-ssa-dce.o differs
gcc/statistics.o differs
gcc/insn-peep.o differs
gcc/cppspec.o differs
gcc/graphds.o differs
gcc/tree-ssanames.o differs
gcc/ggc-none.o differs
gcc/tree-switch-conversion.o differs
gcc/lower-subreg.o differs
gcc/fold-const.o differs
gcc/dfp.o differs
gcc/ipa.o differs
gcc/tree-vectorizer.o differs
gcc/lto-streamer-out.o differs
gcc/insn-modes.o differs
gcc/plugin.o differs
gcc/expmed.o differs
gcc/tree-ssa-address.o differs
gcc/omp-low.o differs
gcc/tree-phinodes.o differs
gcc/ira-build.o differs
gcc/tree-emutls.o differs
gcc/tree-ssa-loop-ivopts.o differs
gcc/stmt.o differs
gcc/ipa-cp.o differs
gcc/cgraphunit.o differs
gcc/graphite-cloog-util.o differs
gcc/graphite.o differs
gcc/ira.o differs
gcc/sched-deps.o differs
gcc/graphite-ppl.o differs
gcc/tree-profile.o differs
gcc/print-rtl.o differs
gcc/reload.o differs
gcc/tree-ssa-tail-merge.o differs
gcc/cse.o differs
gcc/tree-ssa-loop-niter.o differs
gcc/cfgloopmanip.o differs
gcc/hwint.o differs
gcc/tree-ssa-propagate.o differs
gcc/mcf.o differs
gcc/df-core.o differs
gcc/main.o differs
gcc/tree-ssa-live.o differs
gcc/ipa-prop.o differs
gcc/dse.o differs
gcc/lto-symtab.o differs
gcc/resource.o differs
gcc/ggc-common.o differs
gcc/var-tracking.o differs
gcc/omega.o differs
gcc/tree-vect-loop-manip.o differs
gcc/input.o differs
gcc/ira-costs.o differs
gcc/build/print-rtl.o differs
gcc/build/gengtype.o differs
gcc/build/gengtype-lex.o differs
gcc/build/min-insn-modes.o differs
gcc/build/genmodes.o differs
gcc/build/genchecksum.o differs
gcc/build/genoutput.o differs
gcc/build/genmddeps.o differs
gcc/build/genconstants.o differs
gcc/build/gencondmd.o differs
gcc/build/genattr-common.o differs
gcc/build/ggc-none.o differs
gcc/build/gencheck.o differs
gcc/build/genpeep.o differs
gcc/build/version.o differs
gcc/build/gencodes.o differs
gcc/build/genextract.o differs
gcc/build/genemit.o differs
gcc/build/vec.o differs
gcc/build/genopinit.o differs
gcc/build/genattr.o differs
gcc/build/genhooks.o differs
gcc/build/gensupport.o differs
gcc/build/gcov-iov.o differs
gcc/build/gengtype-state.o differs
gcc/build/genautomata.o differs
gcc/build/read-md.o differs
gcc/build/genpreds.o differs
gcc/build/genenums.o differs
gcc/build/genconfig.o differs
gcc/build/read-rtl.o differs
gcc/build/genconditions.o differs
gcc/build/genrecog.o differs
gcc/build/genattrtab.o differs
gcc/build/gengtype-parse.o differs
gcc/build/rtl.o differs
gcc/build/gengenrtl.o differs
gcc/build/errors.o differs
gcc/build/genflags.o differs
gcc/sel-sched-ir.o differs
gcc/cfganal.o differs
gcc/tree-dfa.o differs
gcc/lto-streamer-in.o differs
gcc/rtlanal.o differs
gcc/dwarf2cfi.o differs
gcc/cfgloopanal.o differs
gcc/regcprop.o differs
gcc/dominance.o differs
gcc/tree-streamer.o differs
gcc/tree-mudflap.o differs
gcc/c-convert.o differs
gcc/target-globals.o differs
gcc/gimple.o differs
gcc/coverage.o differs
gcc/explow.o differs
gcc/graphite-blocking.o differs
gcc/tree-cfgcleanup.o differs
gcc/tree-stdarg.o differs
gcc/fixed-value.o differs
gcc/streamer-hooks.o differs
gcc/tree-ssa-operands.o differs
gcc/combine-stack-adj.o differs
gcc/sel-sched-dump.o differs
gcc/tree-call-cdce.o differs
gcc/sparseset.o differs
gcc/simplify-rtx.o differs
gcc/ira-conflicts.o differs
gcc/matrix-reorg.o differs
gcc/ipa-split.o differs
gcc/tree-ssa-phiprop.o differs
gcc/graphite-flattening.o differs
gcc/mode-switching.o differs
gcc/diagnostic.o differs
gcc/ggc-page.o differs
gcc/tree-ssa-ifcombine.o differs
gcc/passes.o differs
gcc/insn-output.o differs
gcc/tree-eh.o differs
gcc/data-streamer-in.o differs
gcc/value-prof.o differs
gcc/ddg.o differs
gcc/bb-reorder.o differs
gcc/convert.o differs
gcc/dwarf2asm.o differs
gcc/tree-affine.o differs
gcc/incpath.o differs
gcc/dbgcnt.o differs
gcc/compare-elim.o differs
gcc/alias.o differs
gcc/attribs.o differs
gcc/expr.o differs
gcc/tree-into-ssa.o differs
gcc/tree-ssa-phiopt.o differs
gcc/tree-ssa-dse.o differs
gcc/tree-ssa-loop-ivcanon.o differs
gcc/tree-outof-ssa.o differs
gcc/lto-streamer.o differs
gcc/lcm.o differs
gcc/tree-streamer-out.o differs
gcc/tree-ssa-alias.o differs
gcc/tree-parloops.o differs
gcc/gimple-fold.o differs
gcc/dce.o differs
gcc/et-forest.o differs
gcc/c-objc-common.o differs
gcc/data-streamer-out.o differs
gcc/postreload.o differs
gcc/bitmap.o differs
gcc/gimple-iterator.o differs
gcc/ira-lives.o differs
gcc/tree-ssa-reassoc.o differs
gcc/default-c.o differs
gcc/lto/lto-object.o differs
gcc/lto/lto-lang.o differs
gcc/lto/lto.o differs
gcc/graphite-clast-to-gimple.o differs
gcc/ipa-inline.o differs
gcc/tlink.o differs
gcc/c-parser.o differs
gcc/internal-fn.o differs
gcc/lists.o differs
gcc/ipa-ref.o differs
gcc/sel-sched.o differs
gcc/varasm.o differs
gcc/rtlhooks.o differs
gcc/cfg.o differs
gcc/collect2-aix.o differs
gcc/df-problems.o differs
gcc/gimplify.o differs
gcc/tree-diagnostic.o differs
gcc/ira-color.o differs
gcc/except.o differs
gcc/calls.o differs
gcc/targhooks.o differs
gcc/ifcvt.o differs
gcc/trans-mem.o differs
gcc/g++spec.o differs
gcc/ebitmap.o differs
gcc/init-regs.o differs
gcc/gimple-streamer-out.o differs
gcc/tree-ssa-structalias.o differs
gcc/cgraph.o differs
gcc/double-int.o differs
gcc/cprop.o differs
gcc/lto-compress.o differs
gcc/cfglayout.o differs
gcc/tree-nomudflap.o differs
gcc/recog.o differs
gcc/optabs.o differs
gcc/sched-vis.o differs
gcc/tree-ssa-uncprop.o differs
gcc/regmove.o differs
gcc/tree-predcom.o differs
gcc/gfortranspec.o differs
gcc/graphite-scop-detection.o differs
gcc/common/common-targhooks.o differs
gcc/tree-vect-patterns.o differs
gcc/tree-ssa-forwprop.o differs
gcc/tree-nested.o differs
gcc/insn-automata.o differs
gcc/reload1.o differs
gcc/gcov.o differs
gcc/tree-vect-generic.o differs
gcc/tree-loop-distribution.o differs
gcc/tree-nrv.o differs
gcc/df-scan.o differs
gcc/postreload-gcse.o differs
gcc/ira-emit.o differs
gcc/sreal.o differs
gcc/profile.o differs
gcc/graphite-dependences.o differs
gcc/tree-chrec.o differs
gcc/opts-global.o differs
gcc/tree-ssa-sccvn.o differs
gcc/regrename.o differs
gcc/real.o differs
gcc/ada/nlists.o differs
gcc/ada/s-mastop.o differs
gcc/ada/tracebak.o differs
gcc/ada/g-speche.o differs
gcc/ada/sem_aggr.o differs
gcc/ada/einfo.o differs
gcc/ada/sem_ch11.o differs
gcc/ada/debug_a.o differs
gcc/ada/s-conca5.o differs
gcc/ada/sem_ch2.o differs
gcc/ada/s-crc32.o differs
gcc/ada/sem_cat.o differs
gcc/ada/inline.o differs
gcc/ada/utils.o differs
gcc/ada/stringt.o differs
gcc/ada/gnat1drv.o differs
gcc/ada/sem_elim.o differs
gcc/ada/s-except.o differs
gcc/ada/fmap.o differs
gcc/ada/live.o differs
gcc/ada/cstand.o differs
gcc/ada/validsw.o differs
gcc/ada/s-stache.o differs
gcc/ada/sinput-d.o differs
gcc/ada/exp_strm.o differs
gcc/ada/sem_aux.o differs
gcc/ada/sem_ch8.o differs
gcc/ada/exp_ch7.o differs
gcc/ada/osint-b.o differs
gcc/ada/hostparm.o differs
gcc/ada/prep.o differs
gcc/ada/binderr.o differs
gcc/ada/s-wchcon.o differs
gcc/ada/put_alfa.o differs
gcc/ada/s-excdeb.o differs
gcc/ada/get_targ.o differs
gcc/ada/b_gnatb.o differs
gcc/ada/exp_cg.o differs
gcc/ada/s-wchjis.o differs
gcc/ada/s-utf_32.o differs
gcc/ada/types.o differs
gcc/ada/targext.o differs
gcc/ada/osint-c.o differs
gcc/ada/sem.o differs
gcc/ada/sem_ch9.o differs
gcc/ada/exp_ch6.o differs
gcc/ada/s-sopco3.o differs
gcc/ada/s-imgenu.o differs
gcc/ada/exp_dist.o differs
gcc/ada/sem_attr.o differs
gcc/ada/scn.o differs
gcc/ada/alloc.o differs
gcc/ada/sem_vfpt.o differs
gcc/ada/utils2.o differs
gcc/ada/exp_code.o differs
gcc/ada/comperr.o differs
gcc/ada/sdefault.o differs
gcc/ada/cuintp.o differs
gcc/ada/sem_ch3.o differs
gcc/ada/sem_disp.o differs
gcc/ada/s-conca4.o differs
gcc/ada/butil.o differs
gcc/ada/sem_ch10.o differs
gcc/ada/prepcomp.o differs
gcc/ada/sem_elab.o differs
gcc/ada/sem_res.o differs
gcc/ada/switch.o differs
gcc/ada/s-string.o differs
gcc/ada/snames.o differs
gcc/ada/style.o differs
gcc/ada/sem_mech.o differs
gcc/ada/ali.o differs
gcc/ada/aspects.o differs
gcc/ada/nmake.o differs
gcc/ada/exp_dbug.o differs
gcc/ada/alfa.o differs
gcc/ada/sem_intr.o differs
gcc/ada/s-restri.o differs
gcc/ada/treepr.o differs
gcc/ada/system.o differs
gcc/ada/sem_ch12.o differs
gcc/ada/scans.o differs
gcc/ada/restrict.o differs
gcc/ada/s-conca6.o differs
gcc/ada/itypes.o differs
gcc/ada/sinfo-cn.o differs
gcc/ada/exp_pakd.o differs
gcc/ada/lib-util.o differs
gcc/ada/sem_smem.o differs
gcc/ada/a-ioexce.o differs
gcc/ada/targparm.o differs
gcc/ada/stylesw.o differs
gcc/ada/scil_ll.o differs
gcc/ada/s-traceb.o differs
gcc/ada/get_alfa.o differs
gcc/ada/fname.o differs
gcc/ada/a-charac.o differs
gcc/ada/link.o differs
gcc/ada/exp_ch4.o differs
gcc/ada/rident.o differs
gcc/ada/s-unstyp.o differs
gcc/ada/g-byorma.o differs
gcc/ada/back_end.o differs
gcc/ada/cstreams.o differs
gcc/ada/sinfo.o differs
gcc/ada/raise.o differs
gcc/ada/elists.o differs
gcc/ada/sem_dim.o differs
gcc/ada/s-addope.o differs
gcc/ada/interfac.o differs
gcc/ada/exp_ch5.o differs
gcc/ada/osint.o differs
gcc/ada/gnat.o differs
gcc/ada/erroutc.o differs
gcc/ada/lib-writ.o differs
gcc/ada/cio.o differs
gcc/ada/styleg.o differs
gcc/ada/a-comlin.o differs
gcc/ada/casing.o differs
gcc/ada/usage.o differs
gcc/ada/freeze.o differs
gcc/ada/sem_prag.o differs
gcc/ada/frontend.o differs
gcc/ada/fname-uf.o differs
gcc/ada/s-conca7.o differs
gcc/ada/g-u3spch.o differs
gcc/ada/par_sco.o differs
gcc/ada/sem_ch13.o differs
gcc/ada/init.o differs
gcc/ada/exp_util.o differs
gcc/ada/sinput-l.o differs
gcc/ada/g-htable.o differs
gcc/ada/final.o differs
gcc/ada/s-os_lib.o differs
gcc/ada/s-conca3.o differs
gcc/ada/krunch.o differs
gcc/ada/sem_ch4.o differs
gcc/ada/s-imenne.o differs
gcc/ada/sprint.o differs
gcc/ada/namet-sp.o differs
gcc/ada/bcheck.o differs
gcc/ada/exp_prag.o differs
gcc/ada/eval_fat.o differs
gcc/ada/argv.o differs
gcc/ada/s-sopco4.o differs
gcc/ada/exp_ch13.o differs
gcc/ada/lib.o differs
gcc/ada/s-llflex.o differs
gcc/ada/tree_gen.o differs
gcc/ada/trans.o differs
gcc/ada/s-traent.o differs
gcc/ada/opt.o differs
gcc/ada/sem_util.o differs
gcc/ada/misc.o differs
gcc/ada/s-conca9.o differs
gcc/ada/sem_eval.o differs
gcc/ada/seh_init.o differs
gcc/ada/s-conca8.o differs
gcc/ada/debug.o differs
gcc/ada/exp_intr.o differs
gcc/ada/err_vars.o differs
gcc/ada/s-memory.o differs
gcc/ada/s-strops.o differs
gcc/ada/atree.o differs
gcc/ada/s-sopco5.o differs
gcc/ada/exp_ch12.o differs
gcc/ada/uname.o differs
gcc/ada/sinput-c.o differs
gcc/ada/g-hesora.o differs
gcc/ada/s-purexc.o differs
gcc/ada/output.o differs
gcc/ada/exp_smem.o differs
gcc/ada/s-casuti.o differs
gcc/ada/impunit.o differs
gcc/ada/s-bitops.o differs
gcc/ada/sem_ch5.o differs
gcc/ada/a-chlat1.o differs
gcc/ada/exit.o differs
gcc/ada/widechar.o differs
gcc/ada/adadecode.o differs
gcc/ada/sem_warn.o differs
gcc/ada/hlo.o differs
gcc/ada/s-conca2.o differs
gcc/ada/gnatbind.o differs
gcc/ada/a-elchha.o differs
gcc/ada/par.o differs
gcc/ada/tbuild.o differs
gcc/ada/targtyps.o differs
gcc/ada/put_scos.o differs
gcc/ada/bindusg.o differs
gcc/ada/ada.o differs
gcc/ada/repinfo.o differs
gcc/ada/exp_tss.o differs
gcc/ada/treeprs.o differs
gcc/ada/s-wchcnv.o differs
gcc/ada/s-soflin.o differs
gcc/ada/exp_sel.o differs
gcc/ada/sem_case.o differs
gcc/ada/s-stoele.o differs
gcc/ada/stand.o differs
gcc/ada/b_gnat1.o differs
gcc/ada/lib-xref.o differs
gcc/ada/exp_attr.o differs
gcc/ada/initialize.o differs
gcc/ada/sem_dist.o differs
gcc/ada/binde.o differs
gcc/ada/s-assert.o differs
gcc/ada/a-clrefi.o differs
gcc/ada/exp_vfpt.o differs
gcc/ada/lib-load.o differs
gcc/ada/switch-c.o differs
gcc/ada/sem_ch7.o differs
gcc/ada/exp_ch8.o differs
gcc/ada/s-carun8.o differs
gcc/ada/exp_imgv.o differs
gcc/ada/exp_alfa.o differs
gcc/ada/errout.o differs
gcc/ada/exp_disp.o differs
gcc/ada/urealp.o differs
gcc/ada/scos.o differs
gcc/ada/tree_in.o differs
gcc/ada/expander.o differs
gcc/ada/exp_ch2.o differs
gcc/ada/s-strcom.o differs
gcc/ada/g-spchge.o differs
gcc/ada/checks.o differs
gcc/ada/s-crtl.o differs
gcc/ada/layout.o differs
gcc/ada/sem_scil.o differs
gcc/ada/exp_ch3.o differs
gcc/ada/adaint.o differs
gcc/ada/uintp.o differs
gcc/ada/s-stalib.o differs
gcc/ada/tree_io.o differs
gcc/ada/gnatvsn.o differs
gcc/ada/env.o differs
gcc/ada/s-secsta.o differs
gcc/ada/exp_aggr.o differs
gcc/ada/exp_ch11.o differs
gcc/ada/scng.o differs
gcc/ada/ttypes.o differs
gcc/ada/ali-util.o differs
gcc/ada/table.o differs
gcc/ada/sem_ch6.o differs
gcc/ada/exp_ch9.o differs
gcc/ada/s-strhas.o differs
gcc/ada/switch-b.o differs
gcc/ada/s-htable.o differs
gcc/ada/warnsw.o differs
gcc/ada/exp_fixd.o differs
gcc/ada/rtsfind.o differs
gcc/ada/bindgen.o differs
gcc/ada/exp_atag.o differs
gcc/ada/a-except.o differs
gcc/ada/csets.o differs
gcc/ada/s-parame.o differs
gcc/ada/s-exctab.o differs
gcc/ada/sem_type.o differs
gcc/ada/decl.o differs
gcc/ada/sinput.o differs
gcc/ada/namet.o differs
gcc/prefix.o differs
gcc/dwarf2out.o differs
gcc/reginfo.o differs
gcc/c-errors.o differs
gcc/loop-unroll.o differs
gcc/graphite-sese-to-poly.o differs
gcc/jump.o differs
gcc/ipa-pure-const.o differs
gcc/store-motion.o differs
gcc/insn-opinit.o differs
gcc/lto-wrapper.o differs
gcc/gimple-pretty-print.o differs
gcc/c-decl.o differs
gcc/ipa-inline-transform.o differs
gcc/tree-ssa-ter.o differs
gcc/haifa-sched.o differs
gcc/insn-attrtab.o differs
gcc/tree-scalar-evolution.o differs
gcc/loop-iv.o differs
gcc/bt-load.o differs
gcc/pointer-set.o differs
gcc/collect2.o differs
gcc/objc/objc-next-runtime-abi-02.o differs
gcc/objc/objc-map.o differs
gcc/objc/objc-gnu-runtime-abi-01.o differs
gcc/objc/objc-act.o differs
gcc/objc/objc-encoding.o differs
gcc/objc/objc-next-runtime-abi-01.o differs
gcc/objc/objc-lang.o differs
gcc/objc/objc-runtime-shared-support.o differs
gcc/tree-inline.o differs
gcc/cppbuiltin.o differs
gcc/tree-sra.o differs
gcc/timevar.o differs
gcc/tree-tailcall.o differs
gcc/langhooks.o differs
gcc/gcc-ar.o differs
gcc/tree-ssa-sink.o differs
gcc/stringpool.o differs
gcc/dbxout.o differs
gcc/builtins.o differs
gcc/cgraphbuild.o differs
gcc/integrate.o differs
gcc/opts.o differs
gcc/tree-ssa-math-opts.o differs
gcc/tree-cfg.o differs
gcc/vmsdbgout.o differs
gcc/tree-if-conv.o differs
gcc/gimple-low.o differs
gcc/fwprop.o differs
gcc/tree-vect-data-refs.o differs
gcc/gtype-desc.o differs
gcc/tree-streamer-in.o differs
gcc/gccspec.o differs
gcc/cfgrtl.o differs
gcc/tree-ssa.o differs
gcc/vec.o differs
gcc/reg-stack.o differs
gcc/hw-doloop.o differs
gcc/sched-rgn.o differs
gcc/stack-ptr-mod.o differs
gcc/lto-section-in.o differs
gcc/tree-optimize.o differs
gcc/tree-pretty-print.o differs
gcc/sbitmap.o differs
gcc/options.o differs
gcc/tree-ssa-loop-manip.o differs
gcc/sdbout.o differs
gcc/rtl-error.o differs
gcc/sol2-stubs.o differs
gcc/c-aux-info.o differs
gcc/sparc-c.o differs
gcc/predict.o differs
gcc/modulo-sched.o differs
gcc/gcse.o differs
gcc/final.o differs
gcc/cselib.o differs
gcc/function.o differs
gcc/cfghooks.o differs
gcc/driver-sparc.o differs
gcc/lto-cgraph.o differs
gcc/tree-object-size.o differs
gcc/tree.o differs
gcc/c-typeck.o differs
gcc/regstat.o differs
gcc/print-tree.o differs
gcc/graph.o differs
gcc/data-streamer.o differs
gcc/options-save.o differs
gcc/cfgbuild.o differs
gcc/tree-ssa-loop-unswitch.o differs
gcc/sol2.o differs
gcc/emit-rtl.o differs
gcc/lto-section-out.o differs
gcc/params.o differs
gcc/caller-save.o differs
gcc/cfgloop.o differs
gcc/toplev.o differs
gcc/sese.o differs
gcc/tree-ssa-copyrename.o differs
gcc/intl.o differs
gcc/tree-vect-stmts.o differs
gcc/web.o differs
gcc/tree-ssa-coalesce.o differs
gcc/version.o differs
gcc/ree.o differs
gcc/sparc-common.o differs
gcc/gimple-streamer-in.o differs
gcc/tree-complex.o differs
gcc/hooks.o differs
gcc/rtl.o differs
gcc/tree-ssa-loop.o differs
gcc/tree-vect-slp.o differs
gcc/tree-ssa-loop-ch.o differs
gcc/tree-ssa-uninit.o differs
gcc/ipa-inline-analysis.o differs
gcc/tree-ssa-dom.o differs
gcc/insn-enums.o differs
gcc/insn-preds.o differs
gcc/tree-ssa-copy.o differs
gcc/lto-opts.o differs
gcc/loop-invariant.o differs
gcc/auto-inc-dec.o differs
gcc/tree-dump.o differs
gcc/tree-ssa-strlen.o differs
gcc/sched-ebb.o differs
gcc/xcoffout.o differs
gcc/cfgexpand.o differs
gcc/graphite-poly.o differs
gcc/domwalk.o differs
gcc/tree-vrp.o differs
gcc/gcov-dump.o differs
gcc/opts-common.o differs
gcc/loop-unswitch.o differs
gcc/sol2-c.o differs
gcc/loop-init.o differs
gcc/tree-ssa-loop-im.o differs
gcc/reorg.o differs
gcc/pretty-print.o differs
gcc/ipa-reference.o differs
gcc/sol2-cxx.o differs
gcc/c-lang.o differs
gcc/ipa-utils.o differs
gcc/tree-iterator.o differs
gcc/tracer.o differs
gcc/combine.o differs
gcc/tree-data-ref.o differs
gcc/insn-recog.o differs
libcpp/errors.o differs
libcpp/files.o differs
libcpp/identifiers.o differs
libcpp/init.o differs
libcpp/lex.o differs
libcpp/symtab.o differs
libcpp/charset.o differs
libcpp/macro.o differs
libcpp/directives.o differs
libcpp/traditional.o differs
libcpp/line-map.o differs
libcpp/expr.o differs
libcpp/pch.o differs
libcpp/directives-only.o differs
libcpp/mkdeps.o differs
libdecnumber/decimal32.o differs
libdecnumber/decNumber.o differs
libdecnumber/decimal128.o differs
libdecnumber/decContext.o differs
libdecnumber/decimal64.o differs
libiberty/regex.o differs
libiberty/alloca.o differs
libiberty/strerror.o differs
libiberty/fibheap.o differs
libiberty/xatexit.o differs
libiberty/cp-demint.o differs
libiberty/concat.o differs
libiberty/cplus-dem.o differs
libiberty/spaces.o differs
libiberty/xstrndup.o differs
libiberty/mkstemps.o differs
libiberty/getruntime.o differs
libiberty/simple-object-coff.o differs
libiberty/cp-demangle.o differs
libiberty/mempcpy.o differs
libiberty/objalloc.o differs
libiberty/setproctitle.o differs
libiberty/xexit.o differs
libiberty/strsignal.o differs
libiberty/fopen_unlocked.o differs
libiberty/getopt1.o differs
libiberty/lrealpath.o differs
libiberty/sort.o differs
libiberty/fdmatch.o differs
libiberty/xstrdup.o differs
libiberty/simple-object-elf.o differs
libiberty/filename_cmp.o differs
libiberty/partition.o differs
libiberty/xmemdup.o differs
libiberty/make-relative-prefix.o differs
libiberty/simple-object.o differs
libiberty/safe-ctype.o differs
libiberty/crc32.o differs
libiberty/memmem.o differs
libiberty/sigsetmask.o differs
libiberty/lbasename.o differs
libiberty/stpncpy.o differs
libiberty/pex-unix.o differs
libiberty/floatformat.o differs
libiberty/pic/simple-object-coff.o differs
libiberty/pic/strerror.o differs
libiberty/pic/crc32.o differs
libiberty/pic/fdmatch.o differs
libiberty/pic/xstrdup.o differs
libiberty/pic/lrealpath.o differs
libiberty/pic/stack-limit.o differs
libiberty/pic/splay-tree.o differs
libiberty/pic/make-relative-prefix.o differs
libiberty/pic/mkstemps.o differs
libiberty/pic/simple-object-elf.o differs
libiberty/pic/getopt.o differs
libiberty/pic/xstrndup.o differs
libiberty/pic/sha1.o differs
libiberty/pic/xmemdup.o differs
libiberty/pic/pex-common.o differs
libiberty/pic/timeval-utils.o differs
libiberty/pic/partition.o differs
libiberty/pic/choose-temp.o differs
libiberty/pic/objalloc.o differs
libiberty/pic/dyn-string.o differs
libiberty/pic/xexit.o differs
libiberty/pic/cp-demint.o differs
libiberty/pic/stpcpy.o differs
libiberty/pic/cplus-dem.o differs
libiberty/pic/argv.o differs
libiberty/pic/fibheap.o differs
libiberty/pic/xatexit.o differs
libiberty/pic/floatformat.o differs
libiberty/pic/getpwd.o differs
libiberty/pic/fopen_unlocked.o differs
libiberty/pic/mempcpy.o differs
libiberty/pic/strsignal.o differs
libiberty/pic/regex.o differs
libiberty/pic/strverscmp.o differs
libiberty/pic/getopt1.o differs
libiberty/pic/make-temp-file.o differs
libiberty/pic/pex-unix.o differs
libiberty/pic/xmalloc.o differs
libiberty/pic/getruntime.o differs
libiberty/pic/obstack.o differs
libiberty/pic/memmem.o differs
libiberty/pic/filename_cmp.o differs
libiberty/pic/xstrerror.o differs
libiberty/pic/physmem.o differs
libiberty/pic/simple-object-mach-o.o differs
libiberty/pic/strndup.o differs
libiberty/pic/fnmatch.o differs
libiberty/pic/hex.o differs
libiberty/pic/sort.o differs
libiberty/pic/spaces.o differs
libiberty/pic/simple-object.o differs
libiberty/pic/md5.o differs
libiberty/pic/concat.o differs
libiberty/pic/stpncpy.o differs
libiberty/pic/alloca.o differs
libiberty/pic/lbasename.o differs
libiberty/pic/hashtab.o differs
libiberty/pic/safe-ctype.o differs
libiberty/pic/setproctitle.o differs
libiberty/pic/cp-demangle.o differs
libiberty/pic/unlink-if-ordinary.o differs
libiberty/pic/pex-one.o differs
libiberty/pic/pexecute.o differs
libiberty/pic/sigsetmask.o differs
libiberty/splay-tree.o differs
libiberty/stpcpy.o differs
libiberty/sha1.o differs
libiberty/hex.o differs
libiberty/timeval-utils.o differs
libiberty/hashtab.o differs
libiberty/pex-common.o differs
libiberty/pex-one.o differs
libiberty/dyn-string.o differs
libiberty/getpwd.o differs
libiberty/simple-object-mach-o.o differs
libiberty/getopt.o differs
libiberty/argv.o differs
libiberty/stack-limit.o differs
libiberty/unlink-if-ordinary.o differs
libiberty/make-temp-file.o differs
libiberty/xmalloc.o differs
libiberty/obstack.o differs
libiberty/choose-temp.o differs
libiberty/md5.o differs
libiberty/pexecute.o differs
libiberty/physmem.o differs
libiberty/strverscmp.o differs
libiberty/fnmatch.o differs
libiberty/strndup.o differs
libiberty/xstrerror.o differs
lto-plugin/.libs/lto-plugin.o differs
zlib/libz_a-infback.o differs
zlib/libz_a-inflate.o differs
zlib/libz_a-deflate.o differs
zlib/libz_a-trees.o differs
zlib/libz_a-inftrees.o differs
zlib/libz_a-gzio.o differs
zlib/libz_a-compress.o differs
zlib/libz_a-inffast.o differs
zlib/libz_a-adler32.o differs
zlib/libz_a-uncompr.o differs
zlib/libz_a-zutil.o differs
zlib/libz_a-crc32.o differs
gmake[2]: *** [compare] Error 1
gmake[2]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake[1]: *** [stage3-bubble] Error 2
gmake[1]: Leaving directory
`/usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10'
gmake: *** [all] Error 2

real 7287.09
user 38791.33
sys 1054.06
$        

The end result of the long long experiment is that there is something wrong in
gcc 4.7.2 that make it near impossible to bootstrap.  

OR 

There is something wrong with the headers in Oracle Solaris 10 that makes it
impossible ( or near impossible ) to bootstrap GCC 4.7.2. 

Either way ... I will work with Jonathan Wakely and maybe we can nail this
thing down. 

Dennis


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (9 preceding siblings ...)
  2012-11-13  6:01 ` [Bug c/55293] " dclarke at blastwave dot org
@ 2012-11-13  7:21 ` ebotcazou at gcc dot gnu.org
  2012-11-13  7:40 ` [Bug c/55293] " dclarke at blastwave dot org
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-13  7:21 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |bootstrap

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-13 07:21:02 UTC ---
> Actually I just tried this : 
> 
> $ pwd
> /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10
> $ date -u
> Tue Nov 13 03:37:19 GMT 2012
> 
> $ CC='gcc -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> > CXX='g++ -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> > ../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 --with-local-prefix=/usr/local/gcc4 \
> > --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \
> > --libexecdir=/usr/local/gcc4/lib \
> > --with-pkgversion=Blastwave.org\ Inc.\ Tues\ Nov\ 13\ 03\:37\:19\ GMT\ 2012 \
> > --with-bugurl=http\:\/\/www.blastwave.org\/support \
> > --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap

Why on Earth are you *again* using all these flags?  Remove all the flags you
added back to CC and CXX.  Remove --with-cpu=v9 --enable-stage1-languages=c and
-enable-bootstrap as well.

> The end result of the long long experiment is that there is something wrong in
> gcc 4.7.2 that make it near impossible to bootstrap.  
> 
> OR 
> 
> There is something wrong with the headers in Oracle Solaris 10 that makes it
> impossible ( or near impossible ) to bootstrap GCC 4.7.2. 

Neither of course, people do it routinely and this works fine *if you follow
the documented procedures*.


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

* [Bug c/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (10 preceding siblings ...)
  2012-11-13  7:21 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
@ 2012-11-13  7:40 ` dclarke at blastwave dot org
  2012-11-13  8:07 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dclarke at blastwave dot org @ 2012-11-13  7:40 UTC (permalink / raw)
  To: gcc-bugs


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

Dennis Clarke <dclarke at blastwave dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |c

--- Comment #12 from Dennis Clarke <dclarke at blastwave dot org> 2012-11-13 07:40:05 UTC ---
(In reply to comment #11)
> > Actually I just tried this : 
> > 
> > $ pwd
> > /usr/local/build/gcc-4.7.2_sparc64-sun-solaris2.10
> > $ date -u
> > Tue Nov 13 03:37:19 GMT 2012
> > 
> > $ CC='gcc -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> > > CXX='g++ -m64 -g -mno-app-regs -mcpu=v9 -D_TS_ERRNO' \
> > > ../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 --with-local-prefix=/usr/local/gcc4 \
> > > --with-cpu=v9 --enable-stage1-languages=c --disable-multilib \
> > > --libexecdir=/usr/local/gcc4/lib \
> > > --with-pkgversion=Blastwave.org\ Inc.\ Tues\ Nov\ 13\ 03\:37\:19\ GMT\ 2012 \
> > > --with-bugurl=http\:\/\/www.blastwave.org\/support \
> > > --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
> 
> Why on Earth are you *again* using all these flags?  Remove all the flags you
> added back to CC and CXX.  Remove --with-cpu=v9 --enable-stage1-languages=c and
> -enable-bootstrap as well.
> 
> > The end result of the long long experiment is that there is something wrong in
> > gcc 4.7.2 that make it near impossible to bootstrap.  
> > 
> > OR 
> > 
> > There is something wrong with the headers in Oracle Solaris 10 that makes it
> > impossible ( or near impossible ) to bootstrap GCC 4.7.2. 
> 
> Neither of course, people do it routinely and this works fine *if you follow
> the documented procedures*.

Just to annoy you?  No. 

I have gcc 4.7.2 bootstrapping on a few Solaris 8 servers, flawlessly. 
At least thus far. Every attempt and incantation of attempts on Solaris 10,
within or without the "documented" approach has failed. So, go easy on me. 
I have in fact, done this before. Just never on Solaris 10.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (11 preceding siblings ...)
  2012-11-13  7:40 ` [Bug c/55293] " dclarke at blastwave dot org
@ 2012-11-13  8:07 ` ebotcazou at gcc dot gnu.org
  2012-11-13  9:43 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-13  8:07 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |bootstrap

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-13 08:06:54 UTC ---
> I have gcc 4.7.2 bootstrapping on a few Solaris 8 servers, flawlessly. 
> At least thus far. Every attempt and incantation of attempts on Solaris 10,
> within or without the "documented" approach has failed. So, go easy on me. 
> I have in fact, done this before. Just never on Solaris 10.

Solaris 10 has been there for almost a decade so people have bootstrapped GCC
on it for almost as long.  That's essentially the same as with previous
releases.

And, please, stop changing back the Component of the PR, that's pretty
annoying.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (12 preceding siblings ...)
  2012-11-13  8:07 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
@ 2012-11-13  9:43 ` redi at gcc dot gnu.org
  2012-11-14  8:34 ` mikpe at it dot uu.se
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-13  9:43 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-13 09:42:41 UTC ---
(In reply to comment #10)
> 
> The end result of the long long experiment is that there is something wrong in
> gcc 4.7.2 that make it near impossible to bootstrap.  

No, it means you haven't been able to bootstrap with the unconventional
configuration you are using.

>From other people's reports if you stop trying to build 64-bit only or
bootstrap with the system compiler it works, but you've said you don't want to
do that.  I hardly think that qualifies as "impossible to bootstrap".


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (13 preceding siblings ...)
  2012-11-13  9:43 ` redi at gcc dot gnu.org
@ 2012-11-14  8:34 ` mikpe at it dot uu.se
  2012-11-14  8:50 ` ebotcazou at gcc dot gnu.org
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mikpe at it dot uu.se @ 2012-11-14  8:34 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #15 from Mikael Pettersson <mikpe at it dot uu.se> 2012-11-14 08:34:11 UTC ---
FWIW, I bootstrapped a pure 64-bit gcc-4.7.2 on Solaris 10/SPARC64 yesterday,
with C, Ada, and C++, using a normal 32-bit-but-64-bit-capable gcc-4.7.2 as
host compiler.  About the only issue was that I had to coerce the host compiler
to generate 64-bit code by default; for that I put

#!/bin/sh
exec gcc -m64 "$@"

in a "gcc64" shell script and passed the path to it in CC when configuring gcc.

Overriding CFLAGS might have worked too, but I didn't try that.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (14 preceding siblings ...)
  2012-11-14  8:34 ` mikpe at it dot uu.se
@ 2012-11-14  8:50 ` ebotcazou at gcc dot gnu.org
  2013-04-11  7:59 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-11-14  8:50 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-14 08:49:46 UTC ---
> FWIW, I bootstrapped a pure 64-bit gcc-4.7.2 on Solaris 10/SPARC64 yesterday,
> with C, Ada, and C++, using a normal 32-bit-but-64-bit-capable gcc-4.7.2 as
> host compiler.  About the only issue was that I had to coerce the host compiler
> to generate 64-bit code by default; for that I put
> 
> #!/bin/sh
> exec gcc -m64 "$@"
> 
> in a "gcc64" shell script and passed the path to it in CC when configuring gcc.

That's not even necessary, just do CC="gcc -m64" ./configure [options].

> Overriding CFLAGS might have worked too, but I didn't try that.

Nope, fiddling with CFLAGS, BOOT_CFLAGS and the like is strongly discouraged.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (15 preceding siblings ...)
  2012-11-14  8:50 ` ebotcazou at gcc dot gnu.org
@ 2013-04-11  7:59 ` rguenth at gcc dot gnu.org
  2014-06-12 13:53 ` rguenth at gcc dot gnu.org
  2021-05-26 14:49 ` ebotcazou at gcc dot gnu.org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-11  7:59 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.3                       |4.7.4

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-11 07:59:19 UTC ---
GCC 4.7.3 is being released, adjusting target milestone.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (16 preceding siblings ...)
  2013-04-11  7:59 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:53 ` rguenth at gcc dot gnu.org
  2021-05-26 14:49 ` ebotcazou at gcc dot gnu.org
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.4                       |---

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
Unsetting target milestone of open non-regression bug from version of branch
being closed.


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

* [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
                   ` (17 preceding siblings ...)
  2014-06-12 13:53 ` rguenth at gcc dot gnu.org
@ 2021-05-26 14:49 ` ebotcazou at gcc dot gnu.org
  18 siblings, 0 replies; 20+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-05-26 14:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
.

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

end of thread, other threads:[~2021-05-26 14:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] dclarke at blastwave dot org
2012-11-12 21:49 ` [Bug c/55293] Attempt to bootstrap GCC 4.7.2 " redi at gcc dot gnu.org
2012-11-12 21:50 ` redi at gcc dot gnu.org
2012-11-12 22:07 ` dclarke at blastwave dot org
2012-11-12 22:10 ` dclarke at blastwave dot org
2012-11-12 22:44 ` dclarke at blastwave dot org
2012-11-12 23:07 ` dclarke at blastwave dot org
2012-11-12 23:58 ` [Bug bootstrap/55293] bootstrap failure: " ebotcazou at gcc dot gnu.org
2012-11-13  0:15 ` redi at gcc dot gnu.org
2012-11-13  0:21 ` ebotcazou at gcc dot gnu.org
2012-11-13  6:01 ` [Bug c/55293] " dclarke at blastwave dot org
2012-11-13  7:21 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
2012-11-13  7:40 ` [Bug c/55293] " dclarke at blastwave dot org
2012-11-13  8:07 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
2012-11-13  9:43 ` redi at gcc dot gnu.org
2012-11-14  8:34 ` mikpe at it dot uu.se
2012-11-14  8:50 ` ebotcazou at gcc dot gnu.org
2013-04-11  7:59 ` rguenth at gcc dot gnu.org
2014-06-12 13:53 ` rguenth at gcc dot gnu.org
2021-05-26 14:49 ` ebotcazou at gcc dot gnu.org

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).