[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 0/2] Build fixes
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] Re: [PATCH 0/2] Build fixes |
Date: |
Wed, 11 Nov 2009 03:07:27 +0000 |
User-agent: |
KMail/1.12.2 (Linux/2.6.30-2-amd64; KDE/4.3.2; x86_64; ; ) |
On Thursday 05 November 2009, Juan Quintela wrote:
> Daniel Jacobowitz <address@hidden> wrote:
> > On Thu, Nov 05, 2009 at 05:17:46PM +0100, Juan Quintela wrote:
> >> How are you compiling?
> >> It works for me compiling in-tree with make -j3 (only 2 cores)
> >
> > I can reliably reproduce it by building all my QEMU configs at once.
> > I think that's a four-core or eight-core machine, -j4 in each build,
> > six separate qemu build trees. I've reproduced it in a single build
> > tree a couple of times, but not reliably.
>
> I have no way to reproduce reliablely :(
rm -f qemu-tool.[od] config-host.h
make qemu-tool.o
Reproduces reliably.
The following patch should expose any similar failures:
--- a/rules.mak
+++ b/rules.mak
@@ -44,5 +44,6 @@ cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc
/dev/
@test -f $@ || cp $< $@
%.h-timestamp: %.mak
+ sleep 60
$(call quiet-command, $(SRC_PATH)/create_config < $< > $@, " GEN
$*.h
@cmp $@ $*.h >/dev/null 2>&1 || cp $@ $*.h
Paul