From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32472 invoked by alias); 5 May 2012 08:17:46 -0000 Received: (qmail 32458 invoked by uid 22791); 5 May 2012 08:17:43 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 May 2012 08:17:30 +0000 From: "daniel.calcoen at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/53244] New: internal compiler error while build for target c6x-elf Date: Sat, 05 May 2012 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: daniel.calcoen at cern dot ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg00548.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53244 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: unassigned@gcc.gnu.org ReportedBy: daniel.calcoen@cern.ch I=E2=80=99m trying to build a cross compiler for the c6x using the same scr= ipt 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 (trun= k). Binutils build ok, the first part of gcc and newlib also but at the end I g= et 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=3Dgnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dregex.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 =E2=80=98std::__regex::_StateIdT std::__regex::_Nfa::_M_insert_accept()=E2=80=99: /home/dcalcoen/ti/bld/linux/gcc/c6x-elf/libstdc++-v3/include/functional:205= 7: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 =3D typename enable_if<_Cond::value, _Tp>::type; ^ Please submit a full bug report, with preprocessed source if appropriate. See 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