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

--- Comment #4 from Yaakov Selkowitz <yselkowi at redhat dot com> ---
(In reply to Bernd Edlinger from comment #3)
> Created attachment 37172 [details]
> Patch to fix ICE and make interrupt restore r0

That allows me to finish the --without-headers build of 5.3.0 and subsequently
build newlib.  However, once I rebuild gcc *with* newlib installed, I get:

/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/build/mep-elf/./gcc/xgcc
-B/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/build/mep-elf/./gcc/
-B/usr/mep-elf/bin/ -B/usr/mep-elf/lib/ -isystem /usr/mep-elf/include -isystem
/usr/mep-elf/sys-include -mlibrary    -g -O2 -mel -O2  -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include -mlibrary  -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -I. -I. -I../../.././gcc
-I/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc
-I/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/.
-I/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/../gcc
-I/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/../include
 -DHAVE_CC_TLS -DUSE_EMUTLS -o _gcov_indirect_call_topn_profiler.o -MT
_gcov_indirect_call_topn_profiler.o -MD -MP -MF
_gcov_indirect_call_topn_profiler.dep -DL_gcov_indirect_call_topn_profiler -c
/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/libgcov-profiler.c
/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/libgcov-profiler.c:
In function ‘__gcov_topn_value_profiler_body’:
/usr/src/ports/cross-gcc/cross-gcc-5.3.0-1.x86_64/src/gcc-5.3.0/libgcc/libgcov-profiler.c:194:1:
internal compiler error: in create_trace_edges, at dwarf2cfi.c:2409
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:880: recipe for target '_gcov_indirect_call_topn_profiler.o' failed
make[4]: *** [_gcov_indirect_call_topn_profiler.o] Error 1

Reply via email to