https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #5 from J.M. Eubank <john at thesnappy dot net> --- Unfortunately it doesn't seem to have made a difference in this case. x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -O2 -g -D__USE_MINGW_ACCESS -I. -I/crossdev/src/binutils-git-2_36_1/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -ped make[3]: *** [Makefile:1260: sha1.o] Error 1 $ /c/crossdev/gccmaster/host-toolchain-cross4/bin/x86_64-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=C:\crossdev\gccmaster\host-toolchain-cross4\bin\x86_64-w64-mingw32-gcc.exe COLLECT_LTO_WRAPPER=c:/crossdev/gccmaster/host-toolchain-cross4/bin/../libexec/gcc/x86_64-w64-mingw32/12.0.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../src/gcc-git-ecc5644fa3bc7f37eada2a3e9c627cd1918922e0/configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-targets=all --target=x86_64-w64-mingw32 --prefix=/crossdev/prefix-cross2-x86_64-w64-mingw32 --enable-static --disable-shared --enable-languages=ada,c,c++ --disable-werror --with-gnu-ld --disable-nls --disable-win32-registry --disable-bootstrap --enable-sjlj-exceptions --enable-threads=posix Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210614 (experimental) (GCC)