https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109633
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- You have to use the GCC 13 runtime libraries - you likely run into a system with older libstdc++? Probably a duplicate of PR108969.