tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Parallel build failure on OSX



> Is that two commands creating the same directory at the same time?
I would guess two parallel make invocations both running the 
check-for-existence-otherwise-create-sequence simultaneously. So both fail 
the existence check and then both try to mkdir.

> In whick case it is a bug in the makefile.
Is it? Is it illegal for two Makefiles to have
foo:
	mkdir foo
in it and be invoked in parallel?

> OTOH mkdir failing EEXIST isn't useful - with nfs it happens if the
> response is lost and the request retried.
Yes.


Home | Main Index | Thread Index | Old Index