From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N83YX-0002RK-Ep for qemu-devel@nongnu.org; Tue, 10 Nov 2009 22:07:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N83YS-0002Pa-1j for qemu-devel@nongnu.org; Tue, 10 Nov 2009 22:07:36 -0500 Received: from [199.232.76.173] (port=49322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N83YR-0002PX-Si for qemu-devel@nongnu.org; Tue, 10 Nov 2009 22:07:31 -0500 Received: from mx20.gnu.org ([199.232.41.8]:64159) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N83YR-0006G3-GS for qemu-devel@nongnu.org; Tue, 10 Nov 2009 22:07:31 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N83YQ-0008Lb-Bq for qemu-devel@nongnu.org; Tue, 10 Nov 2009 22:07:30 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH 0/2] Build fixes Date: Wed, 11 Nov 2009 03:07:27 +0000 References: <20091105163741.GA3983@caradoc.them.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911110307.27227.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Daniel Jacobowitz , Juan Quintela On Thursday 05 November 2009, Juan Quintela wrote: > Daniel Jacobowitz 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