[Bug libstdc++/82366] std::regex constructor called from shared library throws std::bad_cast

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 29 20:30:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82366

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Actually the gdb output does show the right libstdc++ is being used:

Reading symbols from /dvl/oms6/gcc-7.1.0/lib64/libstdc++.so.6...done.
Loaded symbols for /dvl/oms6/gcc-7.1.0/lib64/libstdc++.so.6

Try using _GLIBCXX_USE_CXX11_ABI=0 anyway, and see if that helps.


More information about the Gcc-bugs mailing list