https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68126

            Bug ID: 68126
           Summary: internal compiler error: in maybe_record_trace_start,
                    at dwarf2cfi.c:2239 while compiling under platform
                    mipsel64
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hl8765 at 163 dot com
  Target Milestone: ---

-o build/gensupport.o ../.././gcc/gensupport.c
../.././gcc/gensupport.c: In function‘int get_alternatives_number(rtx, int*,
int)’:
../.././gcc/gensupport.c:1056:1: internal compiler
error:maybe_record_trace_start, at dwarf2cfi.c:2239
 }
 ^
0x1215b4863 internal_error(char const*, ...)
       
/usr/lib/gcc/mips64el-neokylin-linux/4.4.7/../../../../include/c++/4.4.7/new:101
0x1215b4a4b fancy_abort(char const*, int, char const*)
       
/usr/lib/gcc/mips64el-neokylin-linux/4.4.7/../../../../include/c++/4.4.7/new:101
0x12074a0b7 maybe_record_trace_start
        ../.././gcc/dwarf2cfi.c:2239
0x12074a533 create_trace_edges
        ../.././gcc/dwarf2cfi.c:2331
0x12074b1e7 scan_trace
        ../.././gcc/dwarf2cfi.c:2544
0x12074b377 create_cfi_notes
        ../.././gcc/dwarf2cfi.c:2570
0x12074c4ef execute_dwarf2_frame
        ../.././gcc/dwarf2cfi.c:2925
0x12074db07 execute
        ../.././gcc/dwarf2cfi.c:3421
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

I compiled the gcc v4.9.2 under platform mips64el. the error occurred as
mentioned.
I read the bug 59575 and ths solution. but it's for platform ARM. Who can help
me to fix it under platform mips64el?  Thanks very much.

I configured as follows:
./configure --prefix=/usr --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--with-system-zlib --enable-languages=c,c++  --with-abi=64
--disable-fixed-point --without-ppl --without-cloog --disable-checking
--disable-dssi --host=mips64el-neokylin-linux --build=mips64el-neokylin-linux
--target=mips64el-neokylin-linux

Reply via email to