This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bizarre rebuild errors
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 29 Jan 2003 20:37:49 -0500
- Subject: Re: Bizarre rebuild errors
- References: <20030130013046.GA6819@nevyn.them.org>
On Wed, Jan 29, 2003 at 08:30:46PM -0500, Daniel Jacobowitz wrote:
> Almost every time I cvs update recently, either version.h or bfd.h ends up
> empty when they're regenerated, and the build fails. Then I go kick it by
> hand and everything works.
>
> Does anyone else see this behaviour? Any ideas where to look? I can't
> figure out how it's happening, and I spent quite a bit of time trying to
> work it out yesterday.
As soon as I say that I find the problem. You can't run more than one
config.status at once, because of "conftest.s$ac_file" and "rm -f
conftest.s*".
This appears to be a bug in Automake and/or autoconf; autoconf is at
fault and automake generates the offending rules. We trigger it now
whenever:
make -j2
bfdver.h needs to be rebuilt
bfd.h needs to be rebuilt
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer