http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-23 08:11:48 UTC --- The vtable should be defined in the same file as ctype<char>::~ctype() i.e. in libstdc++-v3/src/c++98/ctype.cc You could try adding this to ctype.cc around line 54 inline template class ctype<char>; That's a GCC extension that explicitly instantiates the vtable.