https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109188
Costas Argyris <costas.argyris at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |costas.argyris at gmail dot com --- Comment #14 from Costas Argyris <costas.argyris at gmail dot com> --- Good to hear that the patch worked in this case as well. Should we mark this as duplicate of 108865? Some extra info: I don't think the target is relevant here, as this was a host-specific change for host == x86_64-w64-mingw32 Seems like we were asking the same question between this and 108865: "LDFLAGS should have been only overridden for COMPILERS target." Could it be that genmodes.exe simply copies the COMPILERS flags, whatever they are, and assumes that it can just use them? Since it does end up getting COMPILERS : LDFLAGS, I think the proposed patch in 108865 makes sense - just make the symbol optional, not mandatory, so that these executables don't fail to build. I don't see a downside in doing this, and the actual compilers will still get to pull in the required object file that gives them UTF-8 support.