Advertisement
Guest User

Untitled

a guest
Dec 27th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.17 KB | None | 0 0
  1. make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.19.0+/build -j2 modules
  2. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  3. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  4. echo >&2; \
  5. echo >&2 " ERROR: Kernel configuration is invalid."; \
  6. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  7. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  8. echo >&2 ; \
  9. /bin/false)
  10. mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
  11. make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  12. gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.19.0+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  13. gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.19.0+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
  14. In file included from ./arch/x86/include/asm/paravirt_types.h:44:0,
  15. from ./arch/x86/include/asm/ptrace.h:71,
  16. from ./arch/x86/include/asm/alternative.h:8,
  17. from ./arch/x86/include/asm/bitops.h:16,
  18. from include/linux/bitops.h:36,
  19. from include/linux/kernel.h:10,
  20. from include/linux/list.h:8,
  21. from include/linux/preempt.h:10,
  22. from include/linux/spinlock.h:50,
  23. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  24. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  25. ./arch/x86/include/asm/pgtable_types.h:237:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  26. #if CONFIG_PGTABLE_LEVELS > 3
  27. ^
  28. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  29. from ./arch/x86/include/asm/paravirt_types.h:44,
  30. from ./arch/x86/include/asm/ptrace.h:71,
  31. from ./arch/x86/include/asm/alternative.h:8,
  32. from ./arch/x86/include/asm/bitops.h:16,
  33. from include/linux/bitops.h:36,
  34. from include/linux/kernel.h:10,
  35. from include/linux/list.h:8,
  36. from include/linux/preempt.h:10,
  37. from include/linux/spinlock.h:50,
  38. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  39. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  40. include/asm-generic/pgtable-nopud.h:15:0: warning: "PUD_SHIFT" redefined [enabled by default]
  41. #define PUD_SHIFT PGDIR_SHIFT
  42. ^
  43. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  44. from ./arch/x86/include/asm/paravirt_types.h:44,
  45. from ./arch/x86/include/asm/ptrace.h:71,
  46. from ./arch/x86/include/asm/alternative.h:8,
  47. from ./arch/x86/include/asm/bitops.h:16,
  48. from include/linux/bitops.h:36,
  49. from include/linux/kernel.h:10,
  50. from include/linux/list.h:8,
  51. from include/linux/preempt.h:10,
  52. from include/linux/spinlock.h:50,
  53. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  54. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  55. ./arch/x86/include/asm/pgtable_64_types.h:33:0: note: this is the location of the previous definition
  56. #define PUD_SHIFT 30
  57. ^
  58. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  59. from ./arch/x86/include/asm/paravirt_types.h:44,
  60. from ./arch/x86/include/asm/ptrace.h:71,
  61. from ./arch/x86/include/asm/alternative.h:8,
  62. from ./arch/x86/include/asm/bitops.h:16,
  63. from include/linux/bitops.h:36,
  64. from include/linux/kernel.h:10,
  65. from include/linux/list.h:8,
  66. from include/linux/preempt.h:10,
  67. from include/linux/spinlock.h:50,
  68. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  69. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  70. include/asm-generic/pgtable-nopud.h:16:0: warning: "PTRS_PER_PUD" redefined [enabled by default]
  71. #define PTRS_PER_PUD 1
  72. ^
  73. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  74. from ./arch/x86/include/asm/paravirt_types.h:44,
  75. from ./arch/x86/include/asm/ptrace.h:71,
  76. from ./arch/x86/include/asm/alternative.h:8,
  77. from ./arch/x86/include/asm/bitops.h:16,
  78. from include/linux/bitops.h:36,
  79. from include/linux/kernel.h:10,
  80. from include/linux/list.h:8,
  81. from include/linux/preempt.h:10,
  82. from include/linux/spinlock.h:50,
  83. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  84. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  85. ./arch/x86/include/asm/pgtable_64_types.h:34:0: note: this is the location of the previous definition
  86. #define PTRS_PER_PUD 512
  87. ^
  88. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  89. from ./arch/x86/include/asm/paravirt_types.h:44,
  90. from ./arch/x86/include/asm/ptrace.h:71,
  91. from ./arch/x86/include/asm/alternative.h:8,
  92. from ./arch/x86/include/asm/bitops.h:16,
  93. from include/linux/bitops.h:36,
  94. from include/linux/kernel.h:10,
  95. from include/linux/list.h:8,
  96. from include/linux/preempt.h:10,
  97. from include/linux/spinlock.h:50,
  98. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  99. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  100. include/asm-generic/pgtable-nopud.h:17:0: warning: "PUD_SIZE" redefined [enabled by default]
  101. #define PUD_SIZE (1UL << PUD_SHIFT)
  102. ^
  103. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  104. from ./arch/x86/include/asm/paravirt_types.h:44,
  105. from ./arch/x86/include/asm/ptrace.h:71,
  106. from ./arch/x86/include/asm/alternative.h:8,
  107. from ./arch/x86/include/asm/bitops.h:16,
  108. from include/linux/bitops.h:36,
  109. from include/linux/kernel.h:10,
  110. from include/linux/list.h:8,
  111. from include/linux/preempt.h:10,
  112. from include/linux/spinlock.h:50,
  113. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  114. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  115. ./arch/x86/include/asm/pgtable_64_types.h:50:0: note: this is the location of the previous definition
  116. #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
  117. ^
  118. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  119. from ./arch/x86/include/asm/paravirt_types.h:44,
  120. from ./arch/x86/include/asm/ptrace.h:71,
  121. from ./arch/x86/include/asm/alternative.h:8,
  122. from ./arch/x86/include/asm/bitops.h:16,
  123. from include/linux/bitops.h:36,
  124. from include/linux/kernel.h:10,
  125. from include/linux/list.h:8,
  126. from include/linux/preempt.h:10,
  127. from include/linux/spinlock.h:50,
  128. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  129. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  130. include/asm-generic/pgtable-nopud.h:18:0: warning: "PUD_MASK" redefined [enabled by default]
  131. #define PUD_MASK (~(PUD_SIZE-1))
  132. ^
  133. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  134. from ./arch/x86/include/asm/paravirt_types.h:44,
  135. from ./arch/x86/include/asm/ptrace.h:71,
  136. from ./arch/x86/include/asm/alternative.h:8,
  137. from ./arch/x86/include/asm/bitops.h:16,
  138. from include/linux/bitops.h:36,
  139. from include/linux/kernel.h:10,
  140. from include/linux/list.h:8,
  141. from include/linux/preempt.h:10,
  142. from include/linux/spinlock.h:50,
  143. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  144. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  145. ./arch/x86/include/asm/pgtable_64_types.h:51:0: note: this is the location of the previous definition
  146. #define PUD_MASK (~(PUD_SIZE - 1))
  147. ^
  148. In file included from ./arch/x86/include/asm/paravirt_types.h:44:0,
  149. from ./arch/x86/include/asm/ptrace.h:71,
  150. from ./arch/x86/include/asm/alternative.h:8,
  151. from ./arch/x86/include/asm/bitops.h:16,
  152. from include/linux/bitops.h:36,
  153. from include/linux/kernel.h:10,
  154. from include/linux/list.h:8,
  155. from include/linux/preempt.h:10,
  156. from include/linux/spinlock.h:50,
  157. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  158. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  159. ./arch/x86/include/asm/pgtable_types.h:258:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  160. #if CONFIG_PGTABLE_LEVELS > 2
  161. ^
  162. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  163. from ./arch/x86/include/asm/paravirt_types.h:44,
  164. from ./arch/x86/include/asm/ptrace.h:71,
  165. from ./arch/x86/include/asm/alternative.h:8,
  166. from ./arch/x86/include/asm/bitops.h:16,
  167. from include/linux/bitops.h:36,
  168. from include/linux/kernel.h:10,
  169. from include/linux/list.h:8,
  170. from include/linux/preempt.h:10,
  171. from include/linux/spinlock.h:50,
  172. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  173. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  174. include/asm-generic/pgtable-nopmd.h:19:0: warning: "PMD_SHIFT" redefined [enabled by default]
  175. #define PMD_SHIFT PUD_SHIFT
  176. ^
  177. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  178. from ./arch/x86/include/asm/paravirt_types.h:44,
  179. from ./arch/x86/include/asm/ptrace.h:71,
  180. from ./arch/x86/include/asm/alternative.h:8,
  181. from ./arch/x86/include/asm/bitops.h:16,
  182. from include/linux/bitops.h:36,
  183. from include/linux/kernel.h:10,
  184. from include/linux/list.h:8,
  185. from include/linux/preempt.h:10,
  186. from include/linux/spinlock.h:50,
  187. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  188. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  189. ./arch/x86/include/asm/pgtable_64_types.h:40:0: note: this is the location of the previous definition
  190. #define PMD_SHIFT 21
  191. ^
  192. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  193. from ./arch/x86/include/asm/paravirt_types.h:44,
  194. from ./arch/x86/include/asm/ptrace.h:71,
  195. from ./arch/x86/include/asm/alternative.h:8,
  196. from ./arch/x86/include/asm/bitops.h:16,
  197. from include/linux/bitops.h:36,
  198. from include/linux/kernel.h:10,
  199. from include/linux/list.h:8,
  200. from include/linux/preempt.h:10,
  201. from include/linux/spinlock.h:50,
  202. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  203. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  204. include/asm-generic/pgtable-nopmd.h:20:0: warning: "PTRS_PER_PMD" redefined [enabled by default]
  205. #define PTRS_PER_PMD 1
  206. ^
  207. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  208. from ./arch/x86/include/asm/paravirt_types.h:44,
  209. from ./arch/x86/include/asm/ptrace.h:71,
  210. from ./arch/x86/include/asm/alternative.h:8,
  211. from ./arch/x86/include/asm/bitops.h:16,
  212. from include/linux/bitops.h:36,
  213. from include/linux/kernel.h:10,
  214. from include/linux/list.h:8,
  215. from include/linux/preempt.h:10,
  216. from include/linux/spinlock.h:50,
  217. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  218. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  219. ./arch/x86/include/asm/pgtable_64_types.h:41:0: note: this is the location of the previous definition
  220. #define PTRS_PER_PMD 512
  221. ^
  222. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  223. from ./arch/x86/include/asm/paravirt_types.h:44,
  224. from ./arch/x86/include/asm/ptrace.h:71,
  225. from ./arch/x86/include/asm/alternative.h:8,
  226. from ./arch/x86/include/asm/bitops.h:16,
  227. from include/linux/bitops.h:36,
  228. from include/linux/kernel.h:10,
  229. from include/linux/list.h:8,
  230. from include/linux/preempt.h:10,
  231. from include/linux/spinlock.h:50,
  232. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  233. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  234. include/asm-generic/pgtable-nopmd.h:21:0: warning: "PMD_SIZE" redefined [enabled by default]
  235. #define PMD_SIZE (1UL << PMD_SHIFT)
  236. ^
  237. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  238. from ./arch/x86/include/asm/paravirt_types.h:44,
  239. from ./arch/x86/include/asm/ptrace.h:71,
  240. from ./arch/x86/include/asm/alternative.h:8,
  241. from ./arch/x86/include/asm/bitops.h:16,
  242. from include/linux/bitops.h:36,
  243. from include/linux/kernel.h:10,
  244. from include/linux/list.h:8,
  245. from include/linux/preempt.h:10,
  246. from include/linux/spinlock.h:50,
  247. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  248. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  249. ./arch/x86/include/asm/pgtable_64_types.h:48:0: note: this is the location of the previous definition
  250. #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
  251. ^
  252. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  253. from ./arch/x86/include/asm/paravirt_types.h:44,
  254. from ./arch/x86/include/asm/ptrace.h:71,
  255. from ./arch/x86/include/asm/alternative.h:8,
  256. from ./arch/x86/include/asm/bitops.h:16,
  257. from include/linux/bitops.h:36,
  258. from include/linux/kernel.h:10,
  259. from include/linux/list.h:8,
  260. from include/linux/preempt.h:10,
  261. from include/linux/spinlock.h:50,
  262. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  263. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  264. include/asm-generic/pgtable-nopmd.h:22:0: warning: "PMD_MASK" redefined [enabled by default]
  265. #define PMD_MASK (~(PMD_SIZE-1))
  266. ^
  267. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  268. from ./arch/x86/include/asm/paravirt_types.h:44,
  269. from ./arch/x86/include/asm/ptrace.h:71,
  270. from ./arch/x86/include/asm/alternative.h:8,
  271. from ./arch/x86/include/asm/bitops.h:16,
  272. from include/linux/bitops.h:36,
  273. from include/linux/kernel.h:10,
  274. from include/linux/list.h:8,
  275. from include/linux/preempt.h:10,
  276. from include/linux/spinlock.h:50,
  277. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  278. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  279. ./arch/x86/include/asm/pgtable_64_types.h:49:0: note: this is the location of the previous definition
  280. #define PMD_MASK (~(PMD_SIZE - 1))
  281. ^
  282. In file included from ./arch/x86/include/asm/ptrace.h:71:0,
  283. from ./arch/x86/include/asm/alternative.h:8,
  284. from ./arch/x86/include/asm/bitops.h:16,
  285. from include/linux/bitops.h:36,
  286. from include/linux/kernel.h:10,
  287. from include/linux/list.h:8,
  288. from include/linux/preempt.h:10,
  289. from include/linux/spinlock.h:50,
  290. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  291. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  292. ./arch/x86/include/asm/paravirt_types.h:295:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  293. #if CONFIG_PGTABLE_LEVELS >= 3
  294. ^
  295. In file included from ./arch/x86/include/asm/msr.h:167:0,
  296. from ./arch/x86/include/asm/processor.h:20,
  297. from ./arch/x86/include/asm/thread_info.h:52,
  298. from include/linux/thread_info.h:54,
  299. from ./arch/x86/include/asm/preempt.h:6,
  300. from include/linux/preempt.h:59,
  301. from include/linux/spinlock.h:50,
  302. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  303. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  304. ./arch/x86/include/asm/paravirt.h:518:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  305. #if CONFIG_PGTABLE_LEVELS >= 3
  306. ^
  307. In file included from ./arch/x86/include/asm/apic.h:12:0,
  308. from ./arch/x86/include/asm/smp.h:12,
  309. from ./arch/x86/include/asm/mmzone_64.h:10,
  310. from ./arch/x86/include/asm/mmzone.h:4,
  311. from include/linux/mmzone.h:856,
  312. from include/linux/gfp.h:5,
  313. from include/linux/slab.h:14,
  314. from /tmp/vbox.0/linux/../SUPDrvInternal.h:77,
  315. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  316. ./arch/x86/include/asm/fixmap.h:73:2: warning: left shift count >= width of type [enabled by default]
  317. VSYSCALL_PAGE = (FIXADDR_TOP - VSYSCALL_ADDR) >> PAGE_SHIFT,
  318. ^
  319. ./arch/x86/include/asm/fixmap.h:73:2: error: enumerator value for 'VSYSCALL_PAGE' is not an integer constant
  320. In file included from ./arch/x86/include/asm/fixmap.h:161:0,
  321. from ./arch/x86/include/asm/apic.h:12,
  322. from ./arch/x86/include/asm/smp.h:12,
  323. from ./arch/x86/include/asm/mmzone_64.h:10,
  324. from ./arch/x86/include/asm/mmzone.h:4,
  325. from include/linux/mmzone.h:856,
  326. from include/linux/gfp.h:5,
  327. from include/linux/slab.h:14,
  328. from /tmp/vbox.0/linux/../SUPDrvInternal.h:77,
  329. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  330. include/asm-generic/fixmap.h: In function 'fix_to_virt':
  331. include/asm-generic/fixmap.h:32:2: warning: left shift count >= width of type [enabled by default]
  332. return __fix_to_virt(idx);
  333. ^
  334. include/asm-generic/fixmap.h: In function 'virt_to_fix':
  335. include/asm-generic/fixmap.h:37:2: warning: left shift count >= width of type [enabled by default]
  336. BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START);
  337. ^
  338. include/asm-generic/fixmap.h:37:2: warning: left shift count >= width of type [enabled by default]
  339. include/asm-generic/fixmap.h:38:2: warning: left shift count >= width of type [enabled by default]
  340. return __virt_to_fix(vaddr);
  341. ^
  342. In file included from ./arch/x86/include/asm/vdso.h:10:0,
  343. from ./arch/x86/include/asm/elf.h:76,
  344. from include/linux/elf.h:4,
  345. from include/linux/module.h:15,
  346. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
  347. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  348. include/linux/mm_types.h: At top level:
  349. include/linux/mm_types.h:409:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  350. #if CONFIG_PGTABLE_LEVELS > 2
  351. ^
  352. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  353. from include/linux/mm.h:55,
  354. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  355. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  356. ./arch/x86/include/asm/pgtable_64.h:32:0: warning: "pmd_ERROR" redefined [enabled by default]
  357. #define pmd_ERROR(e) \
  358. ^
  359. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  360. from ./arch/x86/include/asm/paravirt_types.h:44,
  361. from ./arch/x86/include/asm/ptrace.h:71,
  362. from ./arch/x86/include/asm/alternative.h:8,
  363. from ./arch/x86/include/asm/bitops.h:16,
  364. from include/linux/bitops.h:36,
  365. from include/linux/kernel.h:10,
  366. from include/linux/list.h:8,
  367. from include/linux/preempt.h:10,
  368. from include/linux/spinlock.h:50,
  369. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  370. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  371. include/asm-generic/pgtable-nopmd.h:33:0: note: this is the location of the previous definition
  372. #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
  373. ^
  374. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  375. from include/linux/mm.h:55,
  376. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  377. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  378. ./arch/x86/include/asm/pgtable_64.h:35:0: warning: "pud_ERROR" redefined [enabled by default]
  379. #define pud_ERROR(e) \
  380. ^
  381. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  382. from ./arch/x86/include/asm/paravirt_types.h:44,
  383. from ./arch/x86/include/asm/ptrace.h:71,
  384. from ./arch/x86/include/asm/alternative.h:8,
  385. from ./arch/x86/include/asm/bitops.h:16,
  386. from include/linux/bitops.h:36,
  387. from include/linux/kernel.h:10,
  388. from include/linux/list.h:8,
  389. from include/linux/preempt.h:10,
  390. from include/linux/spinlock.h:50,
  391. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  392. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  393. include/asm-generic/pgtable-nopud.h:29:0: note: this is the location of the previous definition
  394. #define pud_ERROR(pud) (pgd_ERROR((pud).pgd))
  395. ^
  396. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  397. from include/linux/mm.h:55,
  398. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  399. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  400. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pmd_clear':
  401. ./arch/x86/include/asm/pgtable_64.h:70:2: error: implicit declaration of function 'native_make_pmd' [-Werror=implicit-function-declaration]
  402. native_set_pmd(pmd, native_make_pmd(0));
  403. ^
  404. ./arch/x86/include/asm/pgtable_64.h:70:2: error: incompatible type for argument 2 of 'native_set_pmd'
  405. ./arch/x86/include/asm/pgtable_64.h:63:20: note: expected 'pmd_t' but argument is of type 'int'
  406. static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
  407. ^
  408. In file included from ./arch/x86/include/asm/atomic.h:8:0,
  409. from include/linux/atomic.h:4,
  410. from ./arch/x86/include/asm/thread_info.h:53,
  411. from include/linux/thread_info.h:54,
  412. from ./arch/x86/include/asm/preempt.h:6,
  413. from include/linux/preempt.h:59,
  414. from include/linux/spinlock.h:50,
  415. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  416. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  417. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pmdp_get_and_clear':
  418. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  419. return native_make_pmd(xchg(&xp->pmd, 0));
  420. ^
  421. ./arch/x86/include/asm/cmpxchg.h:42:24: note: in definition of macro '__xchg_op'
  422. __typeof__ (*(ptr)) __ret = (arg); \
  423. ^
  424. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  425. return native_make_pmd(xchg(&xp->pmd, 0));
  426. ^
  427. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  428. return native_make_pmd(xchg(&xp->pmd, 0));
  429. ^
  430. ./arch/x86/include/asm/cmpxchg.h:43:20: note: in definition of macro '__xchg_op'
  431. switch (sizeof(*(ptr))) { \
  432. ^
  433. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  434. return native_make_pmd(xchg(&xp->pmd, 0));
  435. ^
  436. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  437. return native_make_pmd(xchg(&xp->pmd, 0));
  438. ^
  439. ./arch/x86/include/asm/cmpxchg.h:46:35: note: in definition of macro '__xchg_op'
  440. : "+q" (__ret), "+m" (*(ptr)) \
  441. ^
  442. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  443. return native_make_pmd(xchg(&xp->pmd, 0));
  444. ^
  445. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  446. return native_make_pmd(xchg(&xp->pmd, 0));
  447. ^
  448. ./arch/x86/include/asm/cmpxchg.h:51:35: note: in definition of macro '__xchg_op'
  449. : "+r" (__ret), "+m" (*(ptr)) \
  450. ^
  451. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  452. return native_make_pmd(xchg(&xp->pmd, 0));
  453. ^
  454. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  455. return native_make_pmd(xchg(&xp->pmd, 0));
  456. ^
  457. ./arch/x86/include/asm/cmpxchg.h:56:35: note: in definition of macro '__xchg_op'
  458. : "+r" (__ret), "+m" (*(ptr)) \
  459. ^
  460. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  461. return native_make_pmd(xchg(&xp->pmd, 0));
  462. ^
  463. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  464. return native_make_pmd(xchg(&xp->pmd, 0));
  465. ^
  466. ./arch/x86/include/asm/cmpxchg.h:61:35: note: in definition of macro '__xchg_op'
  467. : "+r" (__ret), "+m" (*(ptr)) \
  468. ^
  469. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  470. return native_make_pmd(xchg(&xp->pmd, 0));
  471. ^
  472. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  473. from include/linux/mm.h:55,
  474. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  475. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  476. ./arch/x86/include/asm/pgtable_64.h:89:2: error: incompatible types when returning type 'int' but 'pmd_t' was expected
  477. return native_make_pmd(xchg(&xp->pmd, 0));
  478. ^
  479. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pud_clear':
  480. ./arch/x86/include/asm/pgtable_64.h:106:2: error: implicit declaration of function 'native_make_pud' [-Werror=implicit-function-declaration]
  481. native_set_pud(pud, native_make_pud(0));
  482. ^
  483. ./arch/x86/include/asm/pgtable_64.h:106:2: error: incompatible type for argument 2 of 'native_set_pud'
  484. ./arch/x86/include/asm/pgtable_64.h:99:20: note: expected 'pud_t' but argument is of type 'int'
  485. static inline void native_set_pud(pud_t *pudp, pud_t pud)
  486. ^
  487. In file included from include/linux/mm.h:55:0,
  488. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  489. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  490. ./arch/x86/include/asm/pgtable.h: At top level:
  491. ./arch/x86/include/asm/pgtable.h:580:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  492. #if CONFIG_PGTABLE_LEVELS > 2
  493. ^
  494. ./arch/x86/include/asm/pgtable.h:626:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  495. #if CONFIG_PGTABLE_LEVELS > 3
  496. ^
  497. In file included from ./arch/x86/include/asm/pgtable.h:905:0,
  498. from include/linux/mm.h:55,
  499. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  500. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  501. include/asm-generic/pgtable.h:12:2: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  502. CONFIG_PGTABLE_LEVELS
  503. ^
  504. include/asm-generic/pgtable.h:13:2: error: #error CONFIG_PGTABLE_LEVELS is not consistent with __PAGETABLE_{PUD,PMD}_FOLDED
  505. #error CONFIG_PGTABLE_LEVELS is not consistent with __PAGETABLE_{PUD,PMD}_FOLDED
  506. ^
  507. In file included from include/linux/mm.h:322:0,
  508. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  509. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  510. include/linux/huge_mm.h:123:2: error: #error "hugepages can't be allocated by the buddy allocator"
  511. #error "hugepages can't be allocated by the buddy allocator"
  512. ^
  513. cc1: some warnings being treated as errors
  514. make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
  515. make[2]: *** Waiting for unfinished jobs....
  516. make[1]: *** [_module_/tmp/vbox.0] Error 2
  517. make: *** [vboxdrv] Error 2
  518. make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.19.0+/build -j2 modules
  519. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  520. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  521. echo >&2; \
  522. echo >&2 " ERROR: Kernel configuration is invalid."; \
  523. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  524. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  525. echo >&2 ; \
  526. /bin/false)
  527. mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
  528. make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  529. gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.19.0+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  530. gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.19.0+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
  531. In file included from ./arch/x86/include/asm/paravirt_types.h:44:0,
  532. from ./arch/x86/include/asm/ptrace.h:71,
  533. from ./arch/x86/include/asm/alternative.h:8,
  534. from ./arch/x86/include/asm/bitops.h:16,
  535. from include/linux/bitops.h:36,
  536. from include/linux/kernel.h:10,
  537. from include/linux/list.h:8,
  538. from include/linux/preempt.h:10,
  539. from include/linux/spinlock.h:50,
  540. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  541. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  542. ./arch/x86/include/asm/pgtable_types.h:237:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  543. #if CONFIG_PGTABLE_LEVELS > 3
  544. ^
  545. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  546. from ./arch/x86/include/asm/paravirt_types.h:44,
  547. from ./arch/x86/include/asm/ptrace.h:71,
  548. from ./arch/x86/include/asm/alternative.h:8,
  549. from ./arch/x86/include/asm/bitops.h:16,
  550. from include/linux/bitops.h:36,
  551. from include/linux/kernel.h:10,
  552. from include/linux/list.h:8,
  553. from include/linux/preempt.h:10,
  554. from include/linux/spinlock.h:50,
  555. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  556. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  557. include/asm-generic/pgtable-nopud.h:15:0: warning: "PUD_SHIFT" redefined [enabled by default]
  558. #define PUD_SHIFT PGDIR_SHIFT
  559. ^
  560. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  561. from ./arch/x86/include/asm/paravirt_types.h:44,
  562. from ./arch/x86/include/asm/ptrace.h:71,
  563. from ./arch/x86/include/asm/alternative.h:8,
  564. from ./arch/x86/include/asm/bitops.h:16,
  565. from include/linux/bitops.h:36,
  566. from include/linux/kernel.h:10,
  567. from include/linux/list.h:8,
  568. from include/linux/preempt.h:10,
  569. from include/linux/spinlock.h:50,
  570. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  571. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  572. ./arch/x86/include/asm/pgtable_64_types.h:33:0: note: this is the location of the previous definition
  573. #define PUD_SHIFT 30
  574. ^
  575. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  576. from ./arch/x86/include/asm/paravirt_types.h:44,
  577. from ./arch/x86/include/asm/ptrace.h:71,
  578. from ./arch/x86/include/asm/alternative.h:8,
  579. from ./arch/x86/include/asm/bitops.h:16,
  580. from include/linux/bitops.h:36,
  581. from include/linux/kernel.h:10,
  582. from include/linux/list.h:8,
  583. from include/linux/preempt.h:10,
  584. from include/linux/spinlock.h:50,
  585. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  586. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  587. include/asm-generic/pgtable-nopud.h:16:0: warning: "PTRS_PER_PUD" redefined [enabled by default]
  588. #define PTRS_PER_PUD 1
  589. ^
  590. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  591. from ./arch/x86/include/asm/paravirt_types.h:44,
  592. from ./arch/x86/include/asm/ptrace.h:71,
  593. from ./arch/x86/include/asm/alternative.h:8,
  594. from ./arch/x86/include/asm/bitops.h:16,
  595. from include/linux/bitops.h:36,
  596. from include/linux/kernel.h:10,
  597. from include/linux/list.h:8,
  598. from include/linux/preempt.h:10,
  599. from include/linux/spinlock.h:50,
  600. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  601. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  602. ./arch/x86/include/asm/pgtable_64_types.h:34:0: note: this is the location of the previous definition
  603. #define PTRS_PER_PUD 512
  604. ^
  605. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  606. from ./arch/x86/include/asm/paravirt_types.h:44,
  607. from ./arch/x86/include/asm/ptrace.h:71,
  608. from ./arch/x86/include/asm/alternative.h:8,
  609. from ./arch/x86/include/asm/bitops.h:16,
  610. from include/linux/bitops.h:36,
  611. from include/linux/kernel.h:10,
  612. from include/linux/list.h:8,
  613. from include/linux/preempt.h:10,
  614. from include/linux/spinlock.h:50,
  615. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  616. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  617. include/asm-generic/pgtable-nopud.h:17:0: warning: "PUD_SIZE" redefined [enabled by default]
  618. #define PUD_SIZE (1UL << PUD_SHIFT)
  619. ^
  620. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  621. from ./arch/x86/include/asm/paravirt_types.h:44,
  622. from ./arch/x86/include/asm/ptrace.h:71,
  623. from ./arch/x86/include/asm/alternative.h:8,
  624. from ./arch/x86/include/asm/bitops.h:16,
  625. from include/linux/bitops.h:36,
  626. from include/linux/kernel.h:10,
  627. from include/linux/list.h:8,
  628. from include/linux/preempt.h:10,
  629. from include/linux/spinlock.h:50,
  630. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  631. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  632. ./arch/x86/include/asm/pgtable_64_types.h:50:0: note: this is the location of the previous definition
  633. #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
  634. ^
  635. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  636. from ./arch/x86/include/asm/paravirt_types.h:44,
  637. from ./arch/x86/include/asm/ptrace.h:71,
  638. from ./arch/x86/include/asm/alternative.h:8,
  639. from ./arch/x86/include/asm/bitops.h:16,
  640. from include/linux/bitops.h:36,
  641. from include/linux/kernel.h:10,
  642. from include/linux/list.h:8,
  643. from include/linux/preempt.h:10,
  644. from include/linux/spinlock.h:50,
  645. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  646. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  647. include/asm-generic/pgtable-nopud.h:18:0: warning: "PUD_MASK" redefined [enabled by default]
  648. #define PUD_MASK (~(PUD_SIZE-1))
  649. ^
  650. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  651. from ./arch/x86/include/asm/paravirt_types.h:44,
  652. from ./arch/x86/include/asm/ptrace.h:71,
  653. from ./arch/x86/include/asm/alternative.h:8,
  654. from ./arch/x86/include/asm/bitops.h:16,
  655. from include/linux/bitops.h:36,
  656. from include/linux/kernel.h:10,
  657. from include/linux/list.h:8,
  658. from include/linux/preempt.h:10,
  659. from include/linux/spinlock.h:50,
  660. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  661. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  662. ./arch/x86/include/asm/pgtable_64_types.h:51:0: note: this is the location of the previous definition
  663. #define PUD_MASK (~(PUD_SIZE - 1))
  664. ^
  665. In file included from ./arch/x86/include/asm/paravirt_types.h:44:0,
  666. from ./arch/x86/include/asm/ptrace.h:71,
  667. from ./arch/x86/include/asm/alternative.h:8,
  668. from ./arch/x86/include/asm/bitops.h:16,
  669. from include/linux/bitops.h:36,
  670. from include/linux/kernel.h:10,
  671. from include/linux/list.h:8,
  672. from include/linux/preempt.h:10,
  673. from include/linux/spinlock.h:50,
  674. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  675. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  676. ./arch/x86/include/asm/pgtable_types.h:258:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  677. #if CONFIG_PGTABLE_LEVELS > 2
  678. ^
  679. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  680. from ./arch/x86/include/asm/paravirt_types.h:44,
  681. from ./arch/x86/include/asm/ptrace.h:71,
  682. from ./arch/x86/include/asm/alternative.h:8,
  683. from ./arch/x86/include/asm/bitops.h:16,
  684. from include/linux/bitops.h:36,
  685. from include/linux/kernel.h:10,
  686. from include/linux/list.h:8,
  687. from include/linux/preempt.h:10,
  688. from include/linux/spinlock.h:50,
  689. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  690. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  691. include/asm-generic/pgtable-nopmd.h:19:0: warning: "PMD_SHIFT" redefined [enabled by default]
  692. #define PMD_SHIFT PUD_SHIFT
  693. ^
  694. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  695. from ./arch/x86/include/asm/paravirt_types.h:44,
  696. from ./arch/x86/include/asm/ptrace.h:71,
  697. from ./arch/x86/include/asm/alternative.h:8,
  698. from ./arch/x86/include/asm/bitops.h:16,
  699. from include/linux/bitops.h:36,
  700. from include/linux/kernel.h:10,
  701. from include/linux/list.h:8,
  702. from include/linux/preempt.h:10,
  703. from include/linux/spinlock.h:50,
  704. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  705. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  706. ./arch/x86/include/asm/pgtable_64_types.h:40:0: note: this is the location of the previous definition
  707. #define PMD_SHIFT 21
  708. ^
  709. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  710. from ./arch/x86/include/asm/paravirt_types.h:44,
  711. from ./arch/x86/include/asm/ptrace.h:71,
  712. from ./arch/x86/include/asm/alternative.h:8,
  713. from ./arch/x86/include/asm/bitops.h:16,
  714. from include/linux/bitops.h:36,
  715. from include/linux/kernel.h:10,
  716. from include/linux/list.h:8,
  717. from include/linux/preempt.h:10,
  718. from include/linux/spinlock.h:50,
  719. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  720. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  721. include/asm-generic/pgtable-nopmd.h:20:0: warning: "PTRS_PER_PMD" redefined [enabled by default]
  722. #define PTRS_PER_PMD 1
  723. ^
  724. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  725. from ./arch/x86/include/asm/paravirt_types.h:44,
  726. from ./arch/x86/include/asm/ptrace.h:71,
  727. from ./arch/x86/include/asm/alternative.h:8,
  728. from ./arch/x86/include/asm/bitops.h:16,
  729. from include/linux/bitops.h:36,
  730. from include/linux/kernel.h:10,
  731. from include/linux/list.h:8,
  732. from include/linux/preempt.h:10,
  733. from include/linux/spinlock.h:50,
  734. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  735. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  736. ./arch/x86/include/asm/pgtable_64_types.h:41:0: note: this is the location of the previous definition
  737. #define PTRS_PER_PMD 512
  738. ^
  739. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  740. from ./arch/x86/include/asm/paravirt_types.h:44,
  741. from ./arch/x86/include/asm/ptrace.h:71,
  742. from ./arch/x86/include/asm/alternative.h:8,
  743. from ./arch/x86/include/asm/bitops.h:16,
  744. from include/linux/bitops.h:36,
  745. from include/linux/kernel.h:10,
  746. from include/linux/list.h:8,
  747. from include/linux/preempt.h:10,
  748. from include/linux/spinlock.h:50,
  749. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  750. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  751. include/asm-generic/pgtable-nopmd.h:21:0: warning: "PMD_SIZE" redefined [enabled by default]
  752. #define PMD_SIZE (1UL << PMD_SHIFT)
  753. ^
  754. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  755. from ./arch/x86/include/asm/paravirt_types.h:44,
  756. from ./arch/x86/include/asm/ptrace.h:71,
  757. from ./arch/x86/include/asm/alternative.h:8,
  758. from ./arch/x86/include/asm/bitops.h:16,
  759. from include/linux/bitops.h:36,
  760. from include/linux/kernel.h:10,
  761. from include/linux/list.h:8,
  762. from include/linux/preempt.h:10,
  763. from include/linux/spinlock.h:50,
  764. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  765. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  766. ./arch/x86/include/asm/pgtable_64_types.h:48:0: note: this is the location of the previous definition
  767. #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
  768. ^
  769. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  770. from ./arch/x86/include/asm/paravirt_types.h:44,
  771. from ./arch/x86/include/asm/ptrace.h:71,
  772. from ./arch/x86/include/asm/alternative.h:8,
  773. from ./arch/x86/include/asm/bitops.h:16,
  774. from include/linux/bitops.h:36,
  775. from include/linux/kernel.h:10,
  776. from include/linux/list.h:8,
  777. from include/linux/preempt.h:10,
  778. from include/linux/spinlock.h:50,
  779. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  780. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  781. include/asm-generic/pgtable-nopmd.h:22:0: warning: "PMD_MASK" redefined [enabled by default]
  782. #define PMD_MASK (~(PMD_SIZE-1))
  783. ^
  784. In file included from ./arch/x86/include/asm/pgtable_types.h:205:0,
  785. from ./arch/x86/include/asm/paravirt_types.h:44,
  786. from ./arch/x86/include/asm/ptrace.h:71,
  787. from ./arch/x86/include/asm/alternative.h:8,
  788. from ./arch/x86/include/asm/bitops.h:16,
  789. from include/linux/bitops.h:36,
  790. from include/linux/kernel.h:10,
  791. from include/linux/list.h:8,
  792. from include/linux/preempt.h:10,
  793. from include/linux/spinlock.h:50,
  794. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  795. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  796. ./arch/x86/include/asm/pgtable_64_types.h:49:0: note: this is the location of the previous definition
  797. #define PMD_MASK (~(PMD_SIZE - 1))
  798. ^
  799. In file included from ./arch/x86/include/asm/ptrace.h:71:0,
  800. from ./arch/x86/include/asm/alternative.h:8,
  801. from ./arch/x86/include/asm/bitops.h:16,
  802. from include/linux/bitops.h:36,
  803. from include/linux/kernel.h:10,
  804. from include/linux/list.h:8,
  805. from include/linux/preempt.h:10,
  806. from include/linux/spinlock.h:50,
  807. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  808. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  809. ./arch/x86/include/asm/paravirt_types.h:295:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  810. #if CONFIG_PGTABLE_LEVELS >= 3
  811. ^
  812. In file included from ./arch/x86/include/asm/msr.h:167:0,
  813. from ./arch/x86/include/asm/processor.h:20,
  814. from ./arch/x86/include/asm/thread_info.h:52,
  815. from include/linux/thread_info.h:54,
  816. from ./arch/x86/include/asm/preempt.h:6,
  817. from include/linux/preempt.h:59,
  818. from include/linux/spinlock.h:50,
  819. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  820. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  821. ./arch/x86/include/asm/paravirt.h:518:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  822. #if CONFIG_PGTABLE_LEVELS >= 3
  823. ^
  824. In file included from ./arch/x86/include/asm/apic.h:12:0,
  825. from ./arch/x86/include/asm/smp.h:12,
  826. from ./arch/x86/include/asm/mmzone_64.h:10,
  827. from ./arch/x86/include/asm/mmzone.h:4,
  828. from include/linux/mmzone.h:856,
  829. from include/linux/gfp.h:5,
  830. from include/linux/slab.h:14,
  831. from /tmp/vbox.0/linux/../SUPDrvInternal.h:77,
  832. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  833. ./arch/x86/include/asm/fixmap.h:73:2: warning: left shift count >= width of type [enabled by default]
  834. VSYSCALL_PAGE = (FIXADDR_TOP - VSYSCALL_ADDR) >> PAGE_SHIFT,
  835. ^
  836. ./arch/x86/include/asm/fixmap.h:73:2: error: enumerator value for 'VSYSCALL_PAGE' is not an integer constant
  837. In file included from ./arch/x86/include/asm/fixmap.h:161:0,
  838. from ./arch/x86/include/asm/apic.h:12,
  839. from ./arch/x86/include/asm/smp.h:12,
  840. from ./arch/x86/include/asm/mmzone_64.h:10,
  841. from ./arch/x86/include/asm/mmzone.h:4,
  842. from include/linux/mmzone.h:856,
  843. from include/linux/gfp.h:5,
  844. from include/linux/slab.h:14,
  845. from /tmp/vbox.0/linux/../SUPDrvInternal.h:77,
  846. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  847. include/asm-generic/fixmap.h: In function 'fix_to_virt':
  848. include/asm-generic/fixmap.h:32:2: warning: left shift count >= width of type [enabled by default]
  849. return __fix_to_virt(idx);
  850. ^
  851. include/asm-generic/fixmap.h: In function 'virt_to_fix':
  852. include/asm-generic/fixmap.h:37:2: warning: left shift count >= width of type [enabled by default]
  853. BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START);
  854. ^
  855. include/asm-generic/fixmap.h:37:2: warning: left shift count >= width of type [enabled by default]
  856. include/asm-generic/fixmap.h:38:2: warning: left shift count >= width of type [enabled by default]
  857. return __virt_to_fix(vaddr);
  858. ^
  859. In file included from ./arch/x86/include/asm/vdso.h:10:0,
  860. from ./arch/x86/include/asm/elf.h:76,
  861. from include/linux/elf.h:4,
  862. from include/linux/module.h:15,
  863. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
  864. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  865. include/linux/mm_types.h: At top level:
  866. include/linux/mm_types.h:409:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  867. #if CONFIG_PGTABLE_LEVELS > 2
  868. ^
  869. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  870. from include/linux/mm.h:55,
  871. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  872. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  873. ./arch/x86/include/asm/pgtable_64.h:32:0: warning: "pmd_ERROR" redefined [enabled by default]
  874. #define pmd_ERROR(e) \
  875. ^
  876. In file included from ./arch/x86/include/asm/pgtable_types.h:271:0,
  877. from ./arch/x86/include/asm/paravirt_types.h:44,
  878. from ./arch/x86/include/asm/ptrace.h:71,
  879. from ./arch/x86/include/asm/alternative.h:8,
  880. from ./arch/x86/include/asm/bitops.h:16,
  881. from include/linux/bitops.h:36,
  882. from include/linux/kernel.h:10,
  883. from include/linux/list.h:8,
  884. from include/linux/preempt.h:10,
  885. from include/linux/spinlock.h:50,
  886. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  887. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  888. include/asm-generic/pgtable-nopmd.h:33:0: note: this is the location of the previous definition
  889. #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
  890. ^
  891. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  892. from include/linux/mm.h:55,
  893. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  894. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  895. ./arch/x86/include/asm/pgtable_64.h:35:0: warning: "pud_ERROR" redefined [enabled by default]
  896. #define pud_ERROR(e) \
  897. ^
  898. In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
  899. from ./arch/x86/include/asm/paravirt_types.h:44,
  900. from ./arch/x86/include/asm/ptrace.h:71,
  901. from ./arch/x86/include/asm/alternative.h:8,
  902. from ./arch/x86/include/asm/bitops.h:16,
  903. from include/linux/bitops.h:36,
  904. from include/linux/kernel.h:10,
  905. from include/linux/list.h:8,
  906. from include/linux/preempt.h:10,
  907. from include/linux/spinlock.h:50,
  908. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  909. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  910. include/asm-generic/pgtable-nopud.h:29:0: note: this is the location of the previous definition
  911. #define pud_ERROR(pud) (pgd_ERROR((pud).pgd))
  912. ^
  913. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  914. from include/linux/mm.h:55,
  915. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  916. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  917. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pmd_clear':
  918. ./arch/x86/include/asm/pgtable_64.h:70:2: error: implicit declaration of function 'native_make_pmd' [-Werror=implicit-function-declaration]
  919. native_set_pmd(pmd, native_make_pmd(0));
  920. ^
  921. ./arch/x86/include/asm/pgtable_64.h:70:2: error: incompatible type for argument 2 of 'native_set_pmd'
  922. ./arch/x86/include/asm/pgtable_64.h:63:20: note: expected 'pmd_t' but argument is of type 'int'
  923. static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
  924. ^
  925. In file included from ./arch/x86/include/asm/atomic.h:8:0,
  926. from include/linux/atomic.h:4,
  927. from ./arch/x86/include/asm/thread_info.h:53,
  928. from include/linux/thread_info.h:54,
  929. from ./arch/x86/include/asm/preempt.h:6,
  930. from include/linux/preempt.h:59,
  931. from include/linux/spinlock.h:50,
  932. from /tmp/vbox.0/linux/../SUPDrvInternal.h:76,
  933. from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
  934. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pmdp_get_and_clear':
  935. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  936. return native_make_pmd(xchg(&xp->pmd, 0));
  937. ^
  938. ./arch/x86/include/asm/cmpxchg.h:42:24: note: in definition of macro '__xchg_op'
  939. __typeof__ (*(ptr)) __ret = (arg); \
  940. ^
  941. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  942. return native_make_pmd(xchg(&xp->pmd, 0));
  943. ^
  944. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  945. return native_make_pmd(xchg(&xp->pmd, 0));
  946. ^
  947. ./arch/x86/include/asm/cmpxchg.h:43:20: note: in definition of macro '__xchg_op'
  948. switch (sizeof(*(ptr))) { \
  949. ^
  950. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  951. return native_make_pmd(xchg(&xp->pmd, 0));
  952. ^
  953. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  954. return native_make_pmd(xchg(&xp->pmd, 0));
  955. ^
  956. ./arch/x86/include/asm/cmpxchg.h:46:35: note: in definition of macro '__xchg_op'
  957. : "+q" (__ret), "+m" (*(ptr)) \
  958. ^
  959. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  960. return native_make_pmd(xchg(&xp->pmd, 0));
  961. ^
  962. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  963. return native_make_pmd(xchg(&xp->pmd, 0));
  964. ^
  965. ./arch/x86/include/asm/cmpxchg.h:51:35: note: in definition of macro '__xchg_op'
  966. : "+r" (__ret), "+m" (*(ptr)) \
  967. ^
  968. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  969. return native_make_pmd(xchg(&xp->pmd, 0));
  970. ^
  971. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  972. return native_make_pmd(xchg(&xp->pmd, 0));
  973. ^
  974. ./arch/x86/include/asm/cmpxchg.h:56:35: note: in definition of macro '__xchg_op'
  975. : "+r" (__ret), "+m" (*(ptr)) \
  976. ^
  977. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  978. return native_make_pmd(xchg(&xp->pmd, 0));
  979. ^
  980. ./arch/x86/include/asm/pgtable_64.h:89:33: error: 'pmd_t' has no member named 'pmd'
  981. return native_make_pmd(xchg(&xp->pmd, 0));
  982. ^
  983. ./arch/x86/include/asm/cmpxchg.h:61:35: note: in definition of macro '__xchg_op'
  984. : "+r" (__ret), "+m" (*(ptr)) \
  985. ^
  986. ./arch/x86/include/asm/pgtable_64.h:89:25: note: in expansion of macro 'xchg'
  987. return native_make_pmd(xchg(&xp->pmd, 0));
  988. ^
  989. In file included from ./arch/x86/include/asm/pgtable.h:444:0,
  990. from include/linux/mm.h:55,
  991. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  992. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  993. ./arch/x86/include/asm/pgtable_64.h:89:2: error: incompatible types when returning type 'int' but 'pmd_t' was expected
  994. return native_make_pmd(xchg(&xp->pmd, 0));
  995. ^
  996. ./arch/x86/include/asm/pgtable_64.h: In function 'native_pud_clear':
  997. ./arch/x86/include/asm/pgtable_64.h:106:2: error: implicit declaration of function 'native_make_pud' [-Werror=implicit-function-declaration]
  998. native_set_pud(pud, native_make_pud(0));
  999. ^
  1000. ./arch/x86/include/asm/pgtable_64.h:106:2: error: incompatible type for argument 2 of 'native_set_pud'
  1001. ./arch/x86/include/asm/pgtable_64.h:99:20: note: expected 'pud_t' but argument is of type 'int'
  1002. static inline void native_set_pud(pud_t *pudp, pud_t pud)
  1003. ^
  1004. In file included from include/linux/mm.h:55:0,
  1005. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  1006. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  1007. ./arch/x86/include/asm/pgtable.h: At top level:
  1008. ./arch/x86/include/asm/pgtable.h:580:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  1009. #if CONFIG_PGTABLE_LEVELS > 2
  1010. ^
  1011. ./arch/x86/include/asm/pgtable.h:626:5: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  1012. #if CONFIG_PGTABLE_LEVELS > 3
  1013. ^
  1014. In file included from ./arch/x86/include/asm/pgtable.h:905:0,
  1015. from include/linux/mm.h:55,
  1016. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  1017. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  1018. include/asm-generic/pgtable.h:12:2: warning: "CONFIG_PGTABLE_LEVELS" is not defined [-Wundef]
  1019. CONFIG_PGTABLE_LEVELS
  1020. ^
  1021. include/asm-generic/pgtable.h:13:2: error: #error CONFIG_PGTABLE_LEVELS is not consistent with __PAGETABLE_{PUD,PMD}_FOLDED
  1022. #error CONFIG_PGTABLE_LEVELS is not consistent with __PAGETABLE_{PUD,PMD}_FOLDED
  1023. ^
  1024. In file included from include/linux/mm.h:322:0,
  1025. from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98,
  1026. from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
  1027. include/linux/huge_mm.h:123:2: error: #error "hugepages can't be allocated by the buddy allocator"
  1028. #error "hugepages can't be allocated by the buddy allocator"
  1029. ^
  1030. cc1: some warnings being treated as errors
  1031. make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
  1032. make[2]: *** Waiting for unfinished jobs....
  1033. make[1]: *** [_module_/tmp/vbox.0] Error 2
  1034. make: *** [vboxdrv] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement