This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on sparc-sun-solaris2.10
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Art Haas <ahaas at impactweather dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Sep 2011 10:59:42 +0200
- Subject: Re: Bootstrap failure on sparc-sun-solaris2.10
- References: <tqgaa9n42jm.fsf@impactweather.com>
Art Haas <ahaas@impactweather.com> writes:
> I've had no success lately getting GCC to bootstrap successfully. My
> last successful bootstrap was on September 6; my builds on September
> 7 through today all end with a comparison failure. Here's the end
> of my build log:
>
> gmake[2]: Entering directory `/export/home/arth/src/gcc-0929'
> gmake[3]: Entering directory `/export/home/arth/src/gcc-0929'
> rm -f stage_current
> gmake[3]: Leaving directory `/export/home/arth/src/gcc-0929'
> Comparing stages 2 and 3
> warning: gcc/cc1-checksum.o differs
> warning: gcc/cc1plus-checksum.o differs
> warning: gcc/cc1obj-checksum.o differs
> Bootstrap comparison failure!
> libdecnumber/decNumber.o differs
> gmake[2]: *** [compare] Error 1
> gmake[2]: Leaving directory `/export/home/arth/src/gcc-0929'
> gmake[1]: *** [stage3-bubble] Error 2
> gmake[1]: Leaving directory `/export/home/arth/src/gcc-0929'
> gmake: *** [bootstrap-lean] Error 2
I didn't have an issue bootstrapping mainline yesterday on Solaris 8 to 11.
> My last successful build was configured like so:
>
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.7.0/lto-wrapper
> Target: sparc-sun-solaris2.10
> Configured with: /export/home/arth/src/gcc.git/configure --prefix=/export/home/arth/local --enable-languages=c,c++,objc --disable-nls --with-gmp=/export/home/arth/local --with-mpfr=/export/home/arth/local --with-mpc=/export/home/arth/local --enable-checking=release --enable-threads --with-gnu-as --with-as=/export/home/arth/local/bin/as --with-gnu-ld --with-ld=/export/home/arth/local/bin/ld --enable-libstdcxx-pch=no --with-cpu=ultrasparc3 --with-tune=ultrasparc3
Which version of gas and gld are you using? I'd stay away from gld,
especially on SPARC. Please also try a bootstrap without the --with-cpu
and --with-tune options to see if that makes a difference.
> I've seen numerous Sparc related patch land after my last successful
> build, so I'm guessing the issue is Solaris specific. Anyone else who
> builds on this platform seeing similar problems?
If the problem persists even with my suggested changes, please file a
bootstrap PR and Cc it to Eric and Dave M.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University