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

Re: [Xen-devel] missing dependency to compat/xen.h



>>> On 17.09.14 at 13:01, <olaf@xxxxxxxxx> wrote:

> Not sure if I messed up my staging tree, or if there is a real dependency 
> bug.
> Today it happend two times that my build fails like this:
> 
> In file included from 
> /home/olaf/work/github/olafhering/xen/xen/include/xen/sched.h:7:0,
>                  from x86_64/asm-offsets.c:10:
> /home/olaf/work/github/olafhering/xen/xen/include/xen/shared.h:6:24: fatal 
> error: compat/xen.h: No such file or directory
>  #include <compat/xen.h>
>                         ^
> compilation terminated.
> Makefile:150: recipe for target 'asm-offsets.s' failed
> make[3]: *** [asm-offsets.s] Error 1
> 
> Initially I had make -j8, but another run with '-j1' appended did not fix it 
> for me.
> How is compat/xen.h supposed to be created?

This make rule

$(TARGET): delete-unfresh-files
        $(MAKE) -C tools
        $(MAKE) -f $(BASEDIR)/Rules.mk include/xen/compile.h
        [ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm
        $(MAKE) -f $(BASEDIR)/Rules.mk -C include
        $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) asm-offsets.s
        $(MAKE) -f $(BASEDIR)/Rules.mk include/asm-$(TARGET_ARCH)/asm-offsets.h
        $(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) $(TARGET)

is - afaict - guaranteeing that the include/compat/ generation
happens before that of asm-offsets.s.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.