[Bug libgcc/68126] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2239 while compiling under platform mips64el

2016-04-19 Thread hl8765 at 163 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68126

--- Comment #2 from Hu Liang  ---
(In reply to Steve Ellcey from comment #1)
> It looks like this is actually a bug in the GCC 4.4.7 compiler on the system
> where you are building GCC.  gensupport.c is compiled with the system
> compiler in order to build gensupport which is run as part of the build. 
> Your best bet would be to do the build with a newer system compiler if you
> have one.

I just want to update the GCC compiler from GCC 4.4.7 to GCC 4.9.2

[Bug libgcc/68126] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2239 while compiling under platform mipsel64

2015-10-28 Thread hl8765 at 163 dot com
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