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 <20150109124329.GC14961%trav.math.uni-bonn.de@localhost>,
Edgar Fuß <ef%math.uni-bonn.de@localhost> 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
>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.
They should be doing mkdir -p foo
christos
Home |
Main Index |
Thread Index |
Old Index