https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88321
--- Comment #1 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> --- Update: there is workaround for this, pass "--with-ld=/bin/x86_64-w64-mingw32-ld --with-as=/bin/x86_64-w64-mingw32-as" to configure script. I also tried to use "--with-ld=x86_64-w64-mingw32-ld --with-as=x86_64-w64-mingw32-as". With these options initial configure completed successfully, but build failed that command cannot be found - probably PATH environment variable was cleared during build, and full path to specified as/ld was not saved.