This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Successfull build gcc 3.0.4


I have successfully "make bootstrap-lean" on SPARC (SS10/RT626): 

$ config-guess

$ 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

/Anders Carlsson

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]