StephanTLavavej / mingw-distro

MinGW distro build scripts.
494 stars 55 forks source link

binutils ar/ranlib fail sporadically in parallel builds #19

Closed StephanTLavavej closed 7 years ago

StephanTLavavej commented 8 years ago

When this happens, it looks like:

c:/mingw/x86_64-w64-mingw32/bin/ranlib.exe: bin.v2\libs\test\build\gcc-mingw-5.3.0\release\link-static\runtime-link-static\threading-multi\libboost_test_exec_monitor-mgw53-mt-s-1_60.a: Permission denied

Apparently, it's caused by rename() sporadically failing.

StephanTLavavej commented 7 years ago

This didn't occur while building distro 15.0.

StephanTLavavej commented 7 years ago

This also didn't occur while building distro 15.1, which involved at least 4 full builds (as a new version of GCC was released halfway through). I'm going to conclude/hope that a bug was fixed somewhere (Windows? MSYS2? Quantum physics?).