This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR binutils/12283: bfd/doc doesn't support parallel build
* Ralf Wildenhues wrote on Thu, Dec 02, 2010 at 07:20:50PM CET:
> * H.J. Lu wrote on Thu, Dec 02, 2010 at 07:16:07PM CET:
> > Failure is very random. There is a race condition. "make -j8" on a 16core
> > machine can start making $(MKDOC) at the same time. How can move-if-change
> > be 100% atomic?
>
> Well, 'mv -f' within a mount point is atomic, that's how.
Ahh, move-if-change is broken: it doesn't ignore mv -f failure when the
target is equal. Let's fix move-if-change.
Cheers,
Ralf