Advertisement
Guest User

Untitled

a guest
May 10th, 2021
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.14 KB | None | 0 0
  1. In file included from <command-line>:
  2. In function ‘is_spurious_el1_translation_fault’,
  3. inlined from ‘__do_kernel_fault’ at arch/arm64/mm/fault.c:373:6:
  4. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_492’ declared with attribute error: FIELD_GET: mask is not constant
  5. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  6. | ^
  7. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  8. 309 | prefix ## suffix(); \
  9. | ^~~~~~
  10. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  11. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  12. | ^~~~~~~~~~~~~~~~~~~
  13. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  14. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  15. | ^~~~~~~~~~~~~~~~~~
  16. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  17. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  18. | ^~~~~~~~~~~~~~~~
  19. ./include/linux/bitfield.h:108:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  20. 108 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
  21. | ^~~~~~~~~~~~~~~~
  22. arch/arm64/mm/fault.c:282:9: note: in expansion of macro ‘FIELD_GET’
  23. 282 | dfsc = FIELD_GET(SYS_PAR_EL1_FST, par);
  24. | ^~~~~~~~~
  25. make[2]: *** [scripts/Makefile.build:272: arch/arm64/mm/fault.o] Error 1
  26. make[2]: *** Waiting for unfinished jobs....
  27. In file included from ./include/linux/bitops.h:6,
  28. from arch/arm64/kernel/mte.c:6:
  29. arch/arm64/kernel/mte.c: In function ‘mte_init_tags’:
  30. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_536’ declared with attribute error: FIELD_GET: mask is not constant
  31. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  32. | ^
  33. ./include/linux/bits.h:35:36: note: in definition of macro ‘__GENMASK’
  34. 35 | (~UL(0) >> (BITS_PER_LONG - 1 - (h))))
  35. | ^
  36. arch/arm64/kernel/mte.c:105:14: note: in expansion of macro ‘GENMASK’
  37. 105 | u64 incl = GENMASK(FIELD_GET(MTE_TAG_MASK >> MTE_TAG_SHIFT,
  38. | ^~~~~~~
  39. ././include/linux/compiler_types.h:316:2: note: in expansion of macro ‘__compiletime_assert’
  40. 316 | __compiletime_assert(condition, msg, prefix, suffix)
  41. | ^~~~~~~~~~~~~~~~~~~~
  42. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  43. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  44. | ^~~~~~~~~~~~~~~~~~~
  45. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  46. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  47. | ^~~~~~~~~~~~~~~~~~
  48. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  49. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  50. | ^~~~~~~~~~~~~~~~
  51. ./include/linux/bitfield.h:108:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  52. 108 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
  53. | ^~~~~~~~~~~~~~~~
  54. arch/arm64/kernel/mte.c:105:22: note: in expansion of macro ‘FIELD_GET’
  55. 105 | u64 incl = GENMASK(FIELD_GET(MTE_TAG_MASK >> MTE_TAG_SHIFT,
  56. | ^~~~~~~~~
  57. make[2]: *** [scripts/Makefile.build:272: arch/arm64/kernel/mte.o] Error 1
  58. make[1]: *** [scripts/Makefile.build:515: arch/arm64/kernel] Error 2
  59. make[1]: *** Waiting for unfinished jobs....
  60. In file included from ./arch/arm64/include/asm/sysreg.h:12,
  61. from ./arch/arm64/include/asm/cputype.h:144,
  62. from ./arch/arm64/include/asm/cache.h:8,
  63. from ./include/linux/cache.h:6,
  64. from ./include/linux/time.h:5,
  65. from ./include/uapi/linux/timex.h:56,
  66. from ./include/linux/timex.h:56,
  67. from ./include/linux/clocksource.h:13,
  68. from ./include/linux/timekeeper_internal.h:10,
  69. from kernel/time/timekeeping.c:6:
  70. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  71. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  72. | ^
  73. ./include/linux/bits.h:43:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  74. 43 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
  75. | ^~~~~~~~~~~~~~~~~~~
  76. ./include/linux/clocksource.h:142:32: note: in expansion of macro ‘GENMASK_ULL’
  77. 142 | #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
  78. | ^~~~~~~~~~~
  79. kernel/time/timekeeping.c:98:12: note: in expansion of macro ‘CLOCKSOURCE_MASK’
  80. 98 | .mask = CLOCKSOURCE_MASK(64), \
  81. | ^~~~~~~~~~~~~~~~
  82. kernel/time/timekeeping.c:105:13: note: in expansion of macro ‘FAST_TK_INIT’
  83. 105 | .base[0] = FAST_TK_INIT,
  84. | ^~~~~~~~~~~~
  85. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  86. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  87. | ^
  88. ./include/linux/bits.h:43:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  89. 43 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
  90. | ^~~~~~~~~~~~~~~~~~~
  91. ./include/linux/clocksource.h:142:32: note: in expansion of macro ‘GENMASK_ULL’
  92. 142 | #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
  93. | ^~~~~~~~~~~
  94. kernel/time/timekeeping.c:98:12: note: in expansion of macro ‘CLOCKSOURCE_MASK’
  95. 98 | .mask = CLOCKSOURCE_MASK(64), \
  96. | ^~~~~~~~~~~~~~~~
  97. kernel/time/timekeeping.c:106:13: note: in expansion of macro ‘FAST_TK_INIT’
  98. 106 | .base[1] = FAST_TK_INIT,
  99. | ^~~~~~~~~~~~
  100. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  101. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  102. | ^
  103. ./include/linux/bits.h:43:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  104. 43 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
  105. | ^~~~~~~~~~~~~~~~~~~
  106. ./include/linux/clocksource.h:142:32: note: in expansion of macro ‘GENMASK_ULL’
  107. 142 | #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
  108. | ^~~~~~~~~~~
  109. kernel/time/timekeeping.c:98:12: note: in expansion of macro ‘CLOCKSOURCE_MASK’
  110. 98 | .mask = CLOCKSOURCE_MASK(64), \
  111. | ^~~~~~~~~~~~~~~~
  112. kernel/time/timekeeping.c:111:13: note: in expansion of macro ‘FAST_TK_INIT’
  113. 111 | .base[0] = FAST_TK_INIT,
  114. | ^~~~~~~~~~~~
  115. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  116. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  117. | ^
  118. ./include/linux/bits.h:43:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  119. 43 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
  120. | ^~~~~~~~~~~~~~~~~~~
  121. ./include/linux/clocksource.h:142:32: note: in expansion of macro ‘GENMASK_ULL’
  122. 142 | #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
  123. | ^~~~~~~~~~~
  124. kernel/time/timekeeping.c:98:12: note: in expansion of macro ‘CLOCKSOURCE_MASK’
  125. 98 | .mask = CLOCKSOURCE_MASK(64), \
  126. | ^~~~~~~~~~~~~~~~
  127. kernel/time/timekeeping.c:112:13: note: in expansion of macro ‘FAST_TK_INIT’
  128. 112 | .base[1] = FAST_TK_INIT,
  129. | ^~~~~~~~~~~~
  130. make[2]: *** [scripts/Makefile.build:272: kernel/time/timekeeping.o] Error 1
  131. make[2]: *** Waiting for unfinished jobs....
  132. In file included from <command-line>:
  133. In function ‘add_exception_handler’,
  134. inlined from ‘build_insn’ at arch/arm64/net/bpf_jit_comp.c:827:9,
  135. inlined from ‘build_body’ at arch/arm64/net/bpf_jit_comp.c:937:9:
  136. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_579’ declared with attribute error: FIELD_PREP: mask is not constant
  137. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  138. | ^
  139. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  140. 309 | prefix ## suffix(); \
  141. | ^~~~~~
  142. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  143. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  144. | ^~~~~~~~~~~~~~~~~~~
  145. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  146. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  147. | ^~~~~~~~~~~~~~~~~~
  148. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  149. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  150. | ^~~~~~~~~~~~~~~~
  151. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  152. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  153. | ^~~~~~~~~~~~~~~~
  154. arch/arm64/net/bpf_jit_comp.c:413:14: note: in expansion of macro ‘FIELD_PREP’
  155. 413 | ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, offset) |
  156. | ^~~~~~~~~~
  157. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_585’ declared with attribute error: FIELD_PREP: mask is not constant
  158. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  159. | ^
  160. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  161. 309 | prefix ## suffix(); \
  162. | ^~~~~~
  163. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  164. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  165. | ^~~~~~~~~~~~~~~~~~~
  166. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  167. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  168. | ^~~~~~~~~~~~~~~~~~
  169. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  170. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  171. | ^~~~~~~~~~~~~~~~
  172. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  173. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  174. | ^~~~~~~~~~~~~~~~
  175. arch/arm64/net/bpf_jit_comp.c:414:7: note: in expansion of macro ‘FIELD_PREP’
  176. 414 | FIELD_PREP(BPF_FIXUP_REG_MASK, dst_reg);
  177. | ^~~~~~~~~~
  178. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_573’ declared with attribute error: FIELD_FIT: mask is not constant
  179. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  180. | ^
  181. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  182. 309 | prefix ## suffix(); \
  183. | ^~~~~~
  184. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  185. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  186. | ^~~~~~~~~~~~~~~~~~~
  187. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  188. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  189. | ^~~~~~~~~~~~~~~~~~
  190. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  191. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  192. | ^~~~~~~~~~~~~~~~
  193. ./include/linux/bitfield.h:80:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  194. 80 | __BF_FIELD_CHECK(_mask, 0ULL, 0ULL, "FIELD_FIT: "); \
  195. | ^~~~~~~~~~~~~~~~
  196. arch/arm64/net/bpf_jit_comp.c:410:7: note: in expansion of macro ‘FIELD_FIT’
  197. 410 | if (!FIELD_FIT(BPF_FIXUP_OFFSET_MASK, offset))
  198. | ^~~~~~~~~
  199. arch/arm64/net/bpf_jit_comp.c: In function ‘arm64_bpf_fixup_exception’:
  200. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_561’ declared with attribute error: FIELD_GET: mask is not constant
  201. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  202. | ^
  203. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  204. 309 | prefix ## suffix(); \
  205. | ^~~~~~
  206. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  207. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  208. | ^~~~~~~~~~~~~~~~~~~
  209. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  210. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  211. | ^~~~~~~~~~~~~~~~~~
  212. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  213. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  214. | ^~~~~~~~~~~~~~~~
  215. ./include/linux/bitfield.h:108:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  216. 108 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
  217. | ^~~~~~~~~~~~~~~~
  218. arch/arm64/net/bpf_jit_comp.c:365:17: note: in expansion of macro ‘FIELD_GET’
  219. 365 | off_t offset = FIELD_GET(BPF_FIXUP_OFFSET_MASK, ex->fixup);
  220. | ^~~~~~~~~
  221. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_567’ declared with attribute error: FIELD_GET: mask is not constant
  222. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  223. | ^
  224. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  225. 309 | prefix ## suffix(); \
  226. | ^~~~~~
  227. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  228. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  229. | ^~~~~~~~~~~~~~~~~~~
  230. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  231. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  232. | ^~~~~~~~~~~~~~~~~~
  233. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  234. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  235. | ^~~~~~~~~~~~~~~~
  236. ./include/linux/bitfield.h:108:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  237. 108 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
  238. | ^~~~~~~~~~~~~~~~
  239. arch/arm64/net/bpf_jit_comp.c:366:16: note: in expansion of macro ‘FIELD_GET’
  240. 366 | int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup);
  241. | ^~~~~~~~~
  242. make[2]: *** [scripts/Makefile.build:272: arch/arm64/net/bpf_jit_comp.o] Error 1
  243. make[1]: *** [scripts/Makefile.build:515: arch/arm64/net] Error 2
  244. In file included from ./include/linux/bitops.h:6,
  245. from ./include/linux/kernel.h:12,
  246. from security/selinux/avc.c:15:
  247. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  248. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  249. | ^
  250. ./include/linux/bits.h:37:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  251. 37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  252. | ^~~~~~~~~~~~~~~~~~~
  253. ./include/rdma/ib_verbs.h:1239:29: note: in expansion of macro ‘GENMASK’
  254. 1239 | IB_QP_ATTR_STANDARD_BITS = GENMASK(20, 0),
  255. | ^~~~~~~
  256. make[2]: *** [scripts/Makefile.build:272: security/selinux/avc.o] Error 1
  257. make[1]: *** [scripts/Makefile.build:515: security/selinux] Error 2
  258. make: *** [Makefile:1839: security] Error 2
  259. make: *** Waiting for unfinished jobs....
  260. make[1]: *** [scripts/Makefile.build:515: arch/arm64/mm] Error 2
  261. make: *** [Makefile:1839: arch/arm64] Error 2
  262. In file included from ./arch/arm64/include/asm/sysreg.h:12,
  263. from ./arch/arm64/include/asm/cputype.h:144,
  264. from ./arch/arm64/include/asm/cache.h:8,
  265. from ./include/linux/cache.h:6,
  266. from ./include/linux/time.h:5,
  267. from ./include/uapi/linux/timex.h:56,
  268. from ./include/linux/timex.h:56,
  269. from ./include/linux/clocksource.h:13,
  270. from kernel/time/jiffies.c:7:
  271. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  272. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  273. | ^
  274. ./include/linux/bits.h:43:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  275. 43 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
  276. | ^~~~~~~~~~~~~~~~~~~
  277. ./include/linux/clocksource.h:142:32: note: in expansion of macro ‘GENMASK_ULL’
  278. 142 | #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0)
  279. | ^~~~~~~~~~~
  280. kernel/time/jiffies.c:55:11: note: in expansion of macro ‘CLOCKSOURCE_MASK’
  281. 55 | .mask = CLOCKSOURCE_MASK(32),
  282. | ^~~~~~~~~~~~~~~~
  283. make[2]: *** [scripts/Makefile.build:272: kernel/time/jiffies.o] Error 1
  284. make[1]: *** [scripts/Makefile.build:515: kernel/time] Error 2
  285. make: *** [Makefile:1839: kernel] Error 2
  286. In file included from <command-line>:
  287. In function ‘__flush_tlb_range’,
  288. inlined from ‘tlb_flush’ at ./arch/arm64/include/asm/tlb.h:67:2:
  289. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_313’ declared with attribute error: FIELD_PREP: mask is not constant
  290. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  291. | ^
  292. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  293. 309 | prefix ## suffix(); \
  294. | ^~~~~~
  295. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  296. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  297. | ^~~~~~~~~~~~~~~~~~~
  298. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  299. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  300. | ^~~~~~~~~~~~~~~~~~
  301. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  302. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  303. | ^~~~~~~~~~~~~~~~
  304. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  305. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  306. | ^~~~~~~~~~~~~~~~
  307. ./arch/arm64/include/asm/tlbflush.h:112:10: note: in expansion of macro ‘FIELD_PREP’
  308. 112 | arg |= FIELD_PREP(TLBI_TTL_MASK, ttl); \
  309. | ^~~~~~~~~~
  310. ./arch/arm64/include/asm/tlbflush.h:332:5: note: in expansion of macro ‘__tlbi_level’
  311. 332 | __tlbi_level(vale1is, addr, tlb_level);
  312. | ^~~~~~~~~~~~
  313. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_320’ declared with attribute error: FIELD_PREP: mask is not constant
  314. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  315. | ^
  316. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  317. 309 | prefix ## suffix(); \
  318. | ^~~~~~
  319. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  320. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  321. | ^~~~~~~~~~~~~~~~~~~
  322. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  323. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  324. | ^~~~~~~~~~~~~~~~~~
  325. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  326. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  327. | ^~~~~~~~~~~~~~~~
  328. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  329. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  330. | ^~~~~~~~~~~~~~~~
  331. ./arch/arm64/include/asm/tlbflush.h:112:10: note: in expansion of macro ‘FIELD_PREP’
  332. 112 | arg |= FIELD_PREP(TLBI_TTL_MASK, ttl); \
  333. | ^~~~~~~~~~
  334. ./arch/arm64/include/asm/tlbflush.h:120:3: note: in expansion of macro ‘__tlbi_level’
  335. 120 | __tlbi_level(op, (arg | USER_ASID_FLAG), level); \
  336. | ^~~~~~~~~~~~
  337. ./arch/arm64/include/asm/tlbflush.h:333:5: note: in expansion of macro ‘__tlbi_user_level’
  338. 333 | __tlbi_user_level(vale1is, addr, tlb_level);
  339. | ^~~~~~~~~~~~~~~~~
  340. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_327’ declared with attribute error: FIELD_PREP: mask is not constant
  341. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  342. | ^
  343. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  344. 309 | prefix ## suffix(); \
  345. | ^~~~~~
  346. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  347. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  348. | ^~~~~~~~~~~~~~~~~~~
  349. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  350. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  351. | ^~~~~~~~~~~~~~~~~~
  352. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  353. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  354. | ^~~~~~~~~~~~~~~~
  355. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  356. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  357. | ^~~~~~~~~~~~~~~~
  358. ./arch/arm64/include/asm/tlbflush.h:112:10: note: in expansion of macro ‘FIELD_PREP’
  359. 112 | arg |= FIELD_PREP(TLBI_TTL_MASK, ttl); \
  360. | ^~~~~~~~~~
  361. ./arch/arm64/include/asm/tlbflush.h:335:5: note: in expansion of macro ‘__tlbi_level’
  362. 335 | __tlbi_level(vae1is, addr, tlb_level);
  363. | ^~~~~~~~~~~~
  364. ././include/linux/compiler_types.h:328:38: error: call to ‘__compiletime_assert_334’ declared with attribute error: FIELD_PREP: mask is not constant
  365. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  366. | ^
  367. ././include/linux/compiler_types.h:309:4: note: in definition of macro ‘__compiletime_assert’
  368. 309 | prefix ## suffix(); \
  369. | ^~~~~~
  370. ././include/linux/compiler_types.h:328:2: note: in expansion of macro ‘_compiletime_assert’
  371. 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
  372. | ^~~~~~~~~~~~~~~~~~~
  373. ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
  374. 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
  375. | ^~~~~~~~~~~~~~~~~~
  376. ./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  377. 46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
  378. | ^~~~~~~~~~~~~~~~
  379. ./include/linux/bitfield.h:94:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
  380. 94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \
  381. | ^~~~~~~~~~~~~~~~
  382. ./arch/arm64/include/asm/tlbflush.h:112:10: note: in expansion of macro ‘FIELD_PREP’
  383. 112 | arg |= FIELD_PREP(TLBI_TTL_MASK, ttl); \
  384. | ^~~~~~~~~~
  385. ./arch/arm64/include/asm/tlbflush.h:120:3: note: in expansion of macro ‘__tlbi_level’
  386. 120 | __tlbi_level(op, (arg | USER_ASID_FLAG), level); \
  387. | ^~~~~~~~~~~~
  388. ./arch/arm64/include/asm/tlbflush.h:336:5: note: in expansion of macro ‘__tlbi_user_level’
  389. 336 | __tlbi_user_level(vae1is, addr, tlb_level);
  390. | ^~~~~~~~~~~~~~~~~
  391. make[1]: *** [scripts/Makefile.build:272: mm/memory.o] Error 1
  392. make: *** [Makefile:1839: mm] Error 2
  393. In file included from ./include/linux/bitops.h:6,
  394. from ./include/linux/kernel.h:12,
  395. from ./include/linux/list.h:9,
  396. from ./include/linux/rculist.h:10,
  397. from ./include/linux/pid.h:5,
  398. from ./include/linux/sched.h:14,
  399. from ./include/linux/blkdev.h:5,
  400. from ./include/linux/blk-mq.h:5,
  401. from block/blk-mq-rdma.c:5:
  402. ./include/linux/bits.h:24:2: error: braced-group within expression allowed only inside a function
  403. 24 | ({ BUILD_BUG_ON(__builtin_constant_p((l) > (h)) && ((l) > (h))); 0; })
  404. | ^
  405. ./include/linux/bits.h:37:3: note: in expansion of macro ‘GENMASK_INPUT_CHECK’
  406. 37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  407. | ^~~~~~~~~~~~~~~~~~~
  408. ./include/rdma/ib_verbs.h:1239:29: note: in expansion of macro ‘GENMASK’
  409. 1239 | IB_QP_ATTR_STANDARD_BITS = GENMASK(20, 0),
  410. | ^~~~~~~
  411. make[1]: *** [scripts/Makefile.build:272: block/blk-mq-rdma.o] Error 1
  412. make[1]: *** Waiting for unfinished jobs....
  413. make[2]: *** [scripts/Makefile.build:272: block/partitions/ultrix.o] Interrupt
  414. make[2]: *** [scripts/Makefile.build:272: block/partitions/efi.o] Interrupt
  415. make[2]: *** [scripts/Makefile.build:272: block/partitions/ldm.o] Interrupt
  416. make[2]: *** [scripts/Makefile.build:272: block/partitions/osf.o] Interrupt
  417. make[2]: *** [scripts/Makefile.build:272: block/partitions/sun.o] Interrupt
  418. make[2]: *** [scripts/Makefile.build:272: block/partitions/msdos.o] Interrupt
  419. make[2]: *** [scripts/Makefile.build:272: block/partitions/sgi.o] Interrupt
  420. make[1]: *** [scripts/Makefile.build:515: block/partitions] Interrupt
  421. make[1]: *** [scripts/Makefile.build:272: block/sed-opal.o] Interrupt
  422. make: *** [Makefile:1839: block] Interrupt
  423.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement