http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50594
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-02 23:08:12 UTC --- Note that basic_string<char>, at variance with any std::map instantiation, is exported by the *.so, in particular the functions managing memory.