https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109460
--- Comment #1 from Costas Argyris <costas.argyris at gmail dot com> --- Can you give some more info on how exactly you are cross-building gcc for windows host? Did you add the -fno-PIE flag manually or was it part of the build process you are following? Seems like you are trying to compile an executable out of sym-mingw32.cc, but this shouldn't be happening because this file gets compiled into a simple object file only. That's why it would help to know more about the build process you are following.