missing symbol in libstdc++ from 23-11-2000

Gabriel Dos Reis gdr@codesourcery.com
Wed Dec 13 05:53:00 GMT 2000


"Rob Taylor" <robt@flyingpig.com> writes:

| > "Rob Taylor" <robt@flyingpig.com> writes:
| >
| > | on linking some very complex code that uses wide chars everywhere...
| > |
| > | libstc++.so: undefined reference to
| > | 'std::basic_string<wchar_t, std::char_traits<wchar_t>,
| > std::allocator<wchar_t>
| > | >::basic_string<std::__normal_iterator<wchar_t*, std::basic_string<wchar_t,
| > | std::char_traits<wchar_t>, std::allocator<wchar_t> > >
| > | >(std::__normal_iterator<wchar_t*, std::basic_string<wchar_t,
| > | std::char_traits<wchar_t>, std::allocator<wchar_t> > >,
| > | std::__normal_iterator<wchar_t*, std::basic_string<wchar_t,
| > | std::char_traits<wchar_t>, std::allocator<wchar_t> > >,
| > std::allocator<wchar_t>
| > | const&)'
| > |
| > | any ideas what the problem is?
| >
| > Hmm, This is the template constructor stuff which appears to have been
| > fixed a while ago.  Is this from a up-to-date tree?
| 
| well gcc is from 22-11-00, 

Interesting because Mark checked in this patch 

    2000-11-22  Mark Mitchell  <mark@codesourcery.com>

        * pt.c (do_decl_instantiate): Explicitly clone constructors
        and destructors that haven't already been cloned.

which is supposed to fix the problem you were mentioning.

| ... but I just realised I'm still on binutils 2.9.1 on
| that box, which could explain a few things... my other box with 2.10 worked as
| happy as pie.

Point taken.

Thanks,

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


More information about the Libstdc++ mailing list