From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15705 invoked by alias); 13 Mar 2003 14:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15686 invoked by uid 71); 13 Mar 2003 14:56:01 -0000 Resent-Date: 13 Mar 2003 14:56:01 -0000 Resent-Message-ID: <20030313145601.15684.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, niki.waibel@gmx.net Received: (qmail 16228 invoked by uid 48); 13 Mar 2003 14:50:14 -0000 Message-Id: <20030313145014.16227.qmail@sources.redhat.com> Date: Thu, 13 Mar 2003 14:56:00 -0000 From: niki.waibel@gmx.net Reply-To: niki.waibel@gmx.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/10061: cannot use wchar_t in gcc-3.2.2/solaris8, _GLIBCPP_USE_WCHAR_T undefined X-SW-Source: 2003-03/txt/msg00767.txt.bz2 List-Id: >Number: 10061 >Category: libstdc++ >Synopsis: cannot use wchar_t in gcc-3.2.2/solaris8, _GLIBCPP_USE_WCHAR_T undefined >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Mar 13 14:56:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Niki W. Waibel >Release: gcc version 3.2.2 >Organization: >Environment: SunOS blade100-2 5.8 Generic_114018-01 sun4u sparc SUNW,Sun-Blade-100 Solaris >Description: _GLIBCPP_USE_WCHAR_T is undefined in sparc-sun-solaris2.8/libstdc++-v3/config.h during the bootstrap process of gcc-3.2.2 (on solaris8). because of that i cannot compile id3lib-3.8.3. i get: === g++ -Wall -O3 -I/misc/sparc-sun-solaris2.8/include -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -Wl,--rpath -Wl,/misc/sparc-sun-solaris2.8/lib -o .libs/id3info demo_info_options.o demo_info.o getopt.o getopt1.o -L/misc/sparc-sun-solaris2.8/lib ../src/.libs/libid3.so -lz /misc/sparc-sun-solaris2.8/opt/libiconv/1.8/lib/libiconv.so -Wl,--rpath -Wl,/misc/sparc-sun-solaris2.8/opt/id3lib/3.8.3/lib -Wl,--rpath -Wl,/misc/sparc-sun-solaris2.8/opt/libiconv/1.8/lib -Wl,--rpath -Wl,/misc/sparc-sun-solaris2.8/lib ../src/.libs/libid3.so: undefined reference to `std::char_traits::compare(wchar_t const*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::assign(wchar_t*, unsigned, wchar_t)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::copy(wchar_t*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::move(wchar_t*, wchar_t const*, unsigned)' collect2: ld returned 1 exit status make[2]: *** [id3info] Error 1 === others have reported such troubles also: #10041, http://gcc.gnu.org/ml/gcc-help/2002-10/msg00030.html on solaris wide character support should work. the header files are there: wchar_impl.h, widec.h, wchar.h, wctype.h, wstring.h, ... unfort i am not a c++ expert ... >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: