qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files
Date: Wed, 22 May 2013 12:42:10 +0300

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]