Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- export PYTHON=python; \
- grep -v '^[ ]*#' xlat.lst | \
- while read what name hdr; do \
- /bin/sh /home/peter/projects/xen-unstable.hg/xen/tools/get-fields.sh "$what" compat_$name $(echo compat/$hdr | sed 's,@arch@,x86_32,g') || exit $?; \
- done >compat/xlat.h.new
- mv -f compat/xlat.h.new compat/xlat.h
- for i in public/vcpu.h public/kexec.h public/nmi.h public/xencomm.h public/xenoprof.h public/sched.h public/version.h public/mem_event.h public/dom0_ops.h public/xen.h public/features.h public/memory.h public/callback.h public/grant_table.h public/xen-compat.h public/physdev.h public/platform.h public/tmem.h public/elfnote.h public/trace.h public/event_channel.h public/io/kbdif.h public/io/protocols.h public/io/ring.h public/io/console.h public/io/blkif.h public/io/fsif.h public/io/fbif.h public/io/xenbus.h public/io/netif.h public/io/usbif.h public/io/pciif.h public/io/tpmif.h public/io/xs_wire.h public/io/vscsiif.h public/hvm/e820.h public/hvm/hvm_op.h public/hvm/ioreq.h public/hvm/hvm_info_table.h public/hvm/params.h; do gcc -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -xc $i || exit 1; echo $i; done >headers.chk.new
- mv headers.chk.new headers.chk
- rm compat/xen.c compat/kexec.i compat/arch-x86_32.c compat/arch-x86/xen-x86_32.c compat/memory.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/event_channel.i compat/xencomm.i compat/arch-x86/xen.i compat/elfnote.c compat/arch-x86/xen-mca.i compat/version.i compat/platform.i compat/kexec.c compat/tmem.c compat/nmi.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/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 compat/arch-x86/xen-x86_32.i
- make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/include'
- make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 asm-offsets.s
- make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
- gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/peter/projects/xen-unstable.hg/xen/include -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .asm-offsets.s.d -S -o asm-offsets.s x86_64/asm-offsets.c
- make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
- make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk include/asm-x86/asm-offsets.h
- make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen'
- make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
- make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 /home/peter/projects/xen-unstable.hg/xen/xen
- make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
- make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C /home/peter/projects/xen-unstable.hg/xen/arch/x86/boot built_in.o
- make[4]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
- RELOC=0x7c000 make -f build32.mk reloc.S
- make[5]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
- gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector -fno-exceptions -Werror -fno-builtin -msoft-float -c reloc.c -o reloc.o
- ld -melf_i386 -N -Ttext 0x7c000 -o reloc.lnk reloc.o
- objcopy -O binary reloc.lnk reloc.bin
- (od -v -t x reloc.bin | awk 'NR > 1 {print s} {s=$0}' | \
- sed 's/ /,0x/g' | sed 's/^[0-9]*,/ .long /') >reloc.S
- rm reloc.lnk reloc.bin
- make[5]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
- gcc -D__ASSEMBLY__ -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/peter/projects/xen-unstable.hg/xen/include -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .head.o.d -c head.S -o head.o
- ld -melf_x86_64 -r -o built_in.o head.o
- make[4]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
- make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C /home/peter/projects/xen-unstable.hg/xen/common built_in.o
- make[4]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/common'
- gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/peter/projects/xen-unstable.hg/xen/include -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .bitmap.o.d -c bitmap.c -o bitmap.o
- gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/peter/projects/xen-unstable.hg/xen/include -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .cpu.o.d -c cpu.c -o cpu.o
- gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/peter/projects/xen-unstable.hg/xen/include -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/home/peter/projects/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .cpupool.o.d -c cpupool.c -o cpupool.o
- cpupool.c: In function ‘cpupool_add_domain’:
- cpupool.c:359:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]
- cpupool.c: In function ‘cpupool_rm_domain’:
- cpupool.c:384:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]
- cpupool.c:383:9: error: variable ‘cpupool_id’ set but not used [-Werror=unused-but-set-variable]
- cc1: all warnings being treated as errors
- make[4]: *** [cpupool.o] Error 1
- make[4]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/common'
- make[3]: *** [/home/peter/projects/xen-unstable.hg/xen/common/built_in.o] Error 2
- make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
- make[2]: *** [/home/peter/projects/xen-unstable.hg/xen/xen] Error 2
- make[2]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
- make[1]: *** [install] Error 2
- make[1]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
- make: *** [install-xen] Error 2
- failure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement