This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Sep 2007 15:13:19 -0400
- Subject: Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled
- References: <Pine.GSO.4.58.0709091508450.20647@caipclassic.rutgers.edu>
>>>>> 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