From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugi74-0005Vi-II for qemu-devel@nongnu.org; Sun, 26 May 2013 17:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ugi6y-0001LH-TB for qemu-devel@nongnu.org; Sun, 26 May 2013 17:04:22 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:46347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugi6y-0001Ky-9J for qemu-devel@nongnu.org; Sun, 26 May 2013 17:04:16 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 27 May 2013 06:55:07 +1000 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [9.190.234.120]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 9A2042BB0050 for ; Mon, 27 May 2013 07:03:50 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4QKnabY14418126 for ; Mon, 27 May 2013 06:49:36 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4QL3nYc019636 for ; Mon, 27 May 2013 07:03:49 +1000 From: Anthony Liguori In-Reply-To: <20130526182447.GA3427@redhat.com> References: <20130522110922.GC5643@redhat.com> <519CA80F.4090502@redhat.com> <20130522113510.GA7707@redhat.com> <20130526073540.GA32691@redhat.com> <20130526123142.GA6865@redhat.com> <20130526134045.GA26267@redhat.com> <20130526182447.GA3427@redhat.com> Date: Sun, 26 May 2013 16:03:31 -0500 Message-ID: <8761y54foc.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , Blue Swirl Cc: Peter Maydell , Luiz Capitulino , Markus Armbruster , Paolo Bonzini , qemu-devel@nongnu.org "Michael S. Tsirkin" writes: > On Sun, May 26, 2013 at 06:20:17PM +0000, Blue Swirl wrote: > It's a simple issue. > Each time I reboot during build, I have to make clean and rebuild. > This wastes my time so I looked for ways to save the time. > On my system at least, it has no measureable cost, > likely also because size only looks at headers and metadata. > > If others are not interested, I can keep it out of tree. You probably should. Trying to be robust here is going to cause more headache than it's worth. I think your problem has better solutions too. Doing a full build with all optional dependencies enabled really doesn't take that long. $ time ( ~/git/qemu/configure && CCACHE_DISABLE=1 make -j24) real 2m28.222s user 21m33.763s sys 1m30.721s I've switched to this as standard practice since it's so quick. This is a modest two socket system with spinning disks. I'm sure it's even faster with more recent processors and SSDs. With tmpfs as the build directory it would probably fly. Our build parallelizes very well, even if you only have slow systems, distcc will work wonders. Regards, Anthony Liguori > >> >> >> >> -- PMM >> > >> >