ponce

system/xen

Jul 28th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 KB | None | 0 0
  1. gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /tmp/SBo/xen-4.8.1/xen/include/xen/config.h '-D__OBJECT_FILE__="grant_table.o"' -Wa,--strip-local-absolute -MMD -MF ./.grant_table.o.d -I/tmp/SBo/xen-4.8.1/xen/include -I/tmp/SBo/xen-4.8.1/xen/include/asm-x86/mach-generic -I/tmp/SBo/xen-4.8.1/xen/include/asm-x86/mach-default '-D__OBJECT_LABEL__=common$grant_table.o' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_SSE4_2 -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -U__OBJECT_LABEL__ -DHAVE_GAS_QUOTED_SYM '-D__OBJECT_LABEL__=common/grant_table.o' -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -c grant_table.c -o grant_table.o
  2. In file included from /tmp/SBo/xen-4.8.1/xen/include/xen/config.h:13:0,
  3. from <command-line>:0:
  4. compat/grant_table.c: In function ‘compat_grant_table_op’:
  5. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:58:37: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context]
  6. compat_access_ok(addr, (count) * (size)))
  7. ^
  8. /tmp/SBo/xen-4.8.1/xen/include/xen/compiler.h:11:43: note: in definition of macro ‘unlikely’
  9. #define unlikely(x) __builtin_expect(!!(x),0)
  10. ^
  11. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:51:5: note: in expansion of macro ‘__compat_addr_ok’
  12. __compat_addr_ok(d, (unsigned long)(addr) + ((size) ? (size) - 1 : 0))
  13. ^~~~~~~~~~~~~~~~
  14. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:54:5: note: in expansion of macro ‘__compat_access_ok’
  15. __compat_access_ok(current->domain, addr, size)
  16. ^~~~~~~~~~~~~~~~~~
  17. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:58:6: note: in expansion of macro ‘compat_access_ok’
  18. compat_access_ok(addr, (count) * (size)))
  19. ^~~~~~~~~~~~~~~~
  20. /tmp/SBo/xen-4.8.1/xen/include/xen/compat.h:98:5: note: in expansion of macro ‘compat_array_access_ok’
  21. compat_array_access_ok((void *)(full_ptr_t)(hnd).c, (nr), \
  22. ^~~~~~~~~~~~~~~~~~~~~~
  23. compat/grant_table.c:153:33: note: in expansion of macro ‘compat_handle_okay’
  24. else if ( unlikely(!compat_handle_okay(cmp.setup.frame_list, cmp.setup.nr_frames)) )
  25. ^~~~~~~~~~~~~~~~~~
  26. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:58:37: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context]
  27. compat_access_ok(addr, (count) * (size)))
  28. ^
  29. /tmp/SBo/xen-4.8.1/xen/include/xen/compiler.h:11:43: note: in definition of macro ‘unlikely’
  30. #define unlikely(x) __builtin_expect(!!(x),0)
  31. ^
  32. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:51:5: note: in expansion of macro ‘__compat_addr_ok’
  33. __compat_addr_ok(d, (unsigned long)(addr) + ((size) ? (size) - 1 : 0))
  34. ^~~~~~~~~~~~~~~~
  35. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:54:5: note: in expansion of macro ‘__compat_access_ok’
  36. __compat_access_ok(current->domain, addr, size)
  37. ^~~~~~~~~~~~~~~~~~
  38. /tmp/SBo/xen-4.8.1/xen/include/asm/x86_64/uaccess.h:58:6: note: in expansion of macro ‘compat_access_ok’
  39. compat_access_ok(addr, (count) * (size)))
  40. ^~~~~~~~~~~~~~~~
  41. /tmp/SBo/xen-4.8.1/xen/include/xen/compat.h:98:5: note: in expansion of macro ‘compat_array_access_ok’
  42. compat_array_access_ok((void *)(full_ptr_t)(hnd).c, (nr), \
  43. ^~~~~~~~~~~~~~~~~~~~~~
  44. compat/grant_table.c:291:28: note: in expansion of macro ‘compat_handle_okay’
  45. !compat_handle_okay(cmp.get_status.frame_list,
  46. ^~~~~~~~~~~~~~~~~~
  47. cc1: all warnings being treated as errors
  48. make[4]: *** [/tmp/SBo/xen-4.8.1/xen/Rules.mk:178: grant_table.o] Error 1
  49. make[4]: Leaving directory '/tmp/SBo/xen-4.8.1/xen/common'
  50. make[3]: *** [/tmp/SBo/xen-4.8.1/xen/Rules.mk:166: /tmp/SBo/xen-4.8.1/xen/common/built_in.o] Error 2
  51. make[3]: Leaving directory '/tmp/SBo/xen-4.8.1/xen/arch/x86'
  52. make[2]: *** [Makefile:142: /tmp/SBo/xen-4.8.1/xen/xen] Error 2
  53. make[2]: Leaving directory '/tmp/SBo/xen-4.8.1/xen'
  54. make[1]: *** [Makefile:45: install] Error 2
  55. make[1]: Leaving directory '/tmp/SBo/xen-4.8.1/xen'
  56. make: *** [Makefile:97: install-xen] Error 2
Add Comment
Please, Sign In to add comment