https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101853
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Nobody is maintaining the modules code right now. This was introduced by a libstdc++ change, but as far as I know the library code is correct and this is just a compiler bug that should get fixed in stage 3.