On 18 February 2015 at 21:59, Vasily Efimov <r...@ispras.ru> wrote: > This patch enables parallel building of QEMU in MSYS+MinGW environment. > Currently an attempt to build QEMU in parallel fails on generation of > version.lo (and version.o too). > > The cause of the failure is that when listing prerequisites "Makefile" > references "config-host.h" by absolute path in some rules and by relative > path in others. Make cannot figure out that these references points to the > same file which leads to the race: the generation of "version.*" which > requires "$(BUILD_DIR)/config-host.h" is launched in parallel with the > generation of "config-host.h" needed by other "Makefile" targets.
Thanks for looking into this -- I'd run into the problem a couple of times but not been able to track down why it was happening... -- PMM