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

spamdrop at fodvo dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 16 22:49:00 GMT 2017


--- Comment #5 from spamdrop at fodvo dot org ---
Taking Johnathan's recommendation on Sept 29, I rebuilt the entire app, all
libaries etc using -D_GLIBCXX_USE_CXX11_ABI=0

Carefully isolating the libs and LD_LIBRARY_PATH.  Using ABI=0, the program
runs fine.  When I repeat the exact same steps without the ABI=0 define, the
program throws the std::bad_cast error.

More information about the Gcc-bugs mailing list