Advertisement
peetaur

xen 4.1.0-branched build fails

Oct 8th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. rm -rf *
  2. hg update --clean
  3. hg checkout 4.1.0-branched
  4. make dist && echo success || echo failure
  5.  
  6. python /home/peter/projects/xen-unstable.hg/xen/tools/compat-build-header.py | uniq >>compat/arch-x86/xen-x86_32.h.new; \
  7. echo "#pragma pack()" >>compat/arch-x86/xen-x86_32.h.new; \
  8. echo "#endif /* $id */" >>compat/arch-x86/xen-x86_32.h.new
  9. mv -f compat/arch-x86/xen-x86_32.h.new compat/arch-x86/xen-x86_32.h
  10. mkdir -p compat
  11. grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/arch-x86_32.h | \
  12. python /home/peter/projects/xen-unstable.hg/xen/tools/compat-build-source.py >compat/arch-x86_32.c.new
  13. mv -f compat/arch-x86_32.c.new compat/arch-x86_32.c
  14. gcc -E -include public/xen-compat.h -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 -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 -include public/xen-compat.h -m32 -o compat/arch-x86_32.i compat/arch-x86_32.c
  15. set -e; id=_$(echo compat/arch-x86_32.h | tr '[:lower:]-/.' '[:upper:]___'); \
  16. echo "#ifndef $id" >compat/arch-x86_32.h.new; \
  17. echo "#define $id" >>compat/arch-x86_32.h.new; \
  18. echo "#include <xen/compat.h>" >>compat/arch-x86_32.h.new; \
  19. \
  20. echo "#pragma pack(4)" >>compat/arch-x86_32.h.new; \
  21. grep -v '^# [0-9]' compat/arch-x86_32.i | \
  22. python /home/peter/projects/xen-unstable.hg/xen/tools/compat-build-header.py | uniq >>compat/arch-x86_32.h.new; \
  23. echo "#pragma pack()" >>compat/arch-x86_32.h.new; \
  24. echo "#endif /* $id */" >>compat/arch-x86_32.h.new
  25. mv -f compat/arch-x86_32.h.new compat/arch-x86_32.h
  26. export PYTHON=python; \
  27. grep -v '^[ ]*#' xlat.lst | \
  28. while read what name hdr; do \
  29. /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 $?; \
  30. done >compat/xlat.h.new
  31. mv -f compat/xlat.h.new compat/xlat.h
  32. 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
  33. mv headers.chk.new headers.chk
  34. 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
  35. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/include'
  36. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 asm-offsets.s
  37. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  38. 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
  39. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  40. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk include/asm-x86/asm-offsets.h
  41. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen'
  42. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  43. make -f /home/peter/projects/xen-unstable.hg/xen/Rules.mk -C arch/x86 /home/peter/projects/xen-unstable.hg/xen/xen
  44. make[3]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  45. 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
  46. make[4]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  47. RELOC=0x7c000 make -f build32.mk reloc.S
  48. make[5]: Entering directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  49. make[5]: *** ../../../../.config: Is a directory. Stop.
  50. make[5]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  51. make[4]: *** [reloc.S] Error 2
  52. make[4]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot'
  53. make[3]: *** [/home/peter/projects/xen-unstable.hg/xen/arch/x86/boot/built_in.o] Error 2
  54. make[3]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen/arch/x86'
  55. make[2]: *** [/home/peter/projects/xen-unstable.hg/xen/xen] Error 2
  56. make[2]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  57. make[1]: *** [install] Error 2
  58. make[1]: Leaving directory `/home/peter/projects/xen-unstable.hg/xen'
  59. make: *** [install-xen] Error 2
  60. failure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement