Commit 7e90098 breaks Xen build on FreeBSD
Hello,
This is the failed build output:
# gmake -j12 xen gmake -C xen install gmake[1]: Entering directory `/root/xen/xen_pvh/xen' gmake -f Rules.mk _install gmake[2]: Entering directory `/root/xen/xen_pvh/xen' gmake -C tools gmake[3]: Entering directory `/root/xen/xen_pvh/xen/tools' gmake symbols gmake[4]: Entering directory `/root/xen/xen_pvh/xen/tools' gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -Wdeclaration-after-statement -o symbols symbols.c gmake[4]: Leaving directory `/root/xen/xen_pvh/xen/tools' gmake[3]: Leaving directory `/root/xen/xen_pvh/xen/tools' gmake -f /root/xen/xen_pvh/xen/Rules.mk include/xen/compile.h gmake[3]: Entering directory `/root/xen/xen_pvh/xen' __ __ _ _ ____ _ _ _ \ \/ /___ _ __ | || | | ___| _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ '_ \ | || |_ |___ \ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \ / \ __/ | | | |__ _| ___) |__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_| |_|(_)____/ \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
gmake[3]: Leaving directory `/root/xen/xen_pvh/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
gmake -f /root/xen/xen_pvh/xen/Rules.mk -C include
gmake[3]: Entering directory `/root/xen/xen_pvh/xen/include'
mkdir -p compat
mkdir -p compat
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/event_channel.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/event_channel.c.new
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/elfnote.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/elfnote.c.new
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/callback.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/callback.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/features.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/features.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/grant_table.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/grant_table.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/kexec.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/kexec.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/memory.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/memory.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/nmi.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/nmi.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/physdev.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/physdev.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/platform.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/platform.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/sched.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/sched.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/tmem.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/tmem.c.new
mv -f compat/nmi.c.new compat/nmi.c
mv -f compat/features.c.new compat/features.c
mv -f compat/callback.c.new compat/callback.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/trace.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/trace.c.new
mv -f compat/elfnote.c.new compat/elfnote.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/vcpu.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/vcpu.c.new
mv -f compat/kexec.c.new compat/kexec.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/version.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/version.c.new
mv -f compat/sched.c.new compat/sched.c
mv -f compat/event_channel.c.new compat/event_channel.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xen.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xen.c.new
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xencomm.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xencomm.c.new
mv -f compat/tmem.c.new compat/tmem.c
mv -f compat/memory.c.new compat/memory.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xenoprof.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xenoprof.c.new
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen-mca.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen-mca.c.new
mv -f compat/version.c.new compat/version.c
mv -f compat/physdev.c.new compat/physdev.c
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen.c.new
mv -f compat/xencomm.c.new compat/xencomm.c
mv -f compat/trace.c.new compat/trace.c
mv -f compat/grant_table.c.new compat/grant_table.c
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen-x86_32.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen-x86_32.c.new
mv -f compat/vcpu.c.new compat/vcpu.c
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86_32.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86_32.c.new
cat >compat/xlat.h.new
for i in public/trace.h public/tmem.h public/platform.h public/physdev.h public/grant_table.h public/callback.h public/xen-compat.h public/sched.h public/features.h public/xen.h public/dom0_ops.h public/mem_event.h public/version.h public/event_channel.h public/xenoprof.h public/elfnote.h public/gcov.h public/vcpu.h public/xencomm.h public/nmi.h public/kexec.h public/memory.h public/hvm/params.h public/hvm/hvm_info_table.h public/hvm/ioreq.h public/hvm/hvm_op.h public/hvm/hvm_xs_strings.h public/hvm/e820.h public/hvm/pvdrivers.h public/io/vscsiif.h public/io/libxenvchan.h public/io/pciif.h public/io/tpmif.h public/io/blkif.h public/io/usbif.h public/io/netif.h public/io/xenbus.h public/io/fbif.h public/io/fsif.h public/io/console.h public/io/ring.h public/io/protocols.h public/io/kbdif.h p
ublic/io/xs_wire.h; do clang -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -x c $i || exit 1; echo $i; done >headers.chk.new
mv -f compat/xlat.h.new compat/xlat.h
mv -f compat/platform.c.new compat/platform.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/callback.i compat/callback.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/elfnote.i compat/elfnote.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/event_channel.i compat/event_channel
.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/features.i compat/features.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/grant_table.i compat/grant_table.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/kexec.i compat/kexec.c
mv -f compat/xenoprof.c.new compat/xenoprof.c
mv -f compat/arch-x86_32.c.new compat/arch-x86_32.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/memory.i compat/memory.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/nmi.i compat/nmi.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/physdev.i compat/physdev.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/platform.i compat/platform.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/sched.i compat/sched.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/tmem.i compat/tmem.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/trace.i compat/trace.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/vcpu.i compat/vcpu.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/version.i compat/version.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xencomm.i compat/xencomm.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xenoprof.i compat/xenoprof.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86_32.i compat/arch-x86_32.c
mv -f compat/arch-x86/xen-x86_32.c.new compat/arch-x86/xen-x86_32.c
set -e; id=_$(echo compat/callback.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/callback.h.new; \
echo "#define $id" >>compat/callback.h.new; \
echo "#include <xen/compat.h>" >>compat/callback.h.new; \
echo "#include <public/callback.h>" >>compat/callback.h.new; \
echo "#pragma pack(4)" >>compat/callback.h.new; \
grep -v '^# [0-9]' compat/callback.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/callback.h.new; \
echo "#pragma pack()" >>compat/callback.h.new; \
echo "#endif /* $id */" >>compat/callback.h.new
set -e; id=_$(echo compat/elfnote.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/elfnote.h.new; \
echo "#define $id" >>compat/elfnote.h.new; \
echo "#include <xen/compat.h>" >>compat/elfnote.h.new; \
echo "#include <public/elfnote.h>" >>compat/elfnote.h.new; \
echo "#pragma pack(4)" >>compat/elfnote.h.new; \
grep -v '^# [0-9]' compat/elfnote.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/elfnote.h.new; \
echo "#pragma pack()" >>compat/elfnote.h.new; \
echo "#endif /* $id */" >>compat/elfnote.h.new
mv -f compat/arch-x86/xen-mca.c.new compat/arch-x86/xen-mca.c
set -e; id=_$(echo compat/event_channel.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/event_channel.h.new; \
echo "#define $id" >>compat/event_channel.h.new; \
echo "#include <xen/compat.h>" >>compat/event_channel.h.new; \
echo "#include <public/event_channel.h>" >>compat/event_channel.h.new; \
echo "#pragma pack(4)" >>compat/event_channel.h.new; \
grep -v '^# [0-9]' compat/event_channel.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/event_channel.h.new; \
echo "#pragma pack()" >>compat/event_channel.h.new; \
echo "#endif /* $id */" >>compat/event_channel.h.new
mv -f compat/arch-x86/xen.c.new compat/arch-x86/xen.c
set -e; id=_$(echo compat/features.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/features.h.new; \
echo "#define $id" >>compat/features.h.new; \
echo "#include <xen/compat.h>" >>compat/features.h.new; \
echo "#include <public/features.h>" >>compat/features.h.new; \
echo "#pragma pack(4)" >>compat/features.h.new; \
grep -v '^# [0-9]' compat/features.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/features.h.new; \
echo "#pragma pack()" >>compat/features.h.new; \
echo "#endif /* $id */" >>compat/features.h.new
set -e; id=_$(echo compat/grant_table.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/grant_table.h.new; \
echo "#define $id" >>compat/grant_table.h.new; \
echo "#include <xen/compat.h>" >>compat/grant_table.h.new; \
echo "#include <public/grant_table.h>" >>compat/grant_table.h.new; \
echo "#pragma pack(4)" >>compat/grant_table.h.new; \
grep -v '^# [0-9]' compat/grant_table.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/grant_table.h.new; \
echo "#pragma pack()" >>compat/grant_table.h.new; \
echo "#endif /* $id */" >>compat/grant_table.h.new
set -e; id=_$(echo compat/kexec.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/kexec.h.new; \
echo "#define $id" >>compat/kexec.h.new; \
echo "#include <xen/compat.h>" >>compat/kexec.h.new; \
echo "#include <public/kexec.h>" >>compat/kexec.h.new; \
echo "#pragma pack(4)" >>compat/kexec.h.new; \
grep -v '^# [0-9]' compat/kexec.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/kexec.h.new; \
echo "#pragma pack()" >>compat/kexec.h.new; \
echo "#endif /* $id */" >>compat/kexec.h.new
set -e; id=_$(echo compat/memory.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/memory.h.new; \
echo "#define $id" >>compat/memory.h.new; \
echo "#include <xen/compat.h>" >>compat/memory.h.new; \
echo "#include <public/memory.h>" >>compat/memory.h.new; \
echo "#pragma pack(4)" >>compat/memory.h.new; \
grep -v '^# [0-9]' compat/memory.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/memory.h.new; \
echo "#pragma pack()" >>compat/memory.h.new; \
echo "#endif /* $id */" >>compat/memory.h.new
set -e; id=_$(echo compat/nmi.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/nmi.h.new; \
echo "#define $id" >>compat/nmi.h.new; \
echo "#include <xen/compat.h>" >>compat/nmi.h.new; \
echo "#include <public/nmi.h>" >>compat/nmi.h.new; \
echo "#pragma pack(4)" >>compat/nmi.h.new; \
grep -v '^# [0-9]' compat/nmi.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/nmi.h.new; \
echo "#pragma pack()" >>compat/nmi.h.new; \
echo "#endif /* $id */" >>compat/nmi.h.new
set -e; id=_$(echo compat/physdev.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/physdev.h.new; \
echo "#define $id" >>compat/physdev.h.new; \
echo "#include <xen/compat.h>" >>compat/physdev.h.new; \
echo "#include <public/physdev.h>" >>compat/physdev.h.new; \
echo "#pragma pack(4)" >>compat/physdev.h.new; \
grep -v '^# [0-9]' compat/physdev.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/physdev.h.new; \
echo "#pragma pack()" >>compat/physdev.h.new; \
echo "#endif /* $id */" >>compat/physdev.h.new
set -e; id=_$(echo compat/platform.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/platform.h.new; \
echo "#define $id" >>compat/platform.h.new; \
echo "#include <xen/compat.h>" >>compat/platform.h.new; \
echo "#include <public/platform.h>" >>compat/platform.h.new; \
echo "#pragma pack(4)" >>compat/platform.h.new; \
grep -v '^# [0-9]' compat/platform.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/platform.h.new; \
echo "#pragma pack()" >>compat/platform.h.new; \
echo "#endif /* $id */" >>compat/platform.h.new
mv -f compat/features.h.new compat/features.h
mv -f compat/callback.h.new compat/callback.h
mv -f compat/elfnote.h.new compat/elfnote.h
set -e; id=_$(echo compat/sched.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/sched.h.new; \
echo "#define $id" >>compat/sched.h.new; \
echo "#include <xen/compat.h>" >>compat/sched.h.new; \
echo "#include <public/sched.h>" >>compat/sched.h.new; \
echo "#pragma pack(4)" >>compat/sched.h.new; \
grep -v '^# [0-9]' compat/sched.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/sched.h.new; \
echo "#pragma pack()" >>compat/sched.h.new; \
echo "#endif /* $id */" >>compat/sched.h.new
set -e; id=_$(echo compat/tmem.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/tmem.h.new; \
echo "#define $id" >>compat/tmem.h.new; \
echo "#include <xen/compat.h>" >>compat/tmem.h.new; \
echo "#include <public/tmem.h>" >>compat/tmem.h.new; \
echo "#pragma pack(4)" >>compat/tmem.h.new; \
grep -v '^# [0-9]' compat/tmem.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/tmem.h.new; \
echo "#pragma pack()" >>compat/tmem.h.new; \
echo "#endif /* $id */" >>compat/tmem.h.new
mv -f compat/event_channel.h.new compat/event_channel.h
set -e; id=_$(echo compat/trace.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/trace.h.new; \
echo "#define $id" >>compat/trace.h.new; \
echo "#include <xen/compat.h>" >>compat/trace.h.new; \
echo "#include <public/trace.h>" >>compat/trace.h.new; \
echo "#pragma pack(4)" >>compat/trace.h.new; \
grep -v '^# [0-9]' compat/trace.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/trace.h.new; \
echo "#pragma pack()" >>compat/trace.h.new; \
echo "#endif /* $id */" >>compat/trace.h.new
mv -f compat/nmi.h.new compat/nmi.h
mv -f compat/kexec.h.new compat/kexec.h
set -e; id=_$(echo compat/vcpu.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/vcpu.h.new; \
echo "#define $id" >>compat/vcpu.h.new; \
echo "#include <xen/compat.h>" >>compat/vcpu.h.new; \
echo "#include <public/vcpu.h>" >>compat/vcpu.h.new; \
echo "#pragma pack(4)" >>compat/vcpu.h.new; \
grep -v '^# [0-9]' compat/vcpu.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/vcpu.h.new; \
echo "#pragma pack()" >>compat/vcpu.h.new; \
echo "#endif /* $id */" >>compat/vcpu.h.new
mv -f compat/grant_table.h.new compat/grant_table.h
mv -f compat/xen.c.new compat/xen.c
mv -f compat/memory.h.new compat/memory.h
set -e; id=_$(echo compat/version.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/version.h.new; \
echo "#define $id" >>compat/version.h.new; \
echo "#include <xen/compat.h>" >>compat/version.h.new; \
echo "#include <public/version.h>" >>compat/version.h.new; \
echo "#pragma pack(4)" >>compat/version.h.new; \
grep -v '^# [0-9]' compat/version.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/version.h.new; \
echo "#pragma pack()" >>compat/version.h.new; \
echo "#endif /* $id */" >>compat/version.h.new
set -e; id=_$(echo compat/xencomm.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xencomm.h.new; \
echo "#define $id" >>compat/xencomm.h.new; \
echo "#include <xen/compat.h>" >>compat/xencomm.h.new; \
echo "#include <public/xencomm.h>" >>compat/xencomm.h.new; \
echo "#pragma pack(4)" >>compat/xencomm.h.new; \
grep -v '^# [0-9]' compat/xencomm.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xencomm.h.new; \
echo "#pragma pack()" >>compat/xencomm.h.new; \
echo "#endif /* $id */" >>compat/xencomm.h.new
mv -f compat/physdev.h.new compat/physdev.h
set -e; id=_$(echo compat/xenoprof.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xenoprof.h.new; \
echo "#define $id" >>compat/xenoprof.h.new; \
echo "#include <xen/compat.h>" >>compat/xenoprof.h.new; \
echo "#include <public/xenoprof.h>" >>compat/xenoprof.h.new; \
echo "#pragma pack(4)" >>compat/xenoprof.h.new; \
grep -v '^# [0-9]' compat/xenoprof.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xenoprof.h.new; \
echo "#pragma pack()" >>compat/xenoprof.h.new; \
echo "#endif /* $id */" >>compat/xenoprof.h.new
mv -f compat/platform.h.new compat/platform.h
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen-mca.i compat/arch-x86/xen-mca.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen.i compat/arch-x86/xen.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen-x86_32.i compat/arch-x86/xen-x86_32.c
set -e; id=_$(echo compat/arch-x86_32.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86_32.h.new; \
echo "#define $id" >>compat/arch-x86_32.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86_32.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86_32.h.new; \
grep -v '^# [0-9]' compat/arch-x86_32.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86_32.h.new; \
echo "#pragma pack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new
mv -f compat/sched.h.new compat/sched.h
mv -f compat/trace.h.new compat/trace.h
mv -f compat/tmem.h.new compat/tmem.h
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xen.i compat/xen.c
set -e; id=_$(echo compat/arch-x86/xen-mca.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen-mca.h.new; \
echo "#define $id" >>compat/arch-x86/xen-mca.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen-mca.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen-mca.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen-mca.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen-mca.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen-mca.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen-mca.h.new
set -e; id=_$(echo compat/arch-x86/xen.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen.h.new; \
echo "#define $id" >>compat/arch-x86/xen.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen.h.new
mv -f compat/xencomm.h.new compat/xencomm.h
mv -f compat/version.h.new compat/version.h
mv -f compat/vcpu.h.new compat/vcpu.h
set -e; id=_$(echo compat/arch-x86/xen-x86_32.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen-x86_32.h.new; \
echo "#define $id" >>compat/arch-x86/xen-x86_32.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen-x86_32.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen-x86_32.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen-x86_32.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen-x86_32.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen-x86_32.h.new
mv -f compat/xenoprof.h.new compat/xenoprof.h
mv -f compat/arch-x86_32.h.new compat/arch-x86_32.h
set -e; id=_$(echo compat/xen.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xen.h.new; \
echo "#define $id" >>compat/xen.h.new; \
echo "#include <xen/compat.h>" >>compat/xen.h.new; \
echo "#include <public/xen.h>" >>compat/xen.h.new; \
echo "#pragma pack(4)" >>compat/xen.h.new; \
grep -v '^# [0-9]' compat/xen.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xen.h.new; \
echo "#pragma pack()" >>compat/xen.h.new; \
echo "#endif /* $id */" >>compat/xen.h.new
mv -f compat/arch-x86/xen.h.new compat/arch-x86/xen.h
mv -f compat/arch-x86/xen-x86_32.h.new compat/arch-x86/xen-x86_32.h
mv -f compat/arch-x86/xen-mca.h.new compat/arch-x86/xen-mca.h
mv headers.chk.new headers.chk
mv -f compat/xen.h.new compat/xen.h
rm compat/xen.c compat/kexec.i compat/arch-x86_32.c compat/arch-x86/xen-x86_32.c compat/sched.c compat/vcpu.c compat/xen.i compat/physdev.i compat/tmem.i compat/trace.i compat/features.i compat/callback.c compat/xencomm.i compat/arch-x86/xen.i compat/elfnote.c compat/arch-x86/xen-mca.i compat/version.i compat/event_channel.i compat/platform.i compat/kexec.c compat/tmem.c compat/nmi.i compat/arch-x86/xen-x86_32.i compat/elfnote.i compat/physdev.c compat/vcpu.i compat/trace.c compat/features.c compat/event_channel.c compat/grant_table.i compat/memory.c compat/xencomm.c compat/arch-x86/xen.c compat/arch-x86/xen-mca.c compat/version.c compat/arch-x86_32.i compat/platform.c compat/memory.i compat/sched.i compat/nmi.c compat/callback.i compat/xenoprof.c compat/xenoprof.i compat/grant_table.c gmake[3]: Leaving directory `/root/xen/xen_pvh/xen/include'
gmake -f /root/xen/xen_pvh/xen/Rules.mk -C arch/x86 asm-offsets.s
gmake[3]: Entering directory `/root/xen/xen_pvh/xen/arch/x86'
clang -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /root/xen/xen_pvh/xen/include/xen/config.h -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MM
D -MF .asm-offsets.s.d -S -o asm-offsets.s x86_64/asm-offsets.c
In file included from x86_64/asm-offsets.c:10:
In file included from /root/xen/xen_pvh/xen/include/xen/sched.h:7:
In file included from /root/xen/xen_pvh/xen/include/xen/shared.h:6:
In file included from /root/xen/xen_pvh/xen/include/compat/xen.h:3:/root/xen/xen_pvh/xen/include/xen/compat.h:221:48: error: declaration of 'enum XLAT_start_info_console'
will not be visible outside of this function [-Werror,-Wvisibility]
void xlat_start_info(struct start_info *, enum XLAT_start_info_console);
^1 error generated.
gmake[3]: *** [asm-offsets.s] Error 1
gmake[3]: Leaving directory /root/xen/xen_pvh/xen/arch/x86' gmake[2]: *** [/root/xen/xen_pvh/xen/xen] Error 2 gmake[2]: Leaving directory /root/xen/xen_pvh/xen' gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/root/xen/xen_pvh/xen'
gmake: *** [install-xen] Error 2
On the other hand, if I don't use multiple make jobs:
# gmake xen gmake -C xen install gmake[1]: Entering directory `/root/xen/xen_pvh/xen' gmake -f Rules.mk _install gmake[2]: Entering directory `/root/xen/xen_pvh/xen' gmake -C tools gmake[3]: Entering directory `/root/xen/xen_pvh/xen/tools' gmake symbols gmake[4]: Entering directory `/root/xen/xen_pvh/xen/tools' gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -Wdeclaration-after-statement -o symbols symbols.c gmake[4]: Leaving directory `/root/xen/xen_pvh/xen/tools' gmake[3]: Leaving directory `/root/xen/xen_pvh/xen/tools' gmake -f /root/xen/xen_pvh/xen/Rules.mk include/xen/compile.h gmake[3]: Entering directory `/root/xen/xen_pvh/xen' __ __ _ _ ____ _ _ _ \ \/ /___ _ __ | || | | ___| _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ '_ \ | || |_ |___ \ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \ / \ __/ | | | |__ _| ___) |__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_| |_|(_)____/ \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
gmake[3]: Leaving directory `/root/xen/xen_pvh/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
gmake -f /root/xen/xen_pvh/xen/Rules.mk -C include
gmake[3]: Entering directory `/root/xen/xen_pvh/xen/include'
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/callback.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/callback.c.new
mv -f compat/callback.c.new compat/callback.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/callback.i compat/callback.c
set -e; id=_$(echo compat/callback.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/callback.h.new; \
echo "#define $id" >>compat/callback.h.new; \
echo "#include <xen/compat.h>" >>compat/callback.h.new; \
echo "#include <public/callback.h>" >>compat/callback.h.new; \
echo "#pragma pack(4)" >>compat/callback.h.new; \
grep -v '^# [0-9]' compat/callback.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/callback.h.new; \
echo "#pragma pack()" >>compat/callback.h.new; \
echo "#endif /* $id */" >>compat/callback.h.new
mv -f compat/callback.h.new compat/callback.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/elfnote.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/elfnote.c.new
mv -f compat/elfnote.c.new compat/elfnote.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/elfnote.i compat/elfnote.c
set -e; id=_$(echo compat/elfnote.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/elfnote.h.new; \
echo "#define $id" >>compat/elfnote.h.new; \
echo "#include <xen/compat.h>" >>compat/elfnote.h.new; \
echo "#include <public/elfnote.h>" >>compat/elfnote.h.new; \
echo "#pragma pack(4)" >>compat/elfnote.h.new; \
grep -v '^# [0-9]' compat/elfnote.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/elfnote.h.new; \
echo "#pragma pack()" >>compat/elfnote.h.new; \
echo "#endif /* $id */" >>compat/elfnote.h.new
mv -f compat/elfnote.h.new compat/elfnote.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/event_channel.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/event_channel.c.new
mv -f compat/event_channel.c.new compat/event_channel.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/event_channel.i compat/event_channel
.c
set -e; id=_$(echo compat/event_channel.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/event_channel.h.new; \
echo "#define $id" >>compat/event_channel.h.new; \
echo "#include <xen/compat.h>" >>compat/event_channel.h.new; \
echo "#include <public/event_channel.h>" >>compat/event_channel.h.new; \
echo "#pragma pack(4)" >>compat/event_channel.h.new; \
grep -v '^# [0-9]' compat/event_channel.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/event_channel.h.new; \
echo "#pragma pack()" >>compat/event_channel.h.new; \
echo "#endif /* $id */" >>compat/event_channel.h.new
mv -f compat/event_channel.h.new compat/event_channel.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/features.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/features.c.new
mv -f compat/features.c.new compat/features.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/features.i compat/features.c
set -e; id=_$(echo compat/features.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/features.h.new; \
echo "#define $id" >>compat/features.h.new; \
echo "#include <xen/compat.h>" >>compat/features.h.new; \
echo "#include <public/features.h>" >>compat/features.h.new; \
echo "#pragma pack(4)" >>compat/features.h.new; \
grep -v '^# [0-9]' compat/features.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/features.h.new; \
echo "#pragma pack()" >>compat/features.h.new; \
echo "#endif /* $id */" >>compat/features.h.new
mv -f compat/features.h.new compat/features.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/grant_table.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/grant_table.c.new
mv -f compat/grant_table.c.new compat/grant_table.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/grant_table.i compat/grant_table.c
set -e; id=_$(echo compat/grant_table.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/grant_table.h.new; \
echo "#define $id" >>compat/grant_table.h.new; \
echo "#include <xen/compat.h>" >>compat/grant_table.h.new; \
echo "#include <public/grant_table.h>" >>compat/grant_table.h.new; \
echo "#pragma pack(4)" >>compat/grant_table.h.new; \
grep -v '^# [0-9]' compat/grant_table.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/grant_table.h.new; \
echo "#pragma pack()" >>compat/grant_table.h.new; \
echo "#endif /* $id */" >>compat/grant_table.h.new
mv -f compat/grant_table.h.new compat/grant_table.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/kexec.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/kexec.c.new
mv -f compat/kexec.c.new compat/kexec.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/kexec.i compat/kexec.c
set -e; id=_$(echo compat/kexec.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/kexec.h.new; \
echo "#define $id" >>compat/kexec.h.new; \
echo "#include <xen/compat.h>" >>compat/kexec.h.new; \
echo "#include <public/kexec.h>" >>compat/kexec.h.new; \
echo "#pragma pack(4)" >>compat/kexec.h.new; \
grep -v '^# [0-9]' compat/kexec.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/kexec.h.new; \
echo "#pragma pack()" >>compat/kexec.h.new; \
echo "#endif /* $id */" >>compat/kexec.h.new
mv -f compat/kexec.h.new compat/kexec.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/memory.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/memory.c.new
mv -f compat/memory.c.new compat/memory.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/memory.i compat/memory.c
set -e; id=_$(echo compat/memory.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/memory.h.new; \
echo "#define $id" >>compat/memory.h.new; \
echo "#include <xen/compat.h>" >>compat/memory.h.new; \
echo "#include <public/memory.h>" >>compat/memory.h.new; \
echo "#pragma pack(4)" >>compat/memory.h.new; \
grep -v '^# [0-9]' compat/memory.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/memory.h.new; \
echo "#pragma pack()" >>compat/memory.h.new; \
echo "#endif /* $id */" >>compat/memory.h.new
mv -f compat/memory.h.new compat/memory.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/nmi.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/nmi.c.new
mv -f compat/nmi.c.new compat/nmi.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/nmi.i compat/nmi.c
set -e; id=_$(echo compat/nmi.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/nmi.h.new; \
echo "#define $id" >>compat/nmi.h.new; \
echo "#include <xen/compat.h>" >>compat/nmi.h.new; \
echo "#include <public/nmi.h>" >>compat/nmi.h.new; \
echo "#pragma pack(4)" >>compat/nmi.h.new; \
grep -v '^# [0-9]' compat/nmi.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/nmi.h.new; \
echo "#pragma pack()" >>compat/nmi.h.new; \
echo "#endif /* $id */" >>compat/nmi.h.new
mv -f compat/nmi.h.new compat/nmi.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/physdev.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/physdev.c.new
mv -f compat/physdev.c.new compat/physdev.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/physdev.i compat/physdev.c
set -e; id=_$(echo compat/physdev.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/physdev.h.new; \
echo "#define $id" >>compat/physdev.h.new; \
echo "#include <xen/compat.h>" >>compat/physdev.h.new; \
echo "#include <public/physdev.h>" >>compat/physdev.h.new; \
echo "#pragma pack(4)" >>compat/physdev.h.new; \
grep -v '^# [0-9]' compat/physdev.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/physdev.h.new; \
echo "#pragma pack()" >>compat/physdev.h.new; \
echo "#endif /* $id */" >>compat/physdev.h.new
mv -f compat/physdev.h.new compat/physdev.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/platform.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/platform.c.new
mv -f compat/platform.c.new compat/platform.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/platform.i compat/platform.c
set -e; id=_$(echo compat/platform.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/platform.h.new; \
echo "#define $id" >>compat/platform.h.new; \
echo "#include <xen/compat.h>" >>compat/platform.h.new; \
echo "#include <public/platform.h>" >>compat/platform.h.new; \
echo "#pragma pack(4)" >>compat/platform.h.new; \
grep -v '^# [0-9]' compat/platform.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/platform.h.new; \
echo "#pragma pack()" >>compat/platform.h.new; \
echo "#endif /* $id */" >>compat/platform.h.new
mv -f compat/platform.h.new compat/platform.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/sched.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/sched.c.new
mv -f compat/sched.c.new compat/sched.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/sched.i compat/sched.c
set -e; id=_$(echo compat/sched.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/sched.h.new; \
echo "#define $id" >>compat/sched.h.new; \
echo "#include <xen/compat.h>" >>compat/sched.h.new; \
echo "#include <public/sched.h>" >>compat/sched.h.new; \
echo "#pragma pack(4)" >>compat/sched.h.new; \
grep -v '^# [0-9]' compat/sched.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/sched.h.new; \
echo "#pragma pack()" >>compat/sched.h.new; \
echo "#endif /* $id */" >>compat/sched.h.new
mv -f compat/sched.h.new compat/sched.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/tmem.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/tmem.c.new
mv -f compat/tmem.c.new compat/tmem.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/tmem.i compat/tmem.c
set -e; id=_$(echo compat/tmem.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/tmem.h.new; \
echo "#define $id" >>compat/tmem.h.new; \
echo "#include <xen/compat.h>" >>compat/tmem.h.new; \
echo "#include <public/tmem.h>" >>compat/tmem.h.new; \
echo "#pragma pack(4)" >>compat/tmem.h.new; \
grep -v '^# [0-9]' compat/tmem.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/tmem.h.new; \
echo "#pragma pack()" >>compat/tmem.h.new; \
echo "#endif /* $id */" >>compat/tmem.h.new
mv -f compat/tmem.h.new compat/tmem.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/trace.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/trace.c.new
mv -f compat/trace.c.new compat/trace.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/trace.i compat/trace.c
set -e; id=_$(echo compat/trace.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/trace.h.new; \
echo "#define $id" >>compat/trace.h.new; \
echo "#include <xen/compat.h>" >>compat/trace.h.new; \
echo "#include <public/trace.h>" >>compat/trace.h.new; \
echo "#pragma pack(4)" >>compat/trace.h.new; \
grep -v '^# [0-9]' compat/trace.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/trace.h.new; \
echo "#pragma pack()" >>compat/trace.h.new; \
echo "#endif /* $id */" >>compat/trace.h.new
mv -f compat/trace.h.new compat/trace.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/vcpu.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/vcpu.c.new
mv -f compat/vcpu.c.new compat/vcpu.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/vcpu.i compat/vcpu.c
set -e; id=_$(echo compat/vcpu.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/vcpu.h.new; \
echo "#define $id" >>compat/vcpu.h.new; \
echo "#include <xen/compat.h>" >>compat/vcpu.h.new; \
echo "#include <public/vcpu.h>" >>compat/vcpu.h.new; \
echo "#pragma pack(4)" >>compat/vcpu.h.new; \
grep -v '^# [0-9]' compat/vcpu.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/vcpu.h.new; \
echo "#pragma pack()" >>compat/vcpu.h.new; \
echo "#endif /* $id */" >>compat/vcpu.h.new
mv -f compat/vcpu.h.new compat/vcpu.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/version.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/version.c.new
mv -f compat/version.c.new compat/version.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/version.i compat/version.c
set -e; id=_$(echo compat/version.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/version.h.new; \
echo "#define $id" >>compat/version.h.new; \
echo "#include <xen/compat.h>" >>compat/version.h.new; \
echo "#include <public/version.h>" >>compat/version.h.new; \
echo "#pragma pack(4)" >>compat/version.h.new; \
grep -v '^# [0-9]' compat/version.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/version.h.new; \
echo "#pragma pack()" >>compat/version.h.new; \
echo "#endif /* $id */" >>compat/version.h.new
mv -f compat/version.h.new compat/version.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xen.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xen.c.new
mv -f compat/xen.c.new compat/xen.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xen.i compat/xen.c
set -e; id=_$(echo compat/xen.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xen.h.new; \
echo "#define $id" >>compat/xen.h.new; \
echo "#include <xen/compat.h>" >>compat/xen.h.new; \
echo "#include <public/xen.h>" >>compat/xen.h.new; \
echo "#pragma pack(4)" >>compat/xen.h.new; \
grep -v '^# [0-9]' compat/xen.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xen.h.new; \
echo "#pragma pack()" >>compat/xen.h.new; \
echo "#endif /* $id */" >>compat/xen.h.new
mv -f compat/xen.h.new compat/xen.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xencomm.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xencomm.c.new
mv -f compat/xencomm.c.new compat/xencomm.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xencomm.i compat/xencomm.c
set -e; id=_$(echo compat/xencomm.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xencomm.h.new; \
echo "#define $id" >>compat/xencomm.h.new; \
echo "#include <xen/compat.h>" >>compat/xencomm.h.new; \
echo "#include <public/xencomm.h>" >>compat/xencomm.h.new; \
echo "#pragma pack(4)" >>compat/xencomm.h.new; \
grep -v '^# [0-9]' compat/xencomm.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xencomm.h.new; \
echo "#pragma pack()" >>compat/xencomm.h.new; \
echo "#endif /* $id */" >>compat/xencomm.h.new
mv -f compat/xencomm.h.new compat/xencomm.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/xenoprof.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/xenoprof.c.new
mv -f compat/xenoprof.c.new compat/xenoprof.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/xenoprof.i compat/xenoprof.c
set -e; id=_$(echo compat/xenoprof.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/xenoprof.h.new; \
echo "#define $id" >>compat/xenoprof.h.new; \
echo "#include <xen/compat.h>" >>compat/xenoprof.h.new; \
echo "#include <public/xenoprof.h>" >>compat/xenoprof.h.new; \
echo "#pragma pack(4)" >>compat/xenoprof.h.new; \
grep -v '^# [0-9]' compat/xenoprof.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/xenoprof.h.new; \
echo "#pragma pack()" >>compat/xenoprof.h.new; \
echo "#endif /* $id */" >>compat/xenoprof.h.new
mv -f compat/xenoprof.h.new compat/xenoprof.h
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen-mca.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen-mca.c.new
mv -f compat/arch-x86/xen-mca.c.new compat/arch-x86/xen-mca.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen-mca.i compat/arch-x86/xen-mca.c
set -e; id=_$(echo compat/arch-x86/xen-mca.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen-mca.h.new; \
echo "#define $id" >>compat/arch-x86/xen-mca.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen-mca.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen-mca.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen-mca.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen-mca.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen-mca.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen-mca.h.new
mv -f compat/arch-x86/xen-mca.h.new compat/arch-x86/xen-mca.h
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen.c.new
mv -f compat/arch-x86/xen.c.new compat/arch-x86/xen.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen.i compat/arch-x86/xen.c
set -e; id=_$(echo compat/arch-x86/xen.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen.h.new; \
echo "#define $id" >>compat/arch-x86/xen.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen.h.new
mv -f compat/arch-x86/xen.h.new compat/arch-x86/xen.h
mkdir -p compat/arch-x86
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86/xen-x86_32.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86/xen-x86_32.c.new
mv -f compat/arch-x86/xen-x86_32.c.new compat/arch-x86/xen-x86_32.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86/xen-x86_32.i compat/arch-x86/xen-x86_32.c
set -e; id=_$(echo compat/arch-x86/xen-x86_32.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86/xen-x86_32.h.new; \
echo "#define $id" >>compat/arch-x86/xen-x86_32.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86/xen-x86_32.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86/xen-x86_32.h.new; \
grep -v '^# [0-9]' compat/arch-x86/xen-x86_32.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen-x86_32.h.new; \
echo "#pragma pack()" >>compat/arch-x86/xen-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86/xen-x86_32.h.new
mv -f compat/arch-x86/xen-x86_32.h.new compat/arch-x86/xen-x86_32.h
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86_32.h | \
python /root/xen/xen_pvh/xen/tools/compat-build-source.py >compat/arch-x86_32.c.new
mv -f compat/arch-x86_32.c.new compat/arch-x86_32.c
clang -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I/root/xen/xen_pvh/xen/include -I/root/xen/xen_pvh/xen/include/asm-x86/mach-generic -I/root/xen/xen_pvh/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -Wno-parentheses -Wno-format -Wno-unused-value -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -Wno-parentheses -Wno-format -Wno-unused-value -O1 -
fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -include public/xen-compat.h -m32 -o compat/arch-x86_32.i compat/arch-x86_32.c
set -e; id=_$(echo compat/arch-x86_32.h | tr '[:lower:]-/.' '[:upper:]___'); \
echo "#ifndef $id" >compat/arch-x86_32.h.new; \
echo "#define $id" >>compat/arch-x86_32.h.new; \
echo "#include <xen/compat.h>" >>compat/arch-x86_32.h.new; \
\
echo "#pragma pack(4)" >>compat/arch-x86_32.h.new; \
grep -v '^# [0-9]' compat/arch-x86_32.i | \
python /root/xen/xen_pvh/xen/tools/compat-build-header.py | uniq >>compat/arch-x86_32.h.new; \
echo "#pragma pack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new
mv -f compat/arch-x86_32.h.new compat/arch-x86_32.h
cat >compat/xlat.h.new
[build stuck here]
Quoted 2 lines · Roger Pau Monné
cat >compat/xlat.h.new
[build stuck here]
Whatever the argument to cat was supposed to be it hasn't been expanded properly, so cat is waiting for stdin...
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 13:34, <[email protected]> wrote:
...
echo "#pragmapack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new mv -f compat/arch-x86_32.h.newcompat/arch-x86_32.hcat >compat/xlat.h.new
[build stuck here]
Was this a fresh build, or an incremental one?
Irrespective of the answer, printing (e.g. via $(warning ...)) $^ (and maybe also $(xlat-y) right after it got set, since this may well be a sed incompatibility) right before the problematic cat might shed some light on this. It's suspicious that there's no mention of compat/.xlat/ or get-fields.sh throughout the log you sent.
Jan
Quoted 9 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 13:34, <[email protected]> wrote:
...
echo "#pragmapack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new mv -f compat/arch-x86_32.h.newcompat/arch-x86_32.hcat >compat/xlat.h.new
[build stuck here]Was this a fresh build, or an incremental one?
Fresh build.
Quoted 6 lines
Irrespective of the answer, printing (e.g. via $(warning ...)) $^ (and maybe also $(xlat-y) right after it got set, since this may well be a sed incompatibility) right before the problematic cat might shed some light on this. It's suspicious that there's no mention of compat/.xlat/ or
get-fields.shthroughout the log you sent.
I'm sure FreeBSD doesn't understand [ \t] as a tab, but I think there are other glitches with the current sed runes (just replacing \t with a tab didn't solve the problem). I've done the following in order to compile it (tested with both both GNU and FreeBSD sed). If this looks plausible I can submit a proper patch.
xen/include/Makefile +2 -2
@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xlat/%.lst $(BASEDIR)/tools/get-fields.sh M .PRECIOUS: compat/.xlat/%.lst compat/.xlat/%.lst: xlat.lst Makefile mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ | ]$*\.h$$,,p' | awk '{ print $$1"\t"$$2 }' >[email protected] $(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e '/^[?!]/p' xlat.lst | awk '{ print $$3 }' | uniq) xlat-y := $(filter $(patsubst compat/%,%,$(headers-y)),$(xlat-y)) compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) Makefile
Quoted 35 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 19:49, <[email protected]> wrote:
Quoted 9 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 13:34, <[email protected]> wrote:
...
echo "#pragmapack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new mv -f compat/arch-x86_32.h.newcompat/arch-x86_32.hcat >compat/xlat.h.new
[build stuck here]Was this a fresh build, or an incremental one?
Fresh build.
Quoted 6 lines
Irrespective of the answer, printing (e.g. via $(warning ...)) $^ (and maybe also $(xlat-y) right after it got set, since this may well be a sed incompatibility) right before the problematic cat might shed some light on this. It's suspicious that there's no mention of compat/.xlat/ or
get-fields.shthroughout the log you sent.I'm sure FreeBSD doesn't understand [ \t] as a tab, but I think there are other glitches with the current sed runes (just replacing \t with a tab didn't solve the problem). I've done the following in order to compile it (tested with both both GNU and FreeBSD sed). If this looks plausible I can submit a proper patch.
xen/include/Makefile +0
-0@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xlat/%.lst$(BASEDIR)/tools/get-fields.sh M
.PRECIOUS: compat/.xlat/%.lst
compat/.xlat/%.lst: xlat.lstMakefile
xen/include/Makefile
Quoted 3 lines
xen/include/Makefile +1
-1mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ | ]$*\.h$$,,p' | awk '{ print $$1"\t"$$2 }' >[email protected]
I guess you meant \( | \) here?
xen/include/Makefile
Quoted 4 lines
xen/include/Makefile +1
-1$(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e '/^[?!]/p' xlat.lst | awk '{ print $$3 }' | uniq)
And in both cases I'm not in favor of using two utilities if we can do with one. Can you give the below a try instead (character classes are documented to be supported by sed)?
Thanks, Jan
xen/include/Makefile +2 -2
@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xla .PRECIOUS: compat/.xlat/%.lst compat/.xlat/%.lst: xlat.lst Makefile mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[[:blank:]]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[[:blank:]]\+$*\.h[[:blank:]]*$$,,p' >[email protected] $(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][[:blank:]]\+[^[:blank:]]\+[[:blank:]]\+,,p' xlat.lst | uniq) xlat-y := $(filter $(patsubst compat/%,%,$(headers-y)),$(xlat-y)) compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) Makefile
xen/include/Makefile +2 -2
@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xla .PRECIOUS: compat/.xlat/%.lst compat/.xlat/%.lst: xlat.lst Makefile mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[[:blank:]]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[[:blank:]]\+$*\.h[[:blank:]]*$$,,p' >[email protected] $(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][[:blank:]]\+[^[:blank:]]\+[[:blank:]]\+,,p' xlat.lst | uniq) xlat-y := $(filter $(patsubst compat/%,%,$(headers-y)),$(xlat-y)) compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) Makefile
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 41 lines · Jan Beulich
Quoted 35 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 19:49, <[email protected]> wrote:
Quoted 9 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.03.14 at 13:34, <[email protected]> wrote:
...
echo "#pragmapack()" >>compat/arch-x86_32.h.new; \
echo "#endif /* $id */" >>compat/arch-x86_32.h.new mv -f compat/arch-x86_32.h.newcompat/arch-x86_32.hcat >compat/xlat.h.new
[build stuck here]Was this a fresh build, or an incremental one?
Fresh build.
Quoted 6 lines
Irrespective of the answer, printing (e.g. via $(warning ...)) $^ (and maybe also $(xlat-y) right after it got set, since this may well be a sed incompatibility) right before the problematic cat might shed some light on this. It's suspicious that there's no mention of compat/.xlat/ or
get-fields.shthroughout the log you sent.I'm sure FreeBSD doesn't understand [ \t] as a tab, but I think there are other glitches with the current sed runes (just replacing \t with a tab didn't solve the problem). I've done the following in order to compile it (tested with both both GNU and FreeBSD sed). If this looks plausible I can submit a proper patch.
xen/include/Makefile +0
-0@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xlat/%.lst$(BASEDIR)/tools/get-fields.sh M
.PRECIOUS: compat/.xlat/%.lst
compat/.xlat/%.lst: xlat.lstMakefilexen/include/Makefile
Quoted 3 lines
xen/include/Makefile +1
-1mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ | ]$*\.h$$,,p' | awk '{ print $$1"\t"$$2 }' >[email protected]I guess you meant \( | \) here?
Quoted 8 lines
xen/include/Makefile
Quoted 4 lines
xen/include/Makefile +1
-1$(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e '/^[?!]/p' xlat.lst | awk '{ print $$3 }' | uniq)And in both cases I'm not in favor of using two utilities if we can do with one. Can you give the below a try instead (character classes are documented to be supported by sed)?
Yes, this is better, but still not fully working. The problem seems to come from BSD sed not correctly parsing the escaped '+', and the fact that those are extended regular expressions, so '-r' has to be passed to sed. The following is working on both FreeBSD and Linux:
---
xen/include/Makefile +2 -2
@@ -76,10 +76,10 @@ compat/.xlat/%.h: compat/%.h compat/.xlat/%.lst $(BASEDIR)/tools/get-fields.sh M .PRECIOUS: compat/.xlat/%.lst compat/.xlat/%.lst: xlat.lst Makefile mkdir -p $(@D) - grep -v '^[ \t]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,[ \t]\+$*\.h[ \t]*$$,,p' >[email protected] + grep -v '^[[:blank:]]*#' $< | sed -ne 's,@arch@,$(compat-arch-y),g' -re 's,[[:blank:]]+$*\.h[[:blank:]]*$$,,p' >[email protected] $(call move-if-changed,[email protected],$@) -xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -e 's,^[?!][ \t]\+[^ \t]\+[ \t]\+,,p' xlat.lst | uniq) +xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -re 's,^[?!][[:blank:]]+[^[:blank:]]+[[:blank:]]+,,p' xlat.lst | uniq) xlat-y := $(filter $(patsubst compat/%,%,$(headers-y)),$(xlat-y)) compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) Makefile