Successfull build gcc 3.0.4

Anders Carlsson anders.carlsson@mds.mdh.se
Tue Mar 5 00:01:00 GMT 2002


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



More information about the Gcc mailing list