This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2
- From: "david dot stoffel81 at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2009 13:58:40 -0000
- Subject: [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am useing the following CFLAGS
export CFLAGS=-no-cpp-precom
with the configure command:
../configure --target=i386-elf --prefix=/usr/local/i386elfgcc --with-gnu-as
--with-gnu-ld --disable-libssp --enable-languages=c,c++,objc --with-newlib
--with-headers=../../newlib-1.9.0/newlib/libc/include --with-gmp=/opt/local
--with-mpfr=/opt/local --enable-multilib --disable-libgfortran
The result is a problem with libstdc++ on Leopard 10.5. Trying to fix this
issue sience a week with no result.
gnu_cxx::encoding_state>::do_out(__gnu_cxx::encoding_state&, const _InternT*,
const _InternT*, const _InternT*&, _ExternT*, _ExternT*, _ExternT*&) const?:
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:310:
error: expected initializer before ?&? token
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:336:
error: ?iconv? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:336:
error: ?__desc? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:337:
error: there are no arguments to ?__iconv_adaptor? that depend on a template
parameter, so a declaration of ?__iconv_adaptor? must be available
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:337:
note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the
use of an undeclared name is deprecated)
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:343:
error: ?iconv? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:343:
error: ?__desc? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:344:
error: there are no arguments to ?__iconv_adaptor? that depend on a template
parameter, so a declaration of ?__iconv_adaptor? must be available
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:
In member function ?virtual std::codecvt_base::result std::codecvt<_InternT,
_ExternT, __gnu_cxx::encoding_state>::do_unshift(__gnu_cxx::encoding_state&,
_ExternT*, _ExternT*, _ExternT*&) const?:
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:377:
error: expected initializer before ?&? token
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:384:
error: ?iconv? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:384:
error: ?__desc? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:385:
error: there are no arguments to ?__iconv_adaptor? that depend on a template
parameter, so a declaration of ?__iconv_adaptor? must be available
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:
In member function ?virtual std::codecvt_base::result std::codecvt<_InternT,
_ExternT, __gnu_cxx::encoding_state>::do_in(__gnu_cxx::encoding_state&, const
_ExternT*, const _ExternT*, const _ExternT*&, _InternT*, _InternT*, _InternT*&)
const?:
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:414:
error: expected initializer before ?&? token
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:440:
error: ?iconv? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:440:
error: ?__desc? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:441:
error: there are no arguments to ?__iconv_adaptor? that depend on a template
parameter, so a declaration of ?__iconv_adaptor? must be available
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:447:
error: ?iconv? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:447:
error: ?__desc? was not declared in this scope
/Users/colossus/toolchains/gcc-4.4.2/build-i386-elf/i386-elf/libstdc++-v3/include/ext/codecvt_specializations.h:448:
error: there are no arguments to ?__iconv_adaptor? that depend on a template
parameter, so a declaration of ?__iconv_adaptor? must be available
make[4]: *** [i386-elf/bits/extc++.h.gch/O2g.gch] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [all] Error 2
--
Summary: make[1]: *** [all-target-libstdc++-v3] Error 2
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david dot stoffel81 at googlemail dot com
GCC host triplet: Darwin Kernel Version 9.8.0: PowerPC
GCC target triplet: i386-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938