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

[Bug bootstrap/37422] New: [4.4 regression] IRA merge breaks Solaris/x86 bootstrap


Immediately after the IRA merge, i386-pc-solaris2.10 doesn't bootstrap any
longer:

In stage3, libgcc doesn't configure:

checking for suffix of object files... configure: error: in
`/vol/gccsrc/obj/gcc-4.4.0-20080903/10-gcc/i386-pc-solaris2.10/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage3-target-libgcc] Error 1

config.log reveals:

configure:2590: checking for suffix of object files
configure:2611: /vol/gccsrc/obj/reghunt/89389/./gcc/xgcc
-B/vol/gccsrc/obj/reghunt/89389/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/
-B/usr/local/i386-pc-solaris2.10/lib/ -isystem
/usr/local/i386-pc-solaris2.10/include -isystem
/usr/local/i386-pc-solaris2.10/sys-include -c -g -O2    conftest.c >&5
<built-in>:0: internal compiler error: in real_to_decimal_for_mode, at
real.c:1667
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2614: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2627: error: in
`/vol/gccsrc/obj/reghunt/89389/i386-pc-solaris2.10/libgcc':
configure:2629: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

The same happens at -O0, running cc1 conftest.c.  When I run cc1 under gdb, I
find
Breakpoint 1, fancy_abort (file=0x88af358
"/vol/gcc/src/gcc-reghunt/gcc/real.c", line=1667, function=0x874698b
"real_to_decimal_for_mode") at /vol/gcc/src/gcc-reghunt/gcc/diagnostic.c:699
(gdb) where
#0  fancy_abort (file=0x88af358 "/vol/gcc/src/gcc-reghunt/gcc/real.c",
line=1667, function=0x874698b "real_to_decimal_for_mode") at
/vol/gcc/src/gcc-reghunt/gcc/diagnostic.c:699
#1  0x082beb08 in real_to_decimal_for_mode (str=0x804747c "\003",
r_orig=Variable "r_orig" is not available.
) at /vol/gcc/src/gcc-reghunt/gcc/real.c:1667
#2  0x081030ff in builtin_define_with_hex_fp_value (macro=0x80475b4
"__FLT_MAX__", type=Variable "type" is not available.
) at /vol/gcc/src/gcc-reghunt/gcc/c-cppbuiltin.c:874
#3  0x08103442 in builtin_define_float_constants (name_prefix=0x87d9de2 "FLT",
fp_suffix=0x87d9de0 "F", fp_cast=0x87d9ddd "%s", type=0xfedeb410) at
/vol/gcc/src/gcc-reghunt/gcc/c-cppbuiltin.c:204
#4  0x08103ef1 in c_cpp_builtins (pfile=0x89ccc68) at
/vol/gcc/src/gcc-reghunt/gcc/c-cppbuiltin.c:538
#5  0x080faf23 in finish_options () at
/vol/gcc/src/gcc-reghunt/gcc/c-opts.c:1458
#6  0x080fb0fd in c_common_parse_file (set_yydebug=0) at
/vol/gcc/src/gcc-reghunt/gcc/c-opts.c:1236
#7  0x0831e595 in toplev_main (argc=2, argv=0x80476fc) at
/vol/gcc/src/gcc-reghunt/gcc/toplev.c:968
#8  0x080ab150 in _start ()
#9  0x00000002 in ?? ()
[and so on until ...]
#589 0x632f6363 in ?? ()
#590 0x00003163 in ?? ()
#591 0x00000000 in ?? ()
Cannot access memory at address 0x8048000


-- 
           Summary: [4.4 regression] IRA merge breaks Solaris/x86 bootstrap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37422


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