https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124238
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to James K. Lowden from comment #11) > $ c++filt > '_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEC5EiSt13_Ios_Openmodem' > __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >::stdio_filebuf(int, > std::_Ios_Openmode, unsigned long) That's the symbol where the undefined reference is coming from, not the missing symbol. The missing symbol is the vtable, which is _ZTVN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEE
