Advertisement
peetaur

xen 4.1.0-branched build fails 2

Oct 8th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.61 KB | None | 0 0
  1. echo "#pragma pack()" >>compat/arch-x86_32.h.new; \
  2. echo "#endif /* $id */" >>compat/arch-x86_32.h.new
  3. mv -f compat/arch-x86_32.h.new compat/arch-x86_32.h
  4. export PYTHON=python; \
  5. grep -v '^[ ]*#' xlat.lst | \
  6. while read what name hdr; do \
  7. /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 $?; \
  8. done >compat/xlat.h.new
  9. mv -f compat/xlat.h.new compat/xlat.h
  10. 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
  11. mv headers.chk.new headers.chk
  12. 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
  13. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/include'
  14. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 asm-offsets.s
  15. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  16. 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
  17. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  18. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk include/asm-x86/asm-offsets.h
  19. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen'
  20. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  21. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 /home/peter/projects/xen-unstable.hg/xen/xen
  22. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  23. 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
  24. make[4]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  25. RELOC=0x7c000 make -f build32.mk reloc.S
  26. make[5]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  27. 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
  28. ld -melf_i386 -N -Ttext 0x7c000 -o reloc.lnk reloc.o
  29. objcopy -O binary reloc.lnk reloc.bin
  30. (od -v -t x reloc.bin | awk 'NR > 1 {print s} {s=$0}' | \
  31. sed 's/ /,0x/g' | sed 's/^[0-9]*,/ .long /') >reloc.S
  32. rm reloc.lnk reloc.bin
  33. make[5]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  34. 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
  35. ld -melf_x86_64 -r -o built_in.o head.o
  36. make[4]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  37. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C /home/peter/projects/xen-unstable.hg/xen/common built_in.o
  38. make[4]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/common'
  39. 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
  40. 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
  41. 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
  42. cpupool.c: In function ‘cpupool_add_domain’:
  43. cpupool.c:359:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]
  44. cpupool.c: In function ‘cpupool_rm_domain’:
  45. cpupool.c:384:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]
  46. cpupool.c:383:9: error: variable ‘cpupool_id’ set but not used [-Werror=unused-but-set-variable]
  47. cc1: all warnings being treated as errors
  48.  
  49. make[4]: *** [cpupool.o] Error 1
  50. make[4]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/common'
  51. make[3]: *** [/home/peter/projects/xen-unstable.hg/xen/common/built_in.o] Error 2
  52. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  53. make[2]: *** [/home/peter/projects/xen-unstable.hg/xen/xen] Error 2
  54. make[2]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  55. make[1]: *** [install] Error 2
  56. make[1]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  57. make: *** [install-xen] Error 2
  58. failure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement