This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Successfull build gcc 3.0.4
- From: Anders Carlsson <anders dot carlsson at mds dot mdh dot se>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 5 Mar 2002 09:00:56 +0100 (MET)
- Subject: Successfull build gcc 3.0.4
Hello.
I have successfully "make bootstrap-lean" on SPARC (SS10/RT626):
$ config-guess
sparc-sun-solaris2.5.1
$ gcc -v
Reading specs from /opt/FSFgcc3/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0.4/specs
Configured with: ../configure --prefix=/opt/FSFgcc3
Thread model: posix
gcc version 3.0.4
However, something weird happened. Last fall I bootstrapped gcc 3.0.1 by
using gcc 2.7.2, and it compiled through all stages without errors. Since
I wanted to simplify compiling C++ programs, I added "-R /opt/FSFgcc3/lib" to
the link command in the specs file of the installed version, despite
GCC warnings about doing that.
Ok. So now I tried to compile 3.0.4 with 3.0.1. It ran through the first two
stages, and crashed out with "Error 1" somewhere in stage 3. I was too tired
to debug what had happened. Could this be due to the configuration change
above, something with mismatching libraries in the stage1/2 xgcc compiler?
Oh well. I cleaned out the objdir completely and bootstrapped 3.0.4 again,
this time using the ancient 2.7.2 compiler. Voila. Everything ran as it
should.
/Anders Carlsson