nareshkamboju

kernel compilation failed on hikey

Jan 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.40 KB | None | 0 0
  1. root@linaro-alip:/home/linaro/kernel-build/kernel-compilation_12923128-fe05-4654-842b-ae6ea3768569/automated/linux/kernel-compilation/output/linux-4.9.4# make Image
  2. CHK include/config/kernel.release
  3. CHK include/generated/uapi/linux/version.h
  4. CHK include/generated/utsrelease.h
  5. CC kernel/bounds.s
  6. In file included from ./include/uapi/linux/stddef.h:1:0,
  7. from ./include/linux/stddef.h:4,
  8. from ./include/uapi/linux/posix_types.h:4,
  9. from ./include/uapi/linux/types.h:13,
  10. from ./include/linux/types.h:5,
  11. from ./include/linux/page-flags.h:8,
  12. from kernel/bounds.c:9:
  13. ./include/linux/compiler.h: In function ‘__read_once_size’:
  14. ./include/linux/compiler.h:229:12: error: ‘__u8’ undeclared (first use in this function)
  15. case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
  16. ^
  17. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  18. __READ_ONCE_SIZE;
  19. ^
  20. ./include/linux/compiler.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
  21. case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
  22. ^
  23. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  24. __READ_ONCE_SIZE;
  25. ^
  26. ./include/linux/compiler.h:229:18: error: expected expression before ‘)’ token
  27. case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
  28. ^
  29. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  30. __READ_ONCE_SIZE;
  31. ^
  32. ./include/linux/compiler.h:230:12: error: ‘__u16’ undeclared (first use in this function)
  33. case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
  34. ^
  35. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  36. __READ_ONCE_SIZE;
  37. ^
  38. ./include/linux/compiler.h:230:19: error: expected expression before ‘)’ token
  39. case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
  40. ^
  41. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  42. __READ_ONCE_SIZE;
  43. ^
  44. ./include/linux/compiler.h:231:12: error: ‘__u32’ undeclared (first use in this function)
  45. case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
  46. ^
  47. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  48. __READ_ONCE_SIZE;
  49. ^
  50. ./include/linux/compiler.h:231:19: error: expected expression before ‘)’ token
  51. case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
  52. ^
  53. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  54. __READ_ONCE_SIZE;
  55. ^
  56. ./include/linux/compiler.h:232:12: error: ‘__u64’ undeclared (first use in this function)
  57. case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
  58. ^
  59. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  60. __READ_ONCE_SIZE;
  61. ^
  62. ./include/linux/compiler.h:232:19: error: expected expression before ‘)’ token
  63. case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
  64. ^
  65. ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  66. __READ_ONCE_SIZE;
  67. ^
  68. ./include/linux/compiler.h: In function ‘__read_once_size_nocheck’:
  69. ./include/linux/compiler.h:229:12: error: ‘__u8’ undeclared (first use in this function)
  70. case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
  71. ^
  72. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  73. __READ_ONCE_SIZE;
  74. ^
  75. ./include/linux/compiler.h:229:18: error: expected expression before ‘)’ token
  76. case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
  77. ^
  78. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  79. __READ_ONCE_SIZE;
  80. ^
  81. ./include/linux/compiler.h:230:12: error: ‘__u16’ undeclared (first use in this function)
  82. case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
  83. ^
  84. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  85. __READ_ONCE_SIZE;
  86. ^
  87. ./include/linux/compiler.h:230:19: error: expected expression before ‘)’ token
  88. case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
  89. ^
  90. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  91. __READ_ONCE_SIZE;
  92. ^
  93. ./include/linux/compiler.h:231:12: error: ‘__u32’ undeclared (first use in this function)
  94. case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
  95. ^
  96. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  97. __READ_ONCE_SIZE;
  98. ^
  99. ./include/linux/compiler.h:231:19: error: expected expression before ‘)’ token
  100. case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
  101. ^
  102. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  103. __READ_ONCE_SIZE;
  104. ^
  105. ./include/linux/compiler.h:232:12: error: ‘__u64’ undeclared (first use in this function)
  106. case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
  107. ^
  108. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  109. __READ_ONCE_SIZE;
  110. ^
  111. ./include/linux/compiler.h:232:19: error: expected expression before ‘)’ token
  112. case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
  113. ^
  114. ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
  115. __READ_ONCE_SIZE;
  116. ^
  117. ./include/linux/compiler.h: In function ‘__write_once_size’:
  118. ./include/linux/compiler.h:269:21: error: unknown type name ‘__u8’
  119. case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
  120. ^
  121. ./include/linux/compiler.h:269:34: error: ‘__u8’ undeclared (first use in this function)
  122. case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
  123. ^
  124. ./include/linux/compiler.h:269:40: error: expected expression before ‘)’ token
  125. case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
  126. ^
  127. ./include/linux/compiler.h:270:21: error: unknown type name ‘__u16’
  128. case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
  129. ^
  130. ./include/linux/compiler.h:270:35: error: ‘__u16’ undeclared (first use in this function)
  131. case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
  132. ^
  133. ./include/linux/compiler.h:270:42: error: expected expression before ‘)’ token
  134. case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
  135. ^
  136. ./include/linux/compiler.h:271:21: error: unknown type name ‘__u32’
  137. case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
  138. ^
  139. ./include/linux/compiler.h:271:35: error: ‘__u32’ undeclared (first use in this function)
  140. case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
  141. ^
  142. ./include/linux/compiler.h:271:42: error: expected expression before ‘)’ token
  143. case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
  144. ^
  145. ./include/linux/compiler.h:272:21: error: unknown type name ‘__u64’
  146. case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
  147. ^
  148. ./include/linux/compiler.h:272:35: error: ‘__u64’ undeclared (first use in this function)
  149. case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
  150. ^
  151. ./include/linux/compiler.h:272:42: error: expected expression before ‘)’ token
  152. case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
  153. ^
  154. In file included from ./include/linux/types.h:5:0,
  155. from ./include/linux/page-flags.h:8,
  156. from kernel/bounds.c:9:
  157. ./include/uapi/linux/types.h: At top level:
  158. ./include/uapi/linux/types.h:32:9: error: unknown type name ‘__u16’
  159. typedef __u16 __bitwise __le16;
  160. ^
  161. ./include/uapi/linux/types.h:33:9: error: unknown type name ‘__u16’
  162. typedef __u16 __bitwise __be16;
  163. ^
  164. ./include/uapi/linux/types.h:34:9: error: unknown type name ‘__u32’
  165. typedef __u32 __bitwise __le32;
  166. ^
  167. ./include/uapi/linux/types.h:35:9: error: unknown type name ‘__u32’
  168. typedef __u32 __bitwise __be32;
  169. ^
  170. ./include/uapi/linux/types.h:36:9: error: unknown type name ‘__u64’
  171. typedef __u64 __bitwise __le64;
  172. ^
  173. ./include/uapi/linux/types.h:37:9: error: unknown type name ‘__u64’
  174. typedef __u64 __bitwise __be64;
  175. ^
  176. ./include/uapi/linux/types.h:39:9: error: unknown type name ‘__u16’
  177. typedef __u16 __bitwise __sum16;
  178. ^
  179. ./include/uapi/linux/types.h:40:9: error: unknown type name ‘__u32’
  180. typedef __u32 __bitwise __wsum;
  181. ^
  182. In file included from ./include/linux/page-flags.h:8:0,
  183. from kernel/bounds.c:9:
  184. ./include/linux/types.h:12:9: error: unknown type name ‘__u32’
  185. typedef __u32 __kernel_dev_t;
  186. ^
  187. ./include/linux/types.h:19:9: error: unknown type name ‘__u32’
  188. typedef __u32 nlink_t;
  189. ^
  190. ./include/linux/types.h:97:10: error: unknown type name ‘__u8’
  191. typedef __u8 u_int8_t;
  192. ^
  193. ./include/linux/types.h:98:10: error: unknown type name ‘__s8’
  194. typedef __s8 int8_t;
  195. ^
  196. ./include/linux/types.h:99:10: error: unknown type name ‘__u16’
  197. typedef __u16 u_int16_t;
  198. ^
  199. ./include/linux/types.h:100:10: error: unknown type name ‘__s16’
  200. typedef __s16 int16_t;
  201. ^
  202. ./include/linux/types.h:101:10: error: unknown type name ‘__u32’
  203. typedef __u32 u_int32_t;
  204. ^
  205. ./include/linux/types.h:102:10: error: unknown type name ‘__s32’
  206. typedef __s32 int32_t;
  207. ^
  208. ./include/linux/types.h:106:10: error: unknown type name ‘__u8’
  209. typedef __u8 uint8_t;
  210. ^
  211. ./include/linux/types.h:107:10: error: unknown type name ‘__u16’
  212. typedef __u16 uint16_t;
  213. ^
  214. ./include/linux/types.h:108:10: error: unknown type name ‘__u32’
  215. typedef __u32 uint32_t;
  216. ^
  217. ./include/linux/types.h:111:10: error: unknown type name ‘__u64’
  218. typedef __u64 uint64_t;
  219. ^
  220. ./include/linux/types.h:112:10: error: unknown type name ‘__u64’
  221. typedef __u64 u_int64_t;
  222. ^
  223. ./include/linux/types.h:113:10: error: unknown type name ‘__s64’
  224. typedef __s64 int64_t;
  225. ^
  226. ./include/linux/types.h:152:9: error: unknown type name ‘u64’
  227. typedef u64 dma_addr_t;
  228. ^
  229. ./include/linux/types.h:161:9: error: unknown type name ‘u64’
  230. typedef u64 phys_addr_t;
  231. ^
  232. ./include/linux/types.h:232:9: error: unknown type name ‘u64’
  233. typedef u64 cycle_t;
  234. ^
  235. In file included from ./include/linux/kernel.h:10:0,
  236. from ./include/asm-generic/bug.h:13,
  237. from ./arch/arm64/include/asm/bug.h:62,
  238. from ./include/linux/bug.h:4,
  239. from ./include/linux/page-flags.h:9,
  240. from kernel/bounds.c:9:
  241. ./include/linux/bitops.h:30:37: error: unknown type name ‘__u64’
  242. extern unsigned long __sw_hweight64(__u64 w);
  243. ^
  244. In file included from ./arch/arm64/include/asm/bitops.h:42:0,
  245. from ./include/linux/bitops.h:36,
  246. from ./include/linux/kernel.h:10,
  247. from ./include/asm-generic/bug.h:13,
  248. from ./arch/arm64/include/asm/bug.h:62,
  249. from ./include/linux/bug.h:4,
  250. from ./include/linux/page-flags.h:9,
  251. from kernel/bounds.c:9:
  252. ./include/asm-generic/bitops/fls64.h:26:34: error: unknown type name ‘__u64’
  253. static __always_inline int fls64(__u64 x)
  254. ^
  255. In file included from ./include/asm-generic/bitops/hweight.h:4:0,
  256. from ./arch/arm64/include/asm/bitops.h:46,
  257. from ./include/linux/bitops.h:36,
  258. from ./include/linux/kernel.h:10,
  259. from ./include/asm-generic/bug.h:13,
  260. from ./arch/arm64/include/asm/bug.h:62,
  261. from ./include/linux/bug.h:4,
  262. from ./include/linux/page-flags.h:9,
  263. from kernel/bounds.c:9:
  264. ./include/asm-generic/bitops/arch_hweight.h:21:46: error: unknown type name ‘__u64’
  265. static inline unsigned long __arch_hweight64(__u64 w)
  266. ^
  267. In file included from ./include/linux/swab.h:4:0,
  268. from ./include/uapi/linux/byteorder/little_endian.h:12,
  269. from ./include/linux/byteorder/little_endian.h:4,
  270. from ./arch/arm64/include/uapi/asm/byteorder.h:22,
  271. from ./include/asm-generic/bitops/le.h:5,
  272. from ./arch/arm64/include/asm/bitops.h:50,
  273. from ./include/linux/bitops.h:36,
  274. from ./include/linux/kernel.h:10,
  275. from ./include/asm-generic/bug.h:13,
  276. from ./arch/arm64/include/asm/bug.h:62,
  277. from ./include/linux/bug.h:4,
  278. from ./include/linux/page-flags.h:9,
  279. from kernel/bounds.c:9:
  280. ./include/uapi/linux/swab.h:46:35: error: unknown type name ‘__u16’
  281. static inline __attribute_const__ __u16 __fswab16(__u16 val)
  282. ^
  283. ./include/uapi/linux/swab.h:46:51: error: unknown type name ‘__u16’
  284. static inline __attribute_const__ __u16 __fswab16(__u16 val)
  285. ^
  286. ./include/uapi/linux/swab.h:55:35: error: unknown type name ‘__u32’
  287. static inline __attribute_const__ __u32 __fswab32(__u32 val)
  288. ^
  289. ./include/uapi/linux/swab.h:55:51: error: unknown type name ‘__u32’
  290. static inline __attribute_const__ __u32 __fswab32(__u32 val)
  291. ^
  292. ./include/uapi/linux/swab.h:64:35: error: unknown type name ‘__u64’
  293. static inline __attribute_const__ __u64 __fswab64(__u64 val)
  294. ^
  295. ./include/uapi/linux/swab.h:64:51: error: unknown type name ‘__u64’
  296. static inline __attribute_const__ __u64 __fswab64(__u64 val)
  297. ^
  298. ./include/uapi/linux/swab.h:77:35: error: unknown type name ‘__u32’
  299. static inline __attribute_const__ __u32 __fswahw32(__u32 val)
  300. ^
  301. ./include/uapi/linux/swab.h:77:52: error: unknown type name ‘__u32’
  302. static inline __attribute_const__ __u32 __fswahw32(__u32 val)
  303. ^
  304. ./include/uapi/linux/swab.h:86:35: error: unknown type name ‘__u32’
  305. static inline __attribute_const__ __u32 __fswahb32(__u32 val)
  306. ^
  307. ./include/uapi/linux/swab.h:86:52: error: unknown type name ‘__u32’
  308. static inline __attribute_const__ __u32 __fswahb32(__u32 val)
  309. ^
  310. ./include/uapi/linux/swab.h:160:24: error: unknown type name ‘__u16’
  311. static __always_inline __u16 __swab16p(const __u16 *p)
  312. ^
  313. ./include/uapi/linux/swab.h:160:46: error: unknown type name ‘__u16’
  314. static __always_inline __u16 __swab16p(const __u16 *p)
  315. ^
  316. ./include/uapi/linux/swab.h: In function ‘__swab16p’:
  317. ./include/uapi/linux/swab.h:103:25: error: ‘__u16’ undeclared (first use in this function)
  318. (__builtin_constant_p((__u16)(x)) ? \
  319. ^
  320. ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
  321. return __swab16(*p);
  322. ^
  323. ./include/uapi/linux/swab.h:13:24: error: expected ‘)’ before numeric constant
  324. (((__u16)(x) & (__u16)0x00ffU) << 8) | \
  325. ^
  326. ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
  327. ___constant_swab16(x) : \
  328. ^
  329. ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
  330. return __swab16(*p);
  331. ^
  332. ./include/uapi/linux/swab.h:14:24: error: expected ‘)’ before numeric constant
  333. (((__u16)(x) & (__u16)0xff00U) >> 8)))
  334. ^
  335. ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
  336. ___constant_swab16(x) : \
  337. ^
  338. ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
  339. return __swab16(*p);
  340. ^
  341. ./include/uapi/linux/swab.h:14:24: error: implicit declaration of function ‘__fswab16’ [-Werror=implicit-function-declaration]
  342. (((__u16)(x) & (__u16)0xff00U) >> 8)))
  343. ^
  344. ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
  345. ___constant_swab16(x) : \
  346. ^
  347. ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
  348. return __swab16(*p);
  349. ^
  350. ./include/uapi/linux/swab.h: At top level:
  351. ./include/uapi/linux/swab.h:173:24: error: unknown type name ‘__u32’
  352. static __always_inline __u32 __swab32p(const __u32 *p)
  353. ^
  354. ./include/uapi/linux/swab.h:173:46: error: unknown type name ‘__u32’
  355. static __always_inline __u32 __swab32p(const __u32 *p)
  356. ^
  357. ./include/uapi/linux/swab.h: In function ‘__swab32p’:
  358. ./include/uapi/linux/swab.h:116:25: error: ‘__u32’ undeclared (first use in this function)
  359. (__builtin_constant_p((__u32)(x)) ? \
  360. ^
  361. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  362. return __swab32(*p);
  363. ^
  364. ./include/uapi/linux/swab.h:17:24: error: expected ‘)’ before numeric constant
  365. (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
  366. ^
  367. ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
  368. ___constant_swab32(x) : \
  369. ^
  370. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  371. return __swab32(*p);
  372. ^
  373. ./include/uapi/linux/swab.h:18:24: error: expected ‘)’ before numeric constant
  374. (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
  375. ^
  376. ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
  377. ___constant_swab32(x) : \
  378. ^
  379. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  380. return __swab32(*p);
  381. ^
  382. ./include/uapi/linux/swab.h:19:24: error: expected ‘)’ before numeric constant
  383. (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
  384. ^
  385. ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
  386. ___constant_swab32(x) : \
  387. ^
  388. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  389. return __swab32(*p);
  390. ^
  391. ./include/uapi/linux/swab.h:20:24: error: expected ‘)’ before numeric constant
  392. (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
  393. ^
  394. ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
  395. ___constant_swab32(x) : \
  396. ^
  397. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  398. return __swab32(*p);
  399. ^
  400. ./include/uapi/linux/swab.h:20:24: error: implicit declaration of function ‘__fswab32’ [-Werror=implicit-function-declaration]
  401. (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
  402. ^
  403. ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
  404. ___constant_swab32(x) : \
  405. ^
  406. ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
  407. return __swab32(*p);
  408. ^
  409. ./include/uapi/linux/swab.h: At top level:
  410. ./include/uapi/linux/swab.h:186:24: error: unknown type name ‘__u64’
  411. static __always_inline __u64 __swab64p(const __u64 *p)
  412. ^
  413. ./include/uapi/linux/swab.h:186:46: error: unknown type name ‘__u64’
  414. static __always_inline __u64 __swab64p(const __u64 *p)
  415. ^
  416. ./include/uapi/linux/swab.h: In function ‘__swab64p’:
  417. ./include/uapi/linux/swab.h:129:25: error: ‘__u64’ undeclared (first use in this function)
  418. (__builtin_constant_p((__u64)(x)) ? \
  419. ^
  420. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  421. return __swab64(*p);
  422. ^
  423. ./include/uapi/linux/swab.h:23:24: error: expected ‘)’ before numeric constant
  424. (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
  425. ^
  426. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  427. ___constant_swab64(x) : \
  428. ^
  429. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  430. return __swab64(*p);
  431. ^
  432. ./include/uapi/linux/swab.h:24:24: error: expected ‘)’ before numeric constant
  433. (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
  434. ^
  435. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  436. ___constant_swab64(x) : \
  437. ^
  438. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  439. return __swab64(*p);
  440. ^
  441. ./include/uapi/linux/swab.h:25:24: error: expected ‘)’ before numeric constant
  442. (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
  443. ^
  444. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  445. ___constant_swab64(x) : \
  446. ^
  447. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  448. return __swab64(*p);
  449. ^
  450. ./include/uapi/linux/swab.h:26:24: error: expected ‘)’ before numeric constant
  451. (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
  452. ^
  453. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  454. ___constant_swab64(x) : \
  455. ^
  456. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  457. return __swab64(*p);
  458. ^
  459. ./include/uapi/linux/swab.h:27:24: error: expected ‘)’ before numeric constant
  460. (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
  461. ^
  462. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  463. ___constant_swab64(x) : \
  464. ^
  465. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  466. return __swab64(*p);
  467. ^
  468. ./include/uapi/linux/swab.h:28:24: error: expected ‘)’ before numeric constant
  469. (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
  470. ^
  471. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  472. ___constant_swab64(x) : \
  473. ^
  474. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  475. return __swab64(*p);
  476. ^
  477. ./include/uapi/linux/swab.h:29:24: error: expected ‘)’ before numeric constant
  478. (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
  479. ^
  480. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  481. ___constant_swab64(x) : \
  482. ^
  483. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  484. return __swab64(*p);
  485. ^
  486. ./include/uapi/linux/swab.h:30:24: error: expected ‘)’ before numeric constant
  487. (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
  488. ^
  489. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  490. ___constant_swab64(x) : \
  491. ^
  492. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  493. return __swab64(*p);
  494. ^
  495. ./include/uapi/linux/swab.h:30:24: error: implicit declaration of function ‘__fswab64’ [-Werror=implicit-function-declaration]
  496. (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
  497. ^
  498. ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
  499. ___constant_swab64(x) : \
  500. ^
  501. ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
  502. return __swab64(*p);
  503. ^
  504. ./include/uapi/linux/swab.h: At top level:
  505. ./include/uapi/linux/swab.h:201:15: error: unknown type name ‘__u32’
  506. static inline __u32 __swahw32p(const __u32 *p)
  507. ^
  508. ./include/uapi/linux/swab.h:201:38: error: unknown type name ‘__u32’
  509. static inline __u32 __swahw32p(const __u32 *p)
  510. ^
  511. ./include/uapi/linux/swab.h: In function ‘__swahw32p’:
  512. ./include/uapi/linux/swab.h:141:25: error: ‘__u32’ undeclared (first use in this function)
  513. (__builtin_constant_p((__u32)(x)) ? \
  514. ^
  515. ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
  516. return __swahw32(*p);
  517. ^
  518. ./include/uapi/linux/swab.h:33:24: error: expected ‘)’ before numeric constant
  519. (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
  520. ^
  521. ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
  522. ___constant_swahw32(x) : \
  523. ^
  524. ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
  525. return __swahw32(*p);
  526. ^
  527. ./include/uapi/linux/swab.h:34:24: error: expected ‘)’ before numeric constant
  528. (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
  529. ^
  530. ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
  531. ___constant_swahw32(x) : \
  532. ^
  533. ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
  534. return __swahw32(*p);
  535. ^
  536. ./include/uapi/linux/swab.h:34:24: error: implicit declaration of function ‘__fswahw32’ [-Werror=implicit-function-declaration]
  537. (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
  538. ^
  539. ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
  540. ___constant_swahw32(x) : \
  541. ^
  542. ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
  543. return __swahw32(*p);
  544. ^
  545. ./include/uapi/linux/swab.h: At top level:
  546. ./include/uapi/linux/swab.h:216:15: error: unknown type name ‘__u32’
  547. static inline __u32 __swahb32p(const __u32 *p)
  548. ^
  549. ./include/uapi/linux/swab.h:216:38: error: unknown type name ‘__u32’
  550. static inline __u32 __swahb32p(const __u32 *p)
  551. ^
  552. ./include/uapi/linux/swab.h: In function ‘__swahb32p’:
  553. ./include/uapi/linux/swab.h:152:25: error: ‘__u32’ undeclared (first use in this function)
  554. (__builtin_constant_p((__u32)(x)) ? \
  555. ^
  556. ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
  557. return __swahb32(*p);
  558. ^
  559. ./include/uapi/linux/swab.h:37:24: error: expected ‘)’ before numeric constant
  560. (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
  561. ^
  562. ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
  563. ___constant_swahb32(x) : \
  564. ^
  565. ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
  566. return __swahb32(*p);
  567. ^
  568. ./include/uapi/linux/swab.h:38:24: error: expected ‘)’ before numeric constant
  569. (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
  570. ^
  571. ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
  572. ___constant_swahb32(x) : \
  573. ^
  574. ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
  575. return __swahb32(*p);
  576. ^
  577. ./include/uapi/linux/swab.h:38:24: error: implicit declaration of function ‘__fswahb32’ [-Werror=implicit-function-declaration]
  578. (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
  579. ^
  580. ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
  581. ___constant_swahb32(x) : \
  582. ^
  583. ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
  584. return __swahb32(*p);
  585. ^
  586. ./include/uapi/linux/swab.h: At top level:
  587. ./include/uapi/linux/swab.h:229:30: error: unknown type name ‘__u16’
  588. static inline void __swab16s(__u16 *p)
  589. ^
  590. ./include/uapi/linux/swab.h:241:39: error: unknown type name ‘__u32’
  591. static __always_inline void __swab32s(__u32 *p)
  592. ^
  593. ./include/uapi/linux/swab.h:254:39: error: unknown type name ‘__u64’
  594. static __always_inline void __swab64s(__u64 *p)
  595. ^
  596. ./include/uapi/linux/swab.h:269:31: error: unknown type name ‘__u32’
  597. static inline void __swahw32s(__u32 *p)
  598. ^
  599. ./include/uapi/linux/swab.h:284:31: error: unknown type name ‘__u32’
  600. static inline void __swahb32s(__u32 *p)
  601. ^
  602. In file included from ./include/linux/byteorder/little_endian.h:4:0,
  603. from ./arch/arm64/include/uapi/asm/byteorder.h:22,
  604. from ./include/asm-generic/bitops/le.h:5,
  605. from ./arch/arm64/include/asm/bitops.h:50,
  606. from ./include/linux/bitops.h:36,
  607. from ./include/linux/kernel.h:10,
  608. from ./include/asm-generic/bug.h:13,
  609. from ./arch/arm64/include/asm/bug.h:62,
  610. from ./include/linux/bug.h:4,
  611. from ./include/linux/page-flags.h:9,
  612. from kernel/bounds.c:9:
  613. ./include/uapi/linux/byteorder/little_endian.h:43:52: error: unknown type name ‘__u64’
  614. static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
  615. ^
  616. ./include/uapi/linux/byteorder/little_endian.h:47:24: error: unknown type name ‘__u64’
  617. static __always_inline __u64 __le64_to_cpup(const __le64 *p)
  618. ^
  619. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le64_to_cpup’:
  620. ./include/uapi/linux/byteorder/little_endian.h:49:18: error: ‘__u64’ undeclared (first use in this function)
  621. return (__force __u64)*p;
  622. ^
  623. ./include/uapi/linux/byteorder/little_endian.h: At top level:
  624. ./include/uapi/linux/byteorder/little_endian.h:51:52: error: unknown type name ‘__u32’
  625. static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
  626. ^
  627. ./include/uapi/linux/byteorder/little_endian.h:55:24: error: unknown type name ‘__u32’
  628. static __always_inline __u32 __le32_to_cpup(const __le32 *p)
  629. ^
  630. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’:
  631. ./include/uapi/linux/byteorder/little_endian.h:57:18: error: ‘__u32’ undeclared (first use in this function)
  632. return (__force __u32)*p;
  633. ^
  634. ./include/uapi/linux/byteorder/little_endian.h: At top level:
  635. ./include/uapi/linux/byteorder/little_endian.h:59:52: error: unknown type name ‘__u16’
  636. static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
  637. ^
  638. ./include/uapi/linux/byteorder/little_endian.h:63:24: error: unknown type name ‘__u16’
  639. static __always_inline __u16 __le16_to_cpup(const __le16 *p)
  640. ^
  641. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le16_to_cpup’:
  642. ./include/uapi/linux/byteorder/little_endian.h:65:18: error: ‘__u16’ undeclared (first use in this function)
  643. return (__force __u16)*p;
  644. ^
  645. ./include/uapi/linux/byteorder/little_endian.h: At top level:
  646. ./include/uapi/linux/byteorder/little_endian.h:67:52: error: unknown type name ‘__u64’
  647. static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
  648. ^
  649. ./include/uapi/linux/byteorder/little_endian.h:71:24: error: unknown type name ‘__u64’
  650. static __always_inline __u64 __be64_to_cpup(const __be64 *p)
  651. ^
  652. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be64_to_cpup’:
  653. ./include/uapi/linux/byteorder/little_endian.h:73:20: error: ‘__u64’ undeclared (first use in this function)
  654. return __swab64p((__u64 *)p);
  655. ^
  656. ./include/uapi/linux/byteorder/little_endian.h:73:27: error: expected expression before ‘)’ token
  657. return __swab64p((__u64 *)p);
  658. ^
  659. ./include/uapi/linux/byteorder/little_endian.h: At top level:
  660. ./include/uapi/linux/byteorder/little_endian.h:75:52: error: unknown type name ‘__u32’
  661. static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
  662. ^
  663. ./include/uapi/linux/byteorder/little_endian.h:79:24: error: unknown type name ‘__u32’
  664. static __always_inline __u32 __be32_to_cpup(const __be32 *p)
  665. ^
  666. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be32_to_cpup’:
  667. ./include/uapi/linux/byteorder/little_endian.h:81:20: error: ‘__u32’ undeclared (first use in this function)
  668. return __swab32p((__u32 *)p);
  669. ^
  670. ./include/uapi/linux/byteorder/little_endian.h:81:27: error: expected expression before ‘)’ token
  671. return __swab32p((__u32 *)p);
  672. ^
  673. ./include/uapi/linux/byteorder/little_endian.h: At top level:
  674. ./include/uapi/linux/byteorder/little_endian.h:83:52: error: unknown type name ‘__u16’
  675. static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
  676. ^
  677. ./include/uapi/linux/byteorder/little_endian.h:87:24: error: unknown type name ‘__u16’
  678. static __always_inline __u16 __be16_to_cpup(const __be16 *p)
  679. ^
  680. ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be16_to_cpup’:
  681. ./include/uapi/linux/byteorder/little_endian.h:89:20: error: ‘__u16’ undeclared (first use in this function)
  682. return __swab16p((__u16 *)p);
  683. ^
  684. ./include/uapi/linux/byteorder/little_endian.h:89:27: error: expected expression before ‘)’ token
  685. return __swab16p((__u16 *)p);
  686. ^
  687. In file included from ./include/linux/byteorder/little_endian.h:6:0,
  688. from ./arch/arm64/include/uapi/asm/byteorder.h:22,
  689. from ./include/asm-generic/bitops/le.h:5,
  690. from ./arch/arm64/include/asm/bitops.h:50,
  691. from ./include/linux/bitops.h:36,
  692. from ./include/linux/kernel.h:10,
  693. from ./include/asm-generic/bug.h:13,
  694. from ./arch/arm64/include/asm/bug.h:62,
  695. from ./include/linux/bug.h:4,
  696. from ./include/linux/page-flags.h:9,
  697. from kernel/bounds.c:9:
  698. ./include/linux/byteorder/generic.h: At top level:
  699. ./include/linux/byteorder/generic.h:143:46: error: unknown type name ‘u16’
  700. static inline void le16_add_cpu(__le16 *var, u16 val)
  701. ^
  702. ./include/linux/byteorder/generic.h:148:46: error: unknown type name ‘u32’
  703. static inline void le32_add_cpu(__le32 *var, u32 val)
  704. ^
  705. ./include/linux/byteorder/generic.h:153:46: error: unknown type name ‘u64’
  706. static inline void le64_add_cpu(__le64 *var, u64 val)
  707. ^
  708. ./include/linux/byteorder/generic.h:158:46: error: unknown type name ‘u16’
  709. static inline void be16_add_cpu(__be16 *var, u16 val)
  710. ^
  711. ./include/linux/byteorder/generic.h:163:46: error: unknown type name ‘u32’
  712. static inline void be32_add_cpu(__be32 *var, u32 val)
  713. ^
  714. ./include/linux/byteorder/generic.h:168:46: error: unknown type name ‘u64’
  715. static inline void be64_add_cpu(__be64 *var, u64 val)
  716. ^
  717. In file included from ./include/linux/kernel.h:10:0,
  718. from ./include/asm-generic/bug.h:13,
  719. from ./arch/arm64/include/asm/bug.h:62,
  720. from ./include/linux/bug.h:4,
  721. from ./include/linux/page-flags.h:9,
  722. from kernel/bounds.c:9:
  723. ./include/linux/bitops.h: In function ‘hweight_long’:
  724. ./include/linux/bitops.h:70:2: error: implicit declaration of function ‘__arch_hweight64’ [-Werror=implicit-function-declaration]
  725. return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
  726. ^
  727. ./include/linux/bitops.h: At top level:
  728. ./include/linux/bitops.h:78:15: error: unknown type name ‘__u64’
  729. static inline __u64 rol64(__u64 word, unsigned int shift)
  730. ^
  731. ./include/linux/bitops.h:78:27: error: unknown type name ‘__u64’
  732. static inline __u64 rol64(__u64 word, unsigned int shift)
  733. ^
  734. ./include/linux/bitops.h:88:15: error: unknown type name ‘__u64’
  735. static inline __u64 ror64(__u64 word, unsigned int shift)
  736. ^
  737. ./include/linux/bitops.h:88:27: error: unknown type name ‘__u64’
  738. static inline __u64 ror64(__u64 word, unsigned int shift)
  739. ^
  740. ./include/linux/bitops.h:98:15: error: unknown type name ‘__u32’
  741. static inline __u32 rol32(__u32 word, unsigned int shift)
  742. ^
  743. ./include/linux/bitops.h:98:27: error: unknown type name ‘__u32’
  744. static inline __u32 rol32(__u32 word, unsigned int shift)
  745. ^
  746. ./include/linux/bitops.h:108:15: error: unknown type name ‘__u32’
  747. static inline __u32 ror32(__u32 word, unsigned int shift)
  748. ^
  749. ./include/linux/bitops.h:108:27: error: unknown type name ‘__u32’
  750. static inline __u32 ror32(__u32 word, unsigned int shift)
  751. ^
  752. ./include/linux/bitops.h:118:15: error: unknown type name ‘__u16’
  753. static inline __u16 rol16(__u16 word, unsigned int shift)
  754. ^
  755. ./include/linux/bitops.h:118:27: error: unknown type name ‘__u16’
  756. static inline __u16 rol16(__u16 word, unsigned int shift)
  757. ^
  758. ./include/linux/bitops.h:128:15: error: unknown type name ‘__u16’
  759. static inline __u16 ror16(__u16 word, unsigned int shift)
  760. ^
  761. ./include/linux/bitops.h:128:27: error: unknown type name ‘__u16’
  762. static inline __u16 ror16(__u16 word, unsigned int shift)
  763. ^
  764. ./include/linux/bitops.h:138:15: error: unknown type name ‘__u8’
  765. static inline __u8 rol8(__u8 word, unsigned int shift)
  766. ^
  767. ./include/linux/bitops.h:138:25: error: unknown type name ‘__u8’
  768. static inline __u8 rol8(__u8 word, unsigned int shift)
  769. ^
  770. ./include/linux/bitops.h:148:15: error: unknown type name ‘__u8’
  771. static inline __u8 ror8(__u8 word, unsigned int shift)
  772. ^
  773. ./include/linux/bitops.h:148:25: error: unknown type name ‘__u8’
  774. static inline __u8 ror8(__u8 word, unsigned int shift)
  775. ^
  776. ./include/linux/bitops.h:160:15: error: unknown type name ‘__s32’
  777. static inline __s32 sign_extend32(__u32 value, int index)
  778. ^
  779. ./include/linux/bitops.h:160:35: error: unknown type name ‘__u32’
  780. static inline __s32 sign_extend32(__u32 value, int index)
  781. ^
  782. ./include/linux/bitops.h:171:15: error: unknown type name ‘__s64’
  783. static inline __s64 sign_extend64(__u64 value, int index)
  784. ^
  785. ./include/linux/bitops.h:171:35: error: unknown type name ‘__u64’
  786. static inline __s64 sign_extend64(__u64 value, int index)
  787. ^
  788. ./include/linux/bitops.h: In function ‘fls_long’:
  789. ./include/linux/bitops.h:181:2: error: implicit declaration of function ‘fls64’ [-Werror=implicit-function-declaration]
  790. return fls64(l);
  791. ^
  792. ./include/linux/bitops.h: At top level:
  793. ./include/linux/bitops.h:218:37: error: unknown type name ‘u64’
  794. static inline unsigned long __ffs64(u64 word)
  795. ^
  796. In file included from ./include/linux/kernel.h:11:0,
  797. from ./include/asm-generic/bug.h:13,
  798. from ./arch/arm64/include/asm/bug.h:62,
  799. from ./include/linux/bug.h:4,
  800. from ./include/linux/page-flags.h:9,
  801. from kernel/bounds.c:9:
  802. ./include/linux/log2.h:32:17: error: unknown type name ‘u32’
  803. int __ilog2_u32(u32 n)
  804. ^
  805. ./include/linux/log2.h:40:17: error: unknown type name ‘u64’
  806. int __ilog2_u64(u64 n)
  807. ^
  808. In file included from ./include/uapi/linux/kernel.h:4:0,
  809. from ./include/linux/cache.h:4,
  810. from ./include/linux/printk.h:8,
  811. from ./include/linux/kernel.h:13,
  812. from ./include/asm-generic/bug.h:13,
  813. from ./arch/arm64/include/asm/bug.h:62,
  814. from ./include/linux/bug.h:4,
  815. from ./include/linux/page-flags.h:9,
  816. from kernel/bounds.c:9:
  817. ./include/uapi/linux/sysinfo.h:16:2: error: unknown type name ‘__u16’
  818. __u16 procs; /* Number of current processes */
  819. ^
  820. ./include/uapi/linux/sysinfo.h:17:2: error: unknown type name ‘__u16’
  821. __u16 pad; /* Explicit padding for m68k */
  822. ^
  823. ./include/uapi/linux/sysinfo.h:20:2: error: unknown type name ‘__u32’
  824. __u32 mem_unit; /* Memory unit size in bytes */
  825. ^
  826. ./include/uapi/linux/sysinfo.h:21:47: error: ‘__u32’ undeclared here (not in a function)
  827. char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; /* Padding: libc5 uses this.. */
  828. ^
  829. In file included from ./arch/arm64/include/asm/opcodes.h:5:0,
  830. from ./arch/arm64/include/asm/sysreg.h:25,
  831. from ./arch/arm64/include/asm/cputype.h:94,
  832. from ./arch/arm64/include/asm/cachetype.h:19,
  833. from ./arch/arm64/include/asm/cache.h:19,
  834. from ./include/linux/cache.h:5,
  835. from ./include/linux/printk.h:8,
  836. from ./include/linux/kernel.h:13,
  837. from ./include/asm-generic/bug.h:13,
  838. from ./arch/arm64/include/asm/bug.h:62,
  839. from ./include/linux/bug.h:4,
  840. from ./include/linux/page-flags.h:9,
  841. from kernel/bounds.c:9:
  842. ./arch/arm64/include/../../arm/include/asm/opcodes.h:14:52: error: unknown type name ‘u32’
  843. extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
  844. ^
  845. ./arch/arm64/include/../../arm/include/asm/opcodes.h:14:64: error: unknown type name ‘u32’
  846. extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
  847. ^
  848. In file included from ./arch/arm64/include/asm/cputype.h:94:0,
  849. from ./arch/arm64/include/asm/cachetype.h:19,
  850. from ./arch/arm64/include/asm/cache.h:19,
  851. from ./include/linux/cache.h:5,
  852. from ./include/linux/printk.h:8,
  853. from ./include/linux/kernel.h:13,
  854. from ./include/asm-generic/bug.h:13,
  855. from ./arch/arm64/include/asm/bug.h:62,
  856. from ./include/linux/bug.h:4,
  857. from ./include/linux/page-flags.h:9,
  858. from kernel/bounds.c:9:
  859. ./arch/arm64/include/asm/sysreg.h:292:37: error: unknown type name ‘u32’
  860. static inline void config_sctlr_el1(u32 clear, u32 set)
  861. ^
  862. ./arch/arm64/include/asm/sysreg.h:292:48: error: unknown type name ‘u32’
  863. static inline void config_sctlr_el1(u32 clear, u32 set)
  864. ^
  865. In file included from ./arch/arm64/include/asm/cachetype.h:19:0,
  866. from ./arch/arm64/include/asm/cache.h:19,
  867. from ./include/linux/cache.h:5,
  868. from ./include/linux/printk.h:8,
  869. from ./include/linux/kernel.h:13,
  870. from ./include/asm-generic/bug.h:13,
  871. from ./arch/arm64/include/asm/bug.h:62,
  872. from ./include/linux/bug.h:4,
  873. from ./include/linux/page-flags.h:9,
  874. from kernel/bounds.c:9:
  875. ./arch/arm64/include/asm/cputype.h:103:15: error: type defaults to ‘int’ in declaration of ‘u32’ [-Werror=implicit-int]
  876. static inline u32 __attribute_const__ read_cpuid_id(void)
  877. ^
  878. ./arch/arm64/include/asm/cputype.h:103:15: warning: variable ‘u32’ declared ‘inline’
  879. ./arch/arm64/include/asm/cputype.h:103:1: warning: ‘const’ attribute ignored [-Wattributes]
  880. static inline u32 __attribute_const__ read_cpuid_id(void)
  881. ^
  882. ./arch/arm64/include/asm/cputype.h:103:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
  883. ./arch/arm64/include/asm/cputype.h:103:15: error: ‘no_instrument_function’ attribute applies only to functions
  884. static inline u32 __attribute_const__ read_cpuid_id(void)
  885. ^
  886. ./arch/arm64/include/asm/cputype.h:103:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_id’
  887. static inline u32 __attribute_const__ read_cpuid_id(void)
  888. ^
  889. ./arch/arm64/include/asm/cputype.h:108:15: error: type defaults to ‘int’ in declaration of ‘u64’ [-Werror=implicit-int]
  890. static inline u64 __attribute_const__ read_cpuid_mpidr(void)
  891. ^
  892. ./arch/arm64/include/asm/cputype.h:108:15: warning: variable ‘u64’ declared ‘inline’
  893. ./arch/arm64/include/asm/cputype.h:108:1: warning: ‘const’ attribute ignored [-Wattributes]
  894. static inline u64 __attribute_const__ read_cpuid_mpidr(void)
  895. ^
  896. ./arch/arm64/include/asm/cputype.h:108:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
  897. ./arch/arm64/include/asm/cputype.h:108:15: error: ‘no_instrument_function’ attribute applies only to functions
  898. static inline u64 __attribute_const__ read_cpuid_mpidr(void)
  899. ^
  900. ./arch/arm64/include/asm/cputype.h:108:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_mpidr’
  901. static inline u64 __attribute_const__ read_cpuid_mpidr(void)
  902. ^
  903. ./arch/arm64/include/asm/cputype.h: In function ‘read_cpuid_implementor’:
  904. ./arch/arm64/include/asm/cputype.h:115:2: error: implicit declaration of function ‘read_cpuid_id’ [-Werror=implicit-function-declaration]
  905. return MIDR_IMPLEMENTOR(read_cpuid_id());
  906. ^
  907. ./arch/arm64/include/asm/cputype.h: At top level:
  908. ./arch/arm64/include/asm/cputype.h:123:15: error: type defaults to ‘int’ in declaration of ‘u32’ [-Werror=implicit-int]
  909. static inline u32 __attribute_const__ read_cpuid_cachetype(void)
  910. ^
  911. ./arch/arm64/include/asm/cputype.h:123:15: warning: variable ‘u32’ declared ‘inline’
  912. ./arch/arm64/include/asm/cputype.h:123:1: warning: ‘const’ attribute ignored [-Wattributes]
  913. static inline u32 __attribute_const__ read_cpuid_cachetype(void)
  914. ^
  915. ./arch/arm64/include/asm/cputype.h:123:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
  916. ./arch/arm64/include/asm/cputype.h:123:15: error: ‘no_instrument_function’ attribute applies only to functions
  917. static inline u32 __attribute_const__ read_cpuid_cachetype(void)
  918. ^
  919. ./arch/arm64/include/asm/cputype.h:123:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_cachetype’
  920. static inline u32 __attribute_const__ read_cpuid_cachetype(void)
  921. ^
  922. In file included from ./arch/arm64/include/asm/cache.h:19:0,
  923. from ./include/linux/cache.h:5,
  924. from ./include/linux/printk.h:8,
  925. from ./include/linux/kernel.h:13,
  926. from ./include/asm-generic/bug.h:13,
  927. from ./arch/arm64/include/asm/bug.h:62,
  928. from ./include/linux/bug.h:4,
  929. from ./include/linux/page-flags.h:9,
  930. from kernel/bounds.c:9:
  931. ./arch/arm64/include/asm/cachetype.h:66:8: error: type defaults to ‘int’ in declaration of ‘u64’ [-Werror=implicit-int]
  932. extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
  933. ^
  934. ./arch/arm64/include/asm/cachetype.h:66:1: warning: ‘const’ attribute ignored [-Wattributes]
  935. extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
  936. ^
  937. ./arch/arm64/include/asm/cachetype.h:66:32: error: expected ‘,’ or ‘;’ before ‘cache_get_ccsidr’
  938. extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
  939. ^
  940. ./arch/arm64/include/asm/cachetype.h: In function ‘icache_get_linesize’:
  941. ./arch/arm64/include/asm/cachetype.h:71:2: error: implicit declaration of function ‘cache_get_ccsidr’ [-Werror=implicit-function-declaration]
  942. return CACHE_LINESIZE(cache_get_ccsidr(1L));
  943. ^
  944. ./arch/arm64/include/asm/cachetype.h: At top level:
  945. ./arch/arm64/include/asm/cachetype.h:93:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cache_type_cwg’
  946. static inline u32 cache_type_cwg(void)
  947. ^
  948. In file included from ./include/linux/cache.h:5:0,
  949. from ./include/linux/printk.h:8,
  950. from ./include/linux/kernel.h:13,
  951. from ./include/asm-generic/bug.h:13,
  952. from ./arch/arm64/include/asm/bug.h:62,
  953. from ./include/linux/bug.h:4,
  954. from ./include/linux/page-flags.h:9,
  955. from kernel/bounds.c:9:
  956. ./arch/arm64/include/asm/cache.h: In function ‘cache_line_size’:
  957. ./arch/arm64/include/asm/cache.h:39:2: warning: statement with no effect [-Wunused-value]
  958. u32 cwg = cache_type_cwg();
  959. ^
  960. ./arch/arm64/include/asm/cache.h:39:6: error: expected ‘;’ before ‘cwg’
  961. u32 cwg = cache_type_cwg();
  962. ^
  963. ./arch/arm64/include/asm/cache.h:40:9: error: ‘cwg’ undeclared (first use in this function)
  964. return cwg ? 4 << cwg : L1_CACHE_BYTES;
  965. ^
  966. In file included from ./include/linux/kernel.h:13:0,
  967. from ./include/asm-generic/bug.h:13,
  968. from ./arch/arm64/include/asm/bug.h:62,
  969. from ./include/linux/bug.h:4,
  970. from ./include/linux/page-flags.h:9,
  971. from kernel/bounds.c:9:
  972. ./include/linux/printk.h: At top level:
  973. ./include/linux/printk.h:191:1: error: unknown type name ‘u32’
  974. u32 log_buf_len_get(void);
  975. ^
  976. In file included from ./include/asm-generic/bug.h:13:0,
  977. from ./arch/arm64/include/asm/bug.h:62,
  978. from ./include/linux/bug.h:4,
  979. from ./include/linux/page-flags.h:9,
  980. from kernel/bounds.c:9:
  981. ./include/linux/kernel.h:246:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘reciprocal_scale’
  982. static inline u32 reciprocal_scale(u32 val, u32 ep_ro)
  983. ^
  984. ./include/linux/kernel.h:339:76: error: expected declaration specifiers or ‘...’ before ‘u64’
  985. static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res)
  986. ^
  987. ./include/linux/kernel.h:344:76: error: unknown type name ‘s64’
  988. static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res)
  989. ^
  990. ./include/linux/kernel.h:349:76: error: expected declaration specifiers or ‘...’ before ‘u32’
  991. static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res)
  992. ^
  993. ./include/linux/kernel.h:354:76: error: unknown type name ‘s32’
  994. static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res)
  995. ^
  996. ./include/linux/kernel.h:359:62: error: unknown type name ‘u16’
  997. int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
  998. ^
  999. ./include/linux/kernel.h:360:62: error: unknown type name ‘s16’
  1000. int __must_check kstrtos16(const char *s, unsigned int base, s16 *res);
  1001. ^
  1002. ./include/linux/kernel.h:361:61: error: unknown type name ‘u8’
  1003. int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
  1004. ^
  1005. ./include/linux/kernel.h:362:61: error: unknown type name ‘s8’
  1006. int __must_check kstrtos8(const char *s, unsigned int base, s8 *res);
  1007. ^
  1008. ./include/linux/kernel.h:371:93: error: unknown type name ‘u16’
  1009. int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
  1010. ^
  1011. ./include/linux/kernel.h:372:93: error: unknown type name ‘s16’
  1012. int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
  1013. ^
  1014. ./include/linux/kernel.h:373:92: error: unknown type name ‘u8’
  1015. int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
  1016. ^
  1017. ./include/linux/kernel.h:374:92: error: unknown type name ‘s8’
  1018. int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
  1019. ^
  1020. ./include/linux/kernel.h:377:107: error: expected declaration specifiers or ‘...’ before ‘u64’
  1021. static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
  1022. ^
  1023. ./include/linux/kernel.h:382:107: error: unknown type name ‘s64’
  1024. static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res)
  1025. ^
  1026. ./include/linux/kernel.h:387:107: error: expected declaration specifiers or ‘...’ before ‘u32’
  1027. static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res)
  1028. ^
  1029. ./include/linux/kernel.h:392:107: error: unknown type name ‘s32’
  1030. static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res)
  1031. ^
  1032. ./include/linux/kernel.h:514:46: error: unknown type name ‘u8’
  1033. static inline char *hex_byte_pack(char *buf, u8 byte)
  1034. ^
  1035. ./include/linux/kernel.h:525:52: error: unknown type name ‘u8’
  1036. static inline char *hex_byte_pack_upper(char *buf, u8 byte)
  1037. ^
  1038. ./include/linux/kernel.h:533:33: error: unknown type name ‘u8’
  1039. extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
  1040. ^
  1041. ./include/linux/kernel.h:536:30: error: unknown type name ‘u8’
  1042. bool mac_pton(const char *s, u8 *mac);
  1043. ^
  1044. In file included from ./include/linux/spinlock_types.h:13:0,
  1045. from kernel/bounds.c:13:
  1046. ./arch/arm64/include/asm/spinlock_types.h:32:2: error: unknown type name ‘u16’
  1047. u16 owner;
  1048. ^
  1049. ./arch/arm64/include/asm/spinlock_types.h:33:2: error: unknown type name ‘u16’
  1050. u16 next;
  1051. ^
  1052. kernel/bounds.c: In function ‘foo’:
  1053. kernel/bounds.c:21:2: error: implicit declaration of function ‘__ilog2_u32’ [-Werror=implicit-function-declaration]
  1054. DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
  1055. ^
  1056. kernel/bounds.c:21:2: error: implicit declaration of function ‘__ilog2_u64’ [-Werror=implicit-function-declaration]
  1057. In file included from ./arch/arm64/include/asm/cache.h:19:0,
  1058. from ./include/linux/cache.h:5,
  1059. from ./include/linux/printk.h:8,
  1060. from ./include/linux/kernel.h:13,
  1061. from ./include/asm-generic/bug.h:13,
  1062. from ./arch/arm64/include/asm/bug.h:62,
  1063. from ./include/linux/bug.h:4,
  1064. from ./include/linux/page-flags.h:9,
  1065. from kernel/bounds.c:9:
  1066. kernel/bounds.c: At top level:
  1067. ./arch/arm64/include/asm/cachetype.h:66:8: warning: ‘u64’ defined but not used [-Wunused-variable]
  1068. extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
  1069. ^
  1070. cc1: some warnings being treated as errors
  1071. Kbuild:45: recipe for target 'kernel/bounds.s' failed
  1072. make[1]: *** [kernel/bounds.s] Error 1
  1073. Makefile:1033: recipe for target 'prepare0' failed
  1074. make: *** [prepare0] Error 2
  1075. root@linaro-alip:/home/linaro/kernel-build/kernel-compilation_12923128-fe05-4654-842b-ae6ea3768569/automated/linux/kernel-compilation/output/linux-4.9.4#
Add Comment
Please, Sign In to add comment