public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "david dot stoffel81 at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/41938]  New: make[1]: *** [all-target-libstdc++-v3] Error 2
Date: Wed, 04 Nov 2009 13:58:00 -0000	[thread overview]
Message-ID: <bug-41938-18386@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5711 bytes --]

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


             reply	other threads:[~2009-11-04 13:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 13:58 david dot stoffel81 at googlemail dot com [this message]
2009-11-04 14:36 ` [Bug libstdc++/41938] " paolo dot carlini at oracle dot com
2009-11-05 12:26 ` david dot stoffel81 at googlemail dot com
2009-11-05 13:09 ` paolo dot carlini at oracle dot com
2009-11-05 13:42 ` paolo dot carlini at oracle dot com
2009-11-05 13:43 ` paolo dot carlini at oracle dot com
2009-11-05 13:43 ` paolo dot carlini at oracle dot com
2009-11-05 16:11 ` david dot stoffel81 at googlemail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-41938-18386@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).