Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-25 Thread Blue Swirl
On Tue, Jan 22, 2013 at 4:40 PM, Paolo Bonzini wrote: > Il 22/01/2013 15:59, Stefan Hajnoczi ha scritto: >> Why not seriously default to ./build/ for build products and get rid of >> class in-tree builds? >> >> The build still happens inside the working tree by default but it will >> be in a dedic

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Paolo Bonzini
Il 22/01/2013 15:59, Stefan Hajnoczi ha scritto: > Why not seriously default to ./build/ for build products and get rid of > class in-tree builds? > > The build still happens inside the working tree by default but it will > be in a dedicated ./build/ directory. We can easily rm -rf that > directo

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Stefan Hajnoczi
On Tue, Jan 22, 2013 at 03:27:26PM +0100, Paolo Bonzini wrote: > Il 22/01/2013 11:00, Stefan Hajnoczi ha scritto: > >> > I also just spent a long time trying to figure out why > >> > my MacOS system wouldn't build after a git pull; turns > >> > out that: > >> > (1) we used to have a generated trace

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Paolo Bonzini
Il 22/01/2013 11:00, Stefan Hajnoczi ha scritto: >> > I also just spent a long time trying to figure out why >> > my MacOS system wouldn't build after a git pull; turns >> > out that: >> > (1) we used to have a generated trace.h and we don't any more >> > (2) make distclean doesn't remove trace.h >

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Markus Armbruster
Peter Maydell writes: > On 22 January 2013 10:00, Stefan Hajnoczi wrote: >> On Mon, Jan 21, 2013 at 11:42:54PM +, Peter Maydell wrote: >>> I have no idea whether we can make qemu's build process more >>> resistant to that kind of diachronic change, but I mention it >>> anyway :-) >> >> Yes,

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Peter Maydell
On 22 January 2013 10:00, Stefan Hajnoczi wrote: > On Mon, Jan 21, 2013 at 11:42:54PM +, Peter Maydell wrote: >> I have no idea whether we can make qemu's build process more >> resistant to that kind of diachronic change, but I mention it >> anyway :-) > > Yes, this is an annoying weakness in

Re: [Qemu-devel] trace: weird issues with makefile dependencies

2013-01-22 Thread Stefan Hajnoczi
On Mon, Jan 21, 2013 at 11:42:54PM +, Peter Maydell wrote: > There seems to be something wrong with the dependencies > or makefile runes for some of the trace infrastructure. > > For example: > pm215@canth:~/src/qemu/qemu$ less trace/generated-tracers.c > /* This file is autogenerated by trace

[Qemu-devel] trace: weird issues with makefile dependencies

2013-01-21 Thread Peter Maydell
There seems to be something wrong with the dependencies or makefile runes for some of the trace infrastructure. For example: pm215@canth:~/src/qemu/qemu$ less trace/generated-tracers.c /* This file is autogenerated by tracetool, do not edit. */ pm215@canth:~/src/qemu/qemu$ git status trace/generat