From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18705 invoked by alias); 7 Nov 2004 13:58:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18698 invoked by uid 48); 7 Nov 2004 13:58:03 -0000 Date: Sun, 07 Nov 2004 13:58:00 -0000 From: "hp at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20041107135757.18355.hp@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/18355] New: [4.0 regression] cross toolchains don't build libstdc++: m32r-elf v850-elf X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg00804.txt.bz2 List-Id: With LAST_UPDATED: "Sat Nov 6 20:25:03 MET 2004" I get (copy-pasted): /v850-sim/gcc/xgcc -shared-libgcc -B/home/hp/builds2/v850-sim/gcc/ -nostdinc++ -L/home/hp/builds2/v850-sim/v850-e\ lf/libstdc++-v3/src -L/home/hp/builds2/v850-sim/v850-elf/libstdc++-v3/src/.libs -nostdinc -B/home/hp/builds2/v850-sim/v850-elf/ne\ wlib/ -isystem /home/hp/builds2/v850-sim/v850-elf/newlib/targ-include -isystem /home/hp/cvs_areas/combined/cvs_write/newlib/libc/\ include -B/home/hp/builds2/v850-sim/../install-v850/v850-elf/bin/ -B/home/hp/builds2/v850-sim/../install-v850/v850-elf/lib/ -isys\ tem /home/hp/builds2/v850-sim/../install-v850/v850-elf/include -isystem /home/hp/builds2/v850-sim/../install-v850/v850-elf/sys-in\ clude -L/home/hp/builds2/v850-sim/ld -I/home/hp/builds2/v850-sim/v850-elf/libstdc++-v3/include/v850-elf -I/home/hp/builds2/v850-s\ im/v850-elf/libstdc++-v3/include -I/home/hp/cvs_areas/combined/cvs_write/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -fno-implicit-t\ emplates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -c /home/hp/cvs_areas/combined/cvs_write/libs\ tdc++-v3/src/fstream-inst.cc -o fstream-inst.o /usr/tmp/ccwwO5bs.s: Assembler messages: /usr/tmp/ccwwO5bs.s:10026: Error: can't resolve `.gnu.linkonce.t._ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' {.gnu.linkonce.t\ ._ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev section} - `__ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' {.gnu.linkonce.t._ZN\ St14basic_ifstreamIcSt11char_traitsIcEED1Ev section} /usr/tmp/ccwwO5bs.s:10026: Error: expression too complex The same error for m32r-elf. Both targets use sjlj-exceptions (at least that's what the libstdc++ configury tells me). Something tells me that's the relation. Last known to work on: "Wed Apr 21 08:31:07 GMT 2004" (m32r-elf) "Mon Sep 6 04:43:11 GMT 2004" (v850-elf) Known to fail on: "Wed Oct 27 00:30:50 GMT 2004". -- Summary: [4.0 regression] cross toolchains don't build libstdc++: m32r-elf v850-elf Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: v850-elf, m32r-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18355