https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #2) > It fails if you mix old and new ABIs in a single executable. More precisely, if you mix std::regex compiled with the old and new ABIs in a single executable. It's OK to mix the ABIs if all the objects that use std::regex agree on the same ABI.