This is the mail archive of the gcc@gcc.gnu.org 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]

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


>>>>> 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


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