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

Re: [Xen-devel] Xen makefiles wants to write to /..d ?



>>> On 28.05.16 at 14:12, <hakon@xxxxxxxxxxxxxxxxxx> wrote:
> I confess I'm a rank amateur, but I'm trying to get xen-4.7.0_rc* rammed
> into a gentoo package, so that I can try it out and still switch back to
> 4.6 again as quickly as possible.
> 
> I don't have it working yet, but aside from that, gentoo build sandbox
> complains about several instances like this:
> --
> 
> F: fopen_wr
> S: deny
> P: /..d
> A: /..d
> R: /..d
> C: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1 -quiet -nostdinc -I
> /var/tmp/portage/app-emulation/xen-4.7.0_rc4/work/xen-4.7.0-rc4/xen/include
> -I
> /var/tmp/portage/app-emulation/xen-4.7.0_rc4/work/xen-4.7.0-rc4/xen/include/
> asm-x86/mach-generic
> -I
> /var/tmp/portage/app-emulation/xen-4.7.0_rc4/work/xen-4.7.0-rc4/xen/include/
> asm-x86/mach-default
> -MMD /dev/null.d -MF /..d -MQ /dev/null -D __ASSEMBLY__ -D BUILD_ID -D
> __XEN__ -D __OBJECT_FILE__="" -D VERBOSE -D CONFIG_FRAME_POINTER -D
> __OBJECT_LABEL__=include$ -include
> /var/tmp/portage/app-emulation/xen-4.7.0_rc4/work/xen-4.7.0-rc4/xen/include/
> xen/config.h
> -include
> /var/tmp/portage/app-emulation/xen-4.7.0_rc4/work/xen-4.7.0-rc4/xen/include/
> xen/config.h
> - -quiet -dumpbase - -m64 -msoft-float -mtune=generic -march=x86-64
> -auxbase-strip /dev/null -g -g -O1 -Wall -Wstrict-prototypes
> -Wdeclaration-after-statement -Wno-unused-but-set-variable
> -Wno-unused-local-typedefs -Wredundant-decls -Wno-pointer-arith
> -Wnested-externs -fno-strict-aliasing -fno-builtin -fno-common
> -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-stack-protector
> -fno-exceptions -o -
> 
> -- 
> From what I can *guess* it has something to do with compiling to
> /dev/null to generate build dependencies, and this snippet from
> Rules.mk: "CFLAGS-y += -MMD -MF $(@D)/.$(@F).d"
> --
> Building outside sandbox does create that file in the root of my file
> system, but it seems kind of fishy, and the resulting build seems to
> have loads of weird problems.
> 
> So; am I doing something wrong, or is there a bug in the build system ?

Bug in the build system, see
http://lists.xenproject.org/archives/html/xen-devel/2016-05/msg02822.html
for a fix.

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®.