https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109460
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #32 from Segher Boessenkool <segher at gcc dot gnu.org> --- > If you are wondering why this PR wasn't automatically updated by the commit, > I am wondering the same thing. You need to note "PR109460" or preferably "PR bootstrap/109460" in the changelog. You can paste the commit message here yourself, but let me do that for you :-) author Costas Argyris <costas.argy...@gmail.com> Wed, 12 Apr 2023 07:48:18 +0000 (08:48 +0100) committer Jonathan Yong <10wa...@gmail.com> Wed, 12 Apr 2023 14:35:33 +0000 (14:35 +0000) commit 3beeebd6934654f3453209730b98c7a1fd0305b6 tree ee01b276eba9f13284d1880794371e7ba6cca8c1 tree parent 56529056cb42baa382c40de7d239d02dbf72c94f commit | diff mingw: Support building with older gcc versions The $@ argument to the compiler is causing only a warning in some gcc versions but an error in others. In any case, $@ was never necessary so remove it completely, just like the rules in x-mingw32 where the object file gets named after the source file. This fixes both warnings and errors about sym-mingw32.o appearing in the command line unnecessarily. The -nostdlib flag is required along with -r for older gcc versions that don't apply it automatically with -r, resulting in main functions erroneously entering a partial link. Signed-off-by: Jonathan Yong <10wa...@gmail.com> gcc/ChangeLog: * config/i386/x-mingw32-utf8: Remove extrataneous $@