
Jonathan Wakely wrote:
On Sun, May 08, 2005 at 12:46:10PM -0500, Rene Rivera wrote:
For this sole failure on the tests that I run:
I did some investigation and narrowed the problem down to this:
[snip testcase]
Which gives a link error of:
undefined reference to `std::basic_iostream<char, std::char_traits<char> >::~basic_iostream()'
And AFAICT that particular dtor is not in libstdc++. And for that matter the entire std::basic_iostream<char,..> instance is missing.
I've had very similar problems with that dtor missing from libstdc++, see http://gcc.gnu.org/ml/libstdc++/2004-09/msg00125.html (despite the subject line, this was nothing to do with PR16715, that just made a latent problem apparent)
That doesn't seem to have any resolutions to it. Did I miss something? What was the resolution?
Could you check whether the wchar_t specialisation is in the libstdc++.so library?
nm --demangle libstdc++.so | grep 'basic_iostream<wchar_t'
Had already done that.. which is why I said the char specializations where absent. The wchar_t ones are present.
Both the char and wchar_t specialisations should be in the lib, thanks to explicit instantiation in istream.tcc
Not in my case :-(
This problem eventually went away IIRC, I was tracking the CVS version and stopped having the problem at some point.
Well it doesn't help me :-( As this is the straight release tar archive. And as was pointed out on another post, it's only my problem. Others have those symbols with the 3.4.3 release. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org