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
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: binutils at sourceware dot org, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Sat, 29 Jan 2011 10:42:32 +0100
- Subject: Re: PATCH: PR binutils/12283: bfd/doc doesn't support parallel build
- References: <AANLkTikAd7jWXN+2bi-OeR_-cQq7ivpSyVz+4165trVS@mail.gmail.com> <201101282332.p0SNWFT04949@lucas.cup.hp.com>
* Steve Ellcey wrote on Sat, Jan 29, 2011 at 12:32:15AM CET:
> This patch is intended to be a secondary fix/workaround for the problem
> that can happen when building bfd/doc using a parallel make. Ralf
> Wildenhues has a fix to move-if-changed that should fix the problem for
> any target where compiling a file multiple times will always result in
> exactly the same binary, but I have at least one platform where this is
> not the case: hppa*-*-hpux*. So I would also like to have this fix as a
> backup to Ralf's patch (which I think should also go in).
Note that with the changed move-if-change from gnulib, then instead of
your patch, you could just use
export CMPPROG=cmp --ignore-initial=16'
make -jN
for a successful build.
Cheers,
Ralf
> 2011-01-28 Steve Ellcey <sje@cup.hp.com>
>
> PR binutils/12283
> * configure.in: Add --enable-parallel-doc flag.
> * configure: Regenerate.
> * doc/Makefile.am: Add CHEW_DEP variable.
> * doc/Makefile.in: Regenerate.