https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109460
--- Comment #24 from Costas Argyris <costas.argyris at gmail dot com> --- So this is because of the old (7.3) gcc version not supporting -r. Indeed, in the 7.3 doc https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Link-Options.html#Link-Options there is no '-r' option while there is in the current doc: https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options However, I don't understand how the proposed solution works: + $(COMPILER) -r -nostdlib utf8rc-mingw32.o sym-mingw32.o -o $@ since we are still using the -r flag which we just found out doesn't work in 7.3 The fact that -nostdlib somehow makes it work seems like magic to me, and I can't propose such a patch for that reason. I also don't know if this fixes this case of using an old compiler but breaks others. If Eric feels confident about this and can test that it doesn't break currently working builds, please propose a patch. Thanks