http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53244
Bug #: 53244 Summary: internal compiler error while build for target c6x-elf Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: daniel.calc...@cern.ch I’m trying to build a cross compiler for the c6x using the same script I use to generated cross compiler for Renesas m32c and Renesas RX. On may 4 I did a pull from the git repositories and build from master (trunk). Binutils build ok, the first part of gcc and newlib also but at the end I get an error in the final part of gcc. ------------------------------------------------------- libtool: compile: /home/dcalcoen/ti/bld/linux/gcc/./gcc/xgcc -shared-libgcc -B/home/dcalcoen/ti/bld/linux/gcc/./gcc -nostdinc++ -L/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/src -L/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/src/.libs -B/home/dcalcoen/ti/pre/linux/c6x-elf/bin/ -B/home/dcalcoen/ti/pre/linux/c6x-elf/lib/ -isystem /home/dcalcoen/ti/pre/linux/c6x-elf/include -isystem /home/dcalcoen/ti/pre/linux/c6x-elf/sys-include -I/home/dcalcoen/gitMirror/gcc/libstdc++-v3/../libgcc -I/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/c6x-elf -I/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include -I/home/dcalcoen/gitMirror/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=regex.lo -g -O2 -c /home/dcalcoen/gitMirror/gcc/libstdc++-v3/src/c++11/regex.cc -o regex.o In file included from /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/bits/stl_algo.h:68:0, from /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/algorithm:63, from /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/regex:38, from /home/dcalcoen/gitMirror/gcc/libstdc++-v3/src/c++11/regex.cc:25: /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/functional: In member function ‘std::__regex::_StateIdT std::__regex::_Nfa::_M_insert_accept()’: /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/functional:2057:63: internal compiler error: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:7038 using _Requires = typename enable_if<_Cond::value, _Tp>::type; ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [regex.lo] Error 1 make[4]: Leaving directory `/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/src/c++11' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3' make: *** [all-target-libstdc++-v3] Error 2 ------------------------------------------------------- I attached my build scripts and the output of the fail makefile. If I can help in any way please let me know With many thanks in advance Daniel Calcoen