https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the situtation here is you have a pre-C++17 application using a C++17 library. If the application was C++17 and using a C++11 library, it would just work. So the ABI is broken in the C++17 library rather than in libstdc++ as far as I can tell. That is this is NOT a libstdc++ issue but the C++17 library making sure it does not call the new `operator new`. Which means this is a bug in LLVM ....