tech-toolchain archive

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

Re: Parallel build failure on OSX

In article <>,
Edgar Fuß  <> wrote:
>> 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
>	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.

They should be doing mkdir -p foo


Home | Main Index | Thread Index | Old Index