Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

David Edelsohn dje@watson.ibm.com
Sun Sep 9 19:23:00 GMT 2007


>>>>> Kaveh R GHAZI writes:

Kaveh> Rats, I'm getting another bootstap failure on sparc-sun-solaris2.10.
Kaveh> This time it happens in stage2 building libgcc.  What happens is that
Kaveh> when it runs configure for stage2 libgcc, I get:

Kaveh> checking for suffix of object files...
Kaveh> configure: error: cannot compute suffix of object files: cannot compile
Kaveh> See `config.log' for more details.

Kaveh> whereupon in config.log I see:

Kaveh> configure: failed program was:
Kaveh> | /* confdefs.h.  */
Kaveh> |
Kaveh> | #define PACKAGE_NAME "GNU C Runtime Library"
Kaveh> | #define PACKAGE_TARNAME "libgcc"
Kaveh> | #define PACKAGE_VERSION "1.0"
Kaveh> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
Kaveh> | #define PACKAGE_BUGREPORT ""
Kaveh> | /* end confdefs.h.  */
Kaveh> |
Kaveh> | int
Kaveh> | main ()
Kaveh> | {
Kaveh> |
Kaveh> |   ;
Kaveh> |   return 0;
Kaveh> | }


Kaveh> The stage2 gcc cannot compile this simple program.  The stage1
Kaveh> compiler can, so looks like stage2 was miscompiled.  Running it under
Kaveh> gdb doesn't yield any useful info.

	I am seeing the same failure on AIX.  The SEGV on AIX is in
postreload.c and if I recompile that file without optimization, the config
test succeeds.

David



More information about the Gcc-patches mailing list