public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/41938]  New: make[1]: *** [all-target-libstdc++-v3] Error 2
@ 2009-11-04 13:58 david dot stoffel81 at googlemail dot com
  2009-11-04 14:36 ` [Bug libstdc++/41938] " paolo dot carlini at oracle dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: david dot stoffel81 at googlemail dot com @ 2009-11-04 13:58 UTC (permalink / raw)
  To: gcc-bugs

[-- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
@ 2009-11-04 14:36 ` paolo dot carlini at oracle dot com
  2009-11-05 12:26 ` david dot stoffel81 at googlemail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-04 14:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo dot carlini at oracle dot com  2009-11-04 14:36 -------
Are you sure using newlib is supported (and that you definitely need it)? I do
not have access to Leopard anymore but certainly the library builds fine for a
default configure, in fact the entire 4.4.x, we have plenty of successful
reports.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: david dot stoffel81 at googlemail dot com @ 2009-11-05 12:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from david dot stoffel81 at googlemail dot com  2009-11-05 12:26 -------
Hi Paolo,

downgraded to 4.4.0 and it still works with cross toolchain for i386-elf and
arm-elf the minimal configuration.
(Compiled with newlib)

My configure:
configure --target=i386-elf --prefix=/opt/local/i386-elf-gcc --with-newlib
--with-gnu-as --with-gnu-ld --enable-lanuages=c,c++


-- 

david dot stoffel81 at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-05 13:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-11-05 13:09 -------
Ok, but I *really* suggest figuring out in detail what id going on and, in
case, reopen, because 4.4.2 is definitely recommended vs 4.4.0, it includes
important fixes in many areas. The only relevant change in 4.4.2 could be PR
36211, I'm adding David Billinghurst in CC.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |billingd at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-05 13:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo dot carlini at oracle dot com  2009-11-05 13:41 -------
Note, however, that 36211 has to do only with the testsuite, absolutely nothing
changed in the library proper in this area of locale.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-05 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2009-11-05 13:42 -------
And...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-05 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo dot carlini at oracle dot com  2009-11-05 13:43 -------
... nobody fixed this issue, let's assume for now it's a WORKSFORME.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/41938] make[1]: *** [all-target-libstdc++-v3] Error 2
  2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
                   ` (5 preceding siblings ...)
  2009-11-05 13:43 ` paolo dot carlini at oracle dot com
@ 2009-11-05 16:11 ` david dot stoffel81 at googlemail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: david dot stoffel81 at googlemail dot com @ 2009-11-05 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from david dot stoffel81 at googlemail dot com  2009-11-05 16:10 -------
Thank you very much. I will try to recompile it again with the actual 4.4.2 on
the same test machine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41938


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-05 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-04 13:58 [Bug libstdc++/41938] New: make[1]: *** [all-target-libstdc++-v3] Error 2 david dot stoffel81 at googlemail dot com
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

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).