2011/11/16 Maciej (Matchek) Bliziński: > I ran into this problem recently, with gcc-4.6.1 on Solaris 10 U9: > >> ~/usr-i386/bin/gcc-4.6 --version The version number is far less useful than the output of -v, which tells us how you built gcc. > > Searching on the web showed that this problem has been cropping up > every now and then, e.g. this post is from 2004 which contains a > patch: > > http://gcc.gnu.org/ml/libstdc++/2004-04/msg00154.html That looks like a different problem. Did you build GCC on Solaris 8 and install it on Solaris 10, or something like that? What is on the indicated lines of iso_string.h?