From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf5YQ-0002Dw-Su for qemu-devel@nongnu.org; Wed, 22 May 2013 05:41:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf5YO-0006us-CJ for qemu-devel@nongnu.org; Wed, 22 May 2013 05:41:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf5YO-0006um-5I for qemu-devel@nongnu.org; Wed, 22 May 2013 05:41:52 -0400 Date: Wed, 22 May 2013 12:42:10 +0300 From: "Michael S. Tsirkin" Message-ID: <20130522094210.GA24931@redhat.com> References: <20130521214645.GA8863@redhat.com> <20130521220917.GA803@redhat.com> <87obc34fy3.fsf@blackfin.pond.sub.org> <20130522083732.GD7993@redhat.com> <519C8541.6060605@redhat.com> <20130522085219.GF7993@redhat.com> <519C8E6C.3000107@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <519C8E6C.3000107@redhat.com> Subject: Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Anthony Liguori , qemu-devel@nongnu.org, Markus Armbruster , Luiz Capitulino , Blue Swirl On Wed, May 22, 2013 at 11:22:52AM +0200, Paolo Bonzini wrote: > Il 22/05/2013 10:52, Michael S. Tsirkin ha scritto: > > The fix is simple here: don't use ccache. I don't. > > > > In fact, from what I saw people use ccache to work around makefile bugs, > > so they can do make clean; make and have it finish quickly. > > > > Any other examples? > > Testing configure patches should be done (also) from a clean build > directory, for example. > > Paolo In fact, relying on make clean for testing the build system is a mistake. It's easy for it to forget to remove some temporary file. You really should do a clean clone. But testing is a completely separate issue IMO, I'm not trying to fix that, just reduce the chance of a failed or corrupted build. -- MST