https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- configure:2358: checking build system type configure:2372: result: x86_64-pc-linux-gnu configure:2419: checking host system type configure:2432: result: x86_64-pc-linux-gnu configure:2452: checking target system type configure:2465: result: x86_64-w64-mingw32 I don't see you setting a sysroot. Can you attach gcc/config.log and x86_64-w64-mingw32/libvtv/config.log? But it looks like libvtv is not used to non-sysroot based builds.