This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: sstream header of gcc 3.1 on sun solaris
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Niv Drory <drory at astro dot as dot utexas dot edu>
- Cc: gcc-help at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 23:23:07 -0700
- Subject: Re: sstream header of gcc 3.1 on sun solaris
- Organization: Red Hat / San Francisco
- References: <Pine.GS4.4.10.10208081821360.8380-100000@astro.as.utexas.edu>
> 1) warnings about global symbols having non-global bindings
> in libgcc_s.so, and
> 2) fails to link due to undefined symbols:
> std::basic_stringstream<char, std::char_traits<char>,
> std::allocator<char> >::basic_stringstream
> [in-charge](std::_Ios_Openmode)
> and the destructor of that class is missing, too.
Are you using GNU binutils (ie GNU ld)? If so, what versions?
Your build seems suspect to me: code like this is required to link to
pass the libstdc++ testsuite. If you see a bunch of FAIL's when you do
'make check-c++' then you know that there's something wrong with your
build.
-benjamin