https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109460
--- Comment #28 from Costas Argyris <costas.argyris at gmail dot com> --- I am not aware of any cases of building windows-hosted gcc with msvc or clang. If the combination -r -nostdlib fixes this case without breaking all the others that don't need -nostdlib (which sounds like it is the case), then I suggest we move forwards with this solution.