From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf4gV-0003r2-CB for qemu-devel@nongnu.org; Wed, 22 May 2013 04:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf4gK-0004XP-Tw for qemu-devel@nongnu.org; Wed, 22 May 2013 04:46:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf4gK-0004X8-MI for qemu-devel@nongnu.org; Wed, 22 May 2013 04:46:00 -0400 Date: Wed, 22 May 2013 11:46:19 +0300 From: "Michael S. Tsirkin" Message-ID: <20130522084619.GE7993@redhat.com> References: <20130521214645.GA8863@redhat.com> <20130521220917.GA803@redhat.com> <87obc34fy3.fsf@blackfin.pond.sub.org> <20130522083732.GD7993@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Anthony Liguori , qemu-devel@nongnu.org, Markus Armbruster , Luiz Capitulino , Blue Swirl , Paolo Bonzini On Wed, May 22, 2013 at 09:38:39AM +0100, Peter Maydell wrote: > On 22 May 2013 09:37, Michael S. Tsirkin wrote: > > It's my fault for running -rc kernels all the time I guess, I get > > crashes kind of often, and losing more time on make clean > > on top of reboot annoys me. > > But we actually could make it robust, even against OS crash. Output to a > > temporary file then rename. This hack won't be needed then. > > I think that would be better implemented in the compiler/linker :-) Ow so you mean you want me to run -rc compiler/linker too? In any case we are generating quite a bit of code by ourselves, this would need handling, we can do it uniformly. > Alternatively, stop doing compiles on horribly unstable kernels. > > -- PMM Well I do lots of kernel development so I dislike the alternatives: - Compile on a stable kernel, reboot, test, reboot back to stable kernel - Compile on another box and copy bits over -- MST