Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.75 KB | None | 0 0
  1. >>> uboot 2019.10 Building
  2. PATH="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin:/home/ben/src/work/hypervolt/img/buildroot/output/host/sbin:/home/ben/.cargo/bin:/home/ben/.local/bin:/home/ben/bin:/home/ben/fauna/.util/cache/dependencies/scala/bin:/home/ben/fauna/.util/bin:/opt/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/home/ben/.local/share/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ar" AS="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-as" LD="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld" NM="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-nm" CC="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc" GCC="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc" CPP="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-cpp" CXX="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-g++" FC="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gfortran" F77="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gfortran" RANLIB="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ranlib" READELF="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-readelf" STRIP="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-strip" OBJCOPY="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-objcopy" OBJDUMP="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/ben/src/work/hypervolt/img/buildroot/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/ben/src/work/hypervolt/img/buildroot/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/ben/src/work/hypervolt/img/buildroot/output/host/include" LDFLAGS_FOR_BUILD="-L/home/ben/src/work/hypervolt/img/buildroot/output/host/lib -Wl,-rpath,/home/ben/src/work/hypervolt/img/buildroot/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-as" DEFAULT_LINKER="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/pkg-config" STAGING_DIR="/home/ben/src/work/hypervolt/img/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j9 -C /home/ben/src/work/hypervolt/img/buildroot/output/build/uboot-2019.10 CROSS_COMPILE="/home/ben/src/work/hypervolt/img/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-" ARCH=arm HOSTCC="/usr/bin/gcc -O2 -isystem /home/ben/src/work/hypervolt/img/buildroot/output/host/include" HOSTLDFLAGS="-L/home/ben/src/work/hypervolt/img/buildroot/output/host/lib -Wl,-rpath,/home/ben/src/work/hypervolt/img/buildroot/output/host/lib" all
  3. make[1]: Entering directory '/home/ben/src/work/hypervolt/img/buildroot/output/build/uboot-2019.10'
  4. CHK include/config/uboot.release
  5. CHK include/generated/timestamp_autogenerated.h
  6. UPD include/generated/timestamp_autogenerated.h
  7. CHK include/generated/version_autogenerated.h
  8. CHK include/generated/generic-asm-offsets.h
  9. CHK include/generated/asm-offsets.h
  10. HOSTCC tools/mkenvimage.o
  11. HOSTCC tools/mkimage.o
  12. HOSTCC tools/dumpimage.o
  13. HOSTLD tools/mkenvimage
  14. HOSTLD tools/dumpimage
  15. HOSTLD tools/mkimage
  16. CC board/raspberrypi/rpi/rpi.o
  17. AS board/raspberrypi/rpi/lowlevel_init.o
  18. cc1: warning: unknown register name: x18
  19. cc1: warning: unknown register name: x18
  20. board/raspberrypi/rpi/lowlevel_init.S: Assembler messages:
  21. board/raspberrypi/rpi/lowlevel_init.S:13: Error: unknown pseudo-op: `.dword'
  22. board/raspberrypi/rpi/lowlevel_init.S:28: Error: ARM register expected -- `adr x8,fw_dtb_pointer'
  23. board/raspberrypi/rpi/lowlevel_init.S:29: Error: ARM register expected -- `str x0,[x8]'
  24. make[2]: *** [scripts/Makefile.build:314: board/raspberrypi/rpi/lowlevel_init.o] Error 1
  25. make[2]: *** Waiting for unfinished jobs....
  26. In file included from ./arch/arm/include/asm/bitops.h:18,
  27. from include/linux/bitops.h:136,
  28. from include/common.h:27,
  29. from board/raspberrypi/rpi/rpi.c:6:
  30. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  31. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  32. word >>= 32;
  33. ^~~
  34. In file included from ./arch/arm/include/asm/bitops.h:179,
  35. from include/linux/bitops.h:136,
  36. from include/common.h:27,
  37. from board/raspberrypi/rpi/rpi.c:6:
  38. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  39. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  40. if (!(word & (~0ul << 32))) {
  41. ^~
  42. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  43. word <<= 32;
  44. ^~~
  45. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  46. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  47. ^~
  48. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  49. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  50. ^~
  51. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  52. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  53. ^~
  54. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  55. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  56. ^~
  57. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  58. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  59. ^~
  60. CC arch/arm/cpu/armv8/cpu.o
  61. cc1: warning: unknown register name: x18
  62. CC disk/part_efi.o
  63. In file included from ./arch/arm/include/asm/bitops.h:18,
  64. from include/linux/bitops.h:136,
  65. from include/common.h:27,
  66. from arch/arm/cpu/armv8/cpu.c:13:
  67. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  68. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  69. word >>= 32;
  70. ^~~
  71. In file included from ./arch/arm/include/asm/bitops.h:179,
  72. from include/linux/bitops.h:136,
  73. from include/common.h:27,
  74. from arch/arm/cpu/armv8/cpu.c:13:
  75. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  76. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  77. if (!(word & (~0ul << 32))) {
  78. ^~
  79. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  80. word <<= 32;
  81. ^~~
  82. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  83. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  84. ^~
  85. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  86. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  87. ^~
  88. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  89. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  90. ^~
  91. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  92. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  93. ^~
  94. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  95. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  96. ^~
  97. CC drivers/gpio/gpio-uclass.o
  98. cc1: warning: unknown register name: x18
  99. AS arch/arm/lib/crt0_64.o
  100. cc1: warning: unknown register name: x18
  101. In file included from include/common.h:52,
  102. from board/raspberrypi/rpi/rpi.c:6:
  103. include/dm/of.h: At top level:
  104. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  105. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  106. ^~
  107. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  108. DECLARE_GLOBAL_DATA_PTR;
  109. ^~~~~~~~~~~~~~~~~~~~~~~
  110. In file included from ./arch/arm/include/asm/bitops.h:18,
  111. from include/linux/bitops.h:136,
  112. from include/common.h:27,
  113. from disk/part_efi.c:13:
  114. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  115. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  116. word >>= 32;
  117. ^~~
  118. In file included from ./arch/arm/include/asm/bitops.h:179,
  119. from include/linux/bitops.h:136,
  120. from include/common.h:27,
  121. from disk/part_efi.c:13:
  122. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  123. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  124. if (!(word & (~0ul << 32))) {
  125. ^~
  126. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  127. word <<= 32;
  128. ^~~
  129. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  130. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  131. ^~
  132. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  133. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  134. ^~
  135. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  136. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  137. ^~
  138. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  139. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  140. ^~
  141. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  142. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  143. ^~
  144. cc1: warning: unknown register name: x18
  145. LD drivers/i2c/built-in.o
  146. In file included from ./arch/arm/include/asm/bitops.h:18,
  147. from include/linux/bitops.h:136,
  148. from include/common.h:27,
  149. from drivers/gpio/gpio-uclass.c:6:
  150. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  151. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  152. word >>= 32;
  153. ^~~
  154. In file included from ./arch/arm/include/asm/bitops.h:179,
  155. from include/linux/bitops.h:136,
  156. from include/common.h:27,
  157. from drivers/gpio/gpio-uclass.c:6:
  158. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  159. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  160. if (!(word & (~0ul << 32))) {
  161. ^~
  162. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  163. word <<= 32;
  164. ^~~
  165. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  166. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  167. ^~
  168. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  169. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  170. ^~
  171. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  172. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  173. ^~
  174. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  175. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  176. ^~
  177. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  178. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  179. ^~
  180. ./arch/arm/include/asm/macro.h: Assembler messages:
  181. ./arch/arm/include/asm/macro.h:65: Warning: unknown register 'x30' -- .req ignored
  182. arch/arm/lib/crt0_64.S:79: Error: ARM register expected -- `ldr x0,=((0x00000000+0x08000000-240))'
  183. arch/arm/lib/crt0_64.S:81: Error: immediate expression requires a # prefix -- `bic sp,x0,#0xf'
  184. arch/arm/lib/crt0_64.S:82: Error: ARM register expected -- `mov x0,sp'
  185. arch/arm/lib/crt0_64.S:84: Error: immediate expression requires a # prefix -- `mov sp,x0'
  186. arch/arm/lib/crt0_64.S:86: Error: ARM register expected -- `mov x18,x0'
  187. arch/arm/lib/crt0_64.S:89: Error: ARM register expected -- `mov x0,#0'
  188. arch/arm/lib/crt0_64.S:98: Error: ARM register expected -- `ldr x0,[x18,#80]'
  189. arch/arm/lib/crt0_64.S:99: Error: immediate expression requires a # prefix -- `bic sp,x0,#0xf'
  190. arch/arm/lib/crt0_64.S:100: Error: ARM register expected -- `ldr x18,[x18,#88]'
  191. arch/arm/lib/crt0_64.S:111: Error: ARM register expected -- `ldr x9,[x18,#84]'
  192. arch/arm/lib/crt0_64.S:112: Error: shift expression expected -- `add lr,lr,x9'
  193. arch/arm/lib/crt0_64.S:113: Error: ARM register expected -- `ldr x0,[x18,#60]'
  194. arch/arm/lib/crt0_64.S:142: Error: ARM register expected -- `ldr x0,=__bss_start'
  195. arch/arm/lib/crt0_64.S:143: Error: ARM register expected -- `ldr x1,=__bss_end'
  196. arch/arm/lib/crt0_64.S:145: Error: ARM register expected -- `str xzr,[x0],#8'
  197. arch/arm/lib/crt0_64.S:146: Error: ARM register expected -- `cmp x0,x1'
  198. arch/arm/lib/crt0_64.S:147: Error: unexpected character `l' in type specifier
  199. arch/arm/lib/crt0_64.S:147: Error: bad instruction `b.lo clear_loop'
  200. arch/arm/lib/crt0_64.S:150: Error: ARM register expected -- `mov x0,x18'
  201. arch/arm/lib/crt0_64.S:151: Error: ARM register expected -- `ldr x1,[x18,#60]'
  202. make[2]: *** [scripts/Makefile.build:314: arch/arm/lib/crt0_64.o] Error 1
  203. make[1]: *** [Makefile:1629: arch/arm/lib] Error 2
  204. make[1]: *** Waiting for unfinished jobs....
  205. In file included from include/common.h:52,
  206. from board/raspberrypi/rpi/rpi.c:6:
  207. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  208. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  209. ^~
  210. board/raspberrypi/rpi/rpi.c:28:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  211. DECLARE_GLOBAL_DATA_PTR;
  212. ^~~~~~~~~~~~~~~~~~~~~~~
  213. In file included from board/raspberrypi/rpi/rpi.c:23:
  214. ./arch/arm/include/asm/armv8/mmu.h:66:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  215. #define PTE_BLOCK_PXN (UL(1) << 53)
  216. ^~
  217. board/raspberrypi/rpi/rpi.c:266:5: note: in expansion of macro ‘PTE_BLOCK_PXN’
  218. PTE_BLOCK_PXN | PTE_BLOCK_UXN
  219. ^~~~~~~~~~~~~
  220. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  221. #define PTE_BLOCK_UXN (UL(1) << 54)
  222. ^~
  223. board/raspberrypi/rpi/rpi.c:266:21: note: in expansion of macro ‘PTE_BLOCK_UXN’
  224. PTE_BLOCK_PXN | PTE_BLOCK_UXN
  225. ^~~~~~~~~~~~~
  226. CC arch/arm/cpu/armv8/generic_timer.o
  227. make[2]: *** [scripts/Makefile.build:279: board/raspberrypi/rpi/rpi.o] Error 1
  228. make[1]: *** [Makefile:1629: board/raspberrypi/rpi] Error 2
  229. CC drivers/gpio/bcm2835_gpio.o
  230. {standard input}: Assembler messages:
  231. {standard input}:36: Error: unexpected character `n' in type specifier
  232. {standard input}:36: Error: bad instruction `b.ne 1b'
  233. make[2]: *** [scripts/Makefile.build:279: arch/arm/cpu/armv8/cpu.o] Error 1
  234. make[2]: *** Waiting for unfinished jobs....
  235. CC arch/arm/cpu/armv8/cache_v8.o
  236. cc1: warning: unknown register name: x18
  237. cc1: warning: unknown register name: x18
  238. In file included from include/common.h:52,
  239. from disk/part_efi.c:13:
  240. disk/part_efi.c: At top level:
  241. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  242. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  243. ^~
  244. disk/part_efi.c:23:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  245. DECLARE_GLOBAL_DATA_PTR;
  246. ^~~~~~~~~~~~~~~~~~~~~~~
  247. cc1: warning: unknown register name: x18
  248. In file included from include/common.h:52,
  249. from drivers/gpio/gpio-uclass.c:6:
  250. include/dm/of.h: At top level:
  251. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  252. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  253. ^~
  254. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  255. DECLARE_GLOBAL_DATA_PTR;
  256. ^~~~~~~~~~~~~~~~~~~~~~~
  257. In file included from ./arch/arm/include/asm/bitops.h:18,
  258. from include/linux/bitops.h:136,
  259. from include/common.h:27,
  260. from drivers/gpio/bcm2835_gpio.c:7:
  261. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  262. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  263. word >>= 32;
  264. ^~~
  265. In file included from ./arch/arm/include/asm/bitops.h:179,
  266. from include/linux/bitops.h:136,
  267. from include/common.h:27,
  268. from drivers/gpio/bcm2835_gpio.c:7:
  269. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  270. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  271. if (!(word & (~0ul << 32))) {
  272. ^~
  273. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  274. word <<= 32;
  275. ^~~
  276. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  277. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  278. ^~
  279. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  280. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  281. ^~
  282. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  283. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  284. ^~
  285. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  286. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  287. ^~
  288. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  289. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  290. ^~
  291. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  292. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  293. ^~
  294. drivers/gpio/gpio-uclass.c:19:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  295. DECLARE_GLOBAL_DATA_PTR;
  296. ^~~~~~~~~~~~~~~~~~~~~~~
  297. In file included from ./arch/arm/include/asm/bitops.h:18,
  298. from include/linux/bitops.h:136,
  299. from include/common.h:27,
  300. from arch/arm/cpu/armv8/generic_timer.c:7:
  301. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  302. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  303. word >>= 32;
  304. ^~~
  305. In file included from ./arch/arm/include/asm/bitops.h:18,
  306. from include/linux/bitops.h:136,
  307. from include/common.h:27,
  308. from arch/arm/cpu/armv8/cache_v8.c:10:
  309. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  310. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  311. word >>= 32;
  312. ^~~
  313. In file included from ./arch/arm/include/asm/bitops.h:179,
  314. from include/linux/bitops.h:136,
  315. from include/common.h:27,
  316. from arch/arm/cpu/armv8/generic_timer.c:7:
  317. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  318. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  319. if (!(word & (~0ul << 32))) {
  320. ^~
  321. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  322. word <<= 32;
  323. ^~~
  324. In file included from ./arch/arm/include/asm/bitops.h:179,
  325. from include/linux/bitops.h:136,
  326. from include/common.h:27,
  327. from arch/arm/cpu/armv8/cache_v8.c:10:
  328. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  329. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  330. if (!(word & (~0ul << 32))) {
  331. ^~
  332. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  333. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  334. ^~
  335. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  336. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  337. ^~
  338. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  339. word <<= 32;
  340. ^~~
  341. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  342. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  343. ^~
  344. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  345. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  346. ^~
  347. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  348. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  349. ^~
  350. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  351. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  352. ^~
  353. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  354. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  355. ^~
  356. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  357. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  358. ^~
  359. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  360. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  361. ^~
  362. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  363. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  364. ^~
  365. make[2]: *** [scripts/Makefile.build:279: disk/part_efi.o] Error 1
  366. make[1]: *** [Makefile:1629: disk] Error 2
  367. make[2]: *** [scripts/Makefile.build:279: drivers/gpio/gpio-uclass.o] Error 1
  368. make[2]: *** Waiting for unfinished jobs....
  369. In file included from include/common.h:52,
  370. from drivers/gpio/bcm2835_gpio.c:7:
  371. include/dm/of.h: At top level:
  372. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  373. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  374. ^~
  375. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  376. DECLARE_GLOBAL_DATA_PTR;
  377. ^~~~~~~~~~~~~~~~~~~~~~~
  378. In file included from include/common.h:52,
  379. from arch/arm/cpu/armv8/cache_v8.c:10:
  380. arch/arm/cpu/armv8/cache_v8.c: At top level:
  381. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  382. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  383. ^~
  384. arch/arm/cpu/armv8/cache_v8.c:14:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  385. DECLARE_GLOBAL_DATA_PTR;
  386. ^~~~~~~~~~~~~~~~~~~~~~~
  387. In file included from include/common.h:52,
  388. from arch/arm/cpu/armv8/generic_timer.c:7:
  389. arch/arm/cpu/armv8/generic_timer.c: At top level:
  390. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  391. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  392. ^~
  393. arch/arm/cpu/armv8/generic_timer.c:11:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  394. DECLARE_GLOBAL_DATA_PTR;
  395. ^~~~~~~~~~~~~~~~~~~~~~~
  396. arch/arm/cpu/armv8/cache_v8.c: In function ‘find_pte’:
  397. arch/arm/cpu/armv8/cache_v8.c:134:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  398. pte = (u64*)(*pte & 0x0000fffffffff000ULL);
  399. ^
  400. In file included from arch/arm/cpu/armv8/cache_v8.c:12:
  401. arch/arm/cpu/armv8/cache_v8.c: In function ‘mmu_setup’:
  402. ./arch/arm/include/asm/armv8/mmu.h:37:15: warning: left shift count >= width of type [-Wshift-count-overflow]
  403. (UL(0xff) << (MT_NORMAL * 8)))
  404. ^~
  405. arch/arm/cpu/armv8/cache_v8.c:414:6: note: in expansion of macro ‘MEMORY_ATTRIBUTES’
  406. MEMORY_ATTRIBUTES);
  407. ^~~~~~~~~~~~~~~~~
  408. arch/arm/cpu/armv8/cache_v8.c: In function ‘set_one_region’:
  409. ./arch/arm/include/asm/armv8/mmu.h:66:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  410. #define PTE_BLOCK_PXN (UL(1) << 53)
  411. ^~
  412. ./arch/arm/include/asm/armv8/mmu.h:74:24: note: in expansion of macro ‘PTE_BLOCK_PXN’
  413. #define PMD_ATTRMASK (PTE_BLOCK_PXN | \
  414. ^~~~~~~~~~~~~
  415. arch/arm/cpu/armv8/cache_v8.c:526:13: note: in expansion of macro ‘PMD_ATTRMASK’
  416. *pte &= ~PMD_ATTRMASK;
  417. ^~~~~~~~~~~~
  418. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  419. #define PTE_BLOCK_UXN (UL(1) << 54)
  420. ^~
  421. ./arch/arm/include/asm/armv8/mmu.h:75:6: note: in expansion of macro ‘PTE_BLOCK_UXN’
  422. PTE_BLOCK_UXN | \
  423. ^~~~~~~~~~~~~
  424. arch/arm/cpu/armv8/cache_v8.c:526:13: note: in expansion of macro ‘PMD_ATTRMASK’
  425. *pte &= ~PMD_ATTRMASK;
  426. ^~~~~~~~~~~~
  427. ./arch/arm/include/asm/armv8/mmu.h:66:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  428. #define PTE_BLOCK_PXN (UL(1) << 53)
  429. ^~
  430. ./arch/arm/include/asm/armv8/mmu.h:74:24: note: in expansion of macro ‘PTE_BLOCK_PXN’
  431. #define PMD_ATTRMASK (PTE_BLOCK_PXN | \
  432. ^~~~~~~~~~~~~
  433. arch/arm/cpu/armv8/cache_v8.c:527:20: note: in expansion of macro ‘PMD_ATTRMASK’
  434. *pte |= attrs & PMD_ATTRMASK;
  435. ^~~~~~~~~~~~
  436. ./arch/arm/include/asm/armv8/mmu.h:67:31: warning: left shift count >= width of type [-Wshift-count-overflow]
  437. #define PTE_BLOCK_UXN (UL(1) << 54)
  438. ^~
  439. ./arch/arm/include/asm/armv8/mmu.h:75:6: note: in expansion of macro ‘PTE_BLOCK_UXN’
  440. PTE_BLOCK_UXN | \
  441. ^~~~~~~~~~~~~
  442. arch/arm/cpu/armv8/cache_v8.c:527:20: note: in expansion of macro ‘PMD_ATTRMASK’
  443. *pte |= attrs & PMD_ATTRMASK;
  444. ^~~~~~~~~~~~
  445. make[2]: *** [scripts/Makefile.build:279: arch/arm/cpu/armv8/generic_timer.o] Error 1
  446. make[2]: *** [scripts/Makefile.build:279: drivers/gpio/bcm2835_gpio.o] Error 1
  447. make[1]: *** [Makefile:1629: drivers/gpio] Error 2
  448. make[2]: *** [scripts/Makefile.build:279: arch/arm/cpu/armv8/cache_v8.o] Error 1
  449. make[1]: *** [Makefile:1629: arch/arm/cpu/armv8] Error 2
  450. CC drivers/block/blk-uclass.o
  451. cc1: warning: unknown register name: x18
  452. CC common/main.o
  453. In file included from ./arch/arm/include/asm/bitops.h:18,
  454. from include/linux/bitops.h:136,
  455. from include/common.h:27,
  456. from drivers/block/blk-uclass.c:7:
  457. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  458. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  459. word >>= 32;
  460. ^~~
  461. In file included from ./arch/arm/include/asm/bitops.h:179,
  462. from include/linux/bitops.h:136,
  463. from include/common.h:27,
  464. from drivers/block/blk-uclass.c:7:
  465. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  466. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  467. if (!(word & (~0ul << 32))) {
  468. ^~
  469. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  470. word <<= 32;
  471. ^~~
  472. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  473. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  474. ^~
  475. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  476. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  477. ^~
  478. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  479. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  480. ^~
  481. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  482. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  483. ^~
  484. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  485. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  486. ^~
  487. CC common/exports.o
  488. CC drivers/input/input.o
  489. cc1: warning: unknown register name: x18
  490. CC drivers/input/key_matrix.o
  491. cc1: warning: unknown register name: x18
  492. cc1: warning: unknown register name: x18
  493. CC common/init/board_init.o
  494. In file included from ./arch/arm/include/asm/bitops.h:18,
  495. from include/linux/bitops.h:136,
  496. from include/common.h:27,
  497. from common/main.c:9:
  498. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  499. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  500. word >>= 32;
  501. ^~~
  502. In file included from ./arch/arm/include/asm/bitops.h:179,
  503. from include/linux/bitops.h:136,
  504. from include/common.h:27,
  505. from common/main.c:9:
  506. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  507. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  508. if (!(word & (~0ul << 32))) {
  509. ^~
  510. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  511. word <<= 32;
  512. ^~~
  513. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  514. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  515. ^~
  516. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  517. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  518. ^~
  519. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  520. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  521. ^~
  522. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  523. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  524. ^~
  525. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  526. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  527. ^~
  528. In file included from ./arch/arm/include/asm/bitops.h:18,
  529. from include/linux/bitops.h:136,
  530. from include/common.h:27,
  531. from common/exports.c:1:
  532. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  533. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  534. word >>= 32;
  535. ^~~
  536. In file included from ./arch/arm/include/asm/bitops.h:179,
  537. from include/linux/bitops.h:136,
  538. from include/common.h:27,
  539. from common/exports.c:1:
  540. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  541. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  542. if (!(word & (~0ul << 32))) {
  543. ^~
  544. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  545. word <<= 32;
  546. ^~~
  547. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  548. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  549. ^~
  550. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  551. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  552. ^~
  553. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  554. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  555. ^~
  556. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  557. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  558. ^~
  559. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  560. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  561. ^~
  562. cc1: warning: unknown register name: x18
  563. cc1: warning: unknown register name: x18
  564. In file included from ./arch/arm/include/asm/bitops.h:18,
  565. from include/linux/bitops.h:136,
  566. from include/common.h:27,
  567. from drivers/input/input.c:9:
  568. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  569. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  570. word >>= 32;
  571. ^~~
  572. In file included from ./arch/arm/include/asm/bitops.h:179,
  573. from include/linux/bitops.h:136,
  574. from include/common.h:27,
  575. from drivers/input/input.c:9:
  576. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  577. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  578. if (!(word & (~0ul << 32))) {
  579. ^~
  580. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  581. word <<= 32;
  582. ^~~
  583. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  584. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  585. ^~
  586. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  587. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  588. ^~
  589. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  590. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  591. ^~
  592. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  593. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  594. ^~
  595. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  596. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  597. ^~
  598. In file included from ./arch/arm/include/asm/bitops.h:18,
  599. from include/linux/bitops.h:136,
  600. from include/common.h:27,
  601. from drivers/input/key_matrix.c:9:
  602. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  603. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  604. word >>= 32;
  605. ^~~
  606. In file included from ./arch/arm/include/asm/bitops.h:179,
  607. from include/linux/bitops.h:136,
  608. from include/common.h:27,
  609. from drivers/input/key_matrix.c:9:
  610. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  611. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  612. if (!(word & (~0ul << 32))) {
  613. ^~
  614. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  615. word <<= 32;
  616. ^~~
  617. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  618. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  619. ^~
  620. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  621. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  622. ^~
  623. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  624. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  625. ^~
  626. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  627. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  628. ^~
  629. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  630. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  631. ^~
  632. In file included from ./arch/arm/include/asm/bitops.h:18,
  633. from include/linux/bitops.h:136,
  634. from include/common.h:27,
  635. from common/init/board_init.c:9:
  636. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  637. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  638. word >>= 32;
  639. ^~~
  640. In file included from ./arch/arm/include/asm/bitops.h:179,
  641. from include/linux/bitops.h:136,
  642. from include/common.h:27,
  643. from common/init/board_init.c:9:
  644. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  645. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  646. if (!(word & (~0ul << 32))) {
  647. ^~
  648. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  649. word <<= 32;
  650. ^~~
  651. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  652. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  653. ^~
  654. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  655. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  656. ^~
  657. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  658. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  659. ^~
  660. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  661. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  662. ^~
  663. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  664. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  665. ^~
  666. In file included from include/common.h:52,
  667. from drivers/block/blk-uclass.c:7:
  668. include/dm/of.h: At top level:
  669. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  670. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  671. ^~
  672. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  673. DECLARE_GLOBAL_DATA_PTR;
  674. ^~~~~~~~~~~~~~~~~~~~~~~
  675. CC drivers/mmc/mmc.o
  676. cc1: warning: unknown register name: x18
  677. make[3]: *** [scripts/Makefile.build:278: drivers/block/blk-uclass.o] Error 1
  678. make[2]: *** [scripts/Makefile.build:432: drivers/block] Error 2
  679. make[2]: *** Waiting for unfinished jobs....
  680. CC drivers/mmc/mmc-uclass.o
  681. In file included from include/common.h:52,
  682. from drivers/input/input.c:9:
  683. include/dm/of.h: At top level:
  684. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  685. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  686. ^~
  687. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  688. DECLARE_GLOBAL_DATA_PTR;
  689. ^~~~~~~~~~~~~~~~~~~~~~~
  690. In file included from ./arch/arm/include/asm/bitops.h:18,
  691. from include/linux/bitops.h:136,
  692. from include/common.h:27,
  693. from drivers/mmc/mmc.c:10:
  694. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  695. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  696. word >>= 32;
  697. ^~~
  698. In file included from include/common.h:52,
  699. from common/exports.c:1:
  700. common/exports.c: At top level:
  701. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  702. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  703. ^~
  704. common/exports.c:6:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  705. DECLARE_GLOBAL_DATA_PTR;
  706. ^~~~~~~~~~~~~~~~~~~~~~~
  707. In file included from ./arch/arm/include/asm/bitops.h:179,
  708. from include/linux/bitops.h:136,
  709. from include/common.h:27,
  710. from drivers/mmc/mmc.c:10:
  711. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  712. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  713. if (!(word & (~0ul << 32))) {
  714. ^~
  715. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  716. word <<= 32;
  717. ^~~
  718. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  719. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  720. ^~
  721. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  722. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  723. ^~
  724. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  725. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  726. ^~
  727. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  728. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  729. ^~
  730. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  731. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  732. ^~
  733. cc1: warning: unknown register name: x18
  734. In file included from include/common.h:52,
  735. from drivers/input/key_matrix.c:9:
  736. include/dm/of.h: At top level:
  737. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  738. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  739. ^~
  740. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  741. DECLARE_GLOBAL_DATA_PTR;
  742. ^~~~~~~~~~~~~~~~~~~~~~~
  743. CC drivers/core/device.o
  744. In file included from include/common.h:52,
  745. from common/init/board_init.c:9:
  746. common/init/board_init.c: At top level:
  747. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  748. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  749. ^~
  750. common/init/board_init.c:11:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  751. DECLARE_GLOBAL_DATA_PTR;
  752. ^~~~~~~~~~~~~~~~~~~~~~~
  753. make[2]: *** [scripts/Makefile.build:278: common/exports.o] Error 1
  754. make[2]: *** Waiting for unfinished jobs....
  755. make[3]: *** [scripts/Makefile.build:279: common/init/board_init.o] Error 1
  756. In file included from ./arch/arm/include/asm/bitops.h:18,
  757. from include/linux/bitops.h:136,
  758. from include/common.h:27,
  759. from drivers/mmc/mmc-uclass.c:7:
  760. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  761. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  762. word >>= 32;
  763. ^~~
  764. make[2]: *** [scripts/Makefile.build:432: common/init] Error 2
  765. In file included from ./arch/arm/include/asm/bitops.h:179,
  766. from include/linux/bitops.h:136,
  767. from include/common.h:27,
  768. from drivers/mmc/mmc-uclass.c:7:
  769. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  770. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  771. if (!(word & (~0ul << 32))) {
  772. ^~
  773. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  774. word <<= 32;
  775. ^~~
  776. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  777. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  778. ^~
  779. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  780. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  781. ^~
  782. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  783. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  784. ^~
  785. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  786. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  787. ^~
  788. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  789. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  790. ^~
  791. cc1: warning: unknown register name: x18
  792. make[3]: *** [scripts/Makefile.build:279: drivers/input/input.o] Error 1
  793. make[3]: *** Waiting for unfinished jobs....
  794. CC drivers/input/keyboard-uclass.o
  795. make[1]: *** [Makefile:1629: common] Error 2
  796. make[3]: *** [scripts/Makefile.build:279: drivers/input/key_matrix.o] Error 1
  797. CC drivers/mmc/mmc_write.o
  798. CC drivers/core/fdtaddr.o
  799. cc1: warning: unknown register name: x18
  800. cc1: warning: unknown register name: x18
  801. CC cmd/bootm.o
  802. In file included from ./arch/arm/include/asm/bitops.h:18,
  803. from include/linux/bitops.h:136,
  804. from include/common.h:27,
  805. from drivers/core/device.c:11:
  806. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  807. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  808. word >>= 32;
  809. ^~~
  810. In file included from ./arch/arm/include/asm/bitops.h:179,
  811. from include/linux/bitops.h:136,
  812. from include/common.h:27,
  813. from drivers/core/device.c:11:
  814. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  815. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  816. if (!(word & (~0ul << 32))) {
  817. ^~
  818. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  819. word <<= 32;
  820. ^~~
  821. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  822. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  823. ^~
  824. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  825. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  826. ^~
  827. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  828. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  829. ^~
  830. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  831. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  832. ^~
  833. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  834. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  835. ^~
  836. CC drivers/core/lists.o
  837. CC drivers/mmc/sdhci.o
  838. cc1: warning: unknown register name: x18
  839. In file included from include/common.h:52,
  840. from drivers/mmc/mmc.c:10:
  841. include/dm/of.h: At top level:
  842. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  843. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  844. ^~
  845. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  846. DECLARE_GLOBAL_DATA_PTR;
  847. ^~~~~~~~~~~~~~~~~~~~~~~
  848. In file included from ./arch/arm/include/asm/bitops.h:18,
  849. from include/linux/bitops.h:136,
  850. from include/common.h:27,
  851. from drivers/input/keyboard-uclass.c:6:
  852. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  853. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  854. word >>= 32;
  855. ^~~
  856. In file included from ./arch/arm/include/asm/bitops.h:179,
  857. from include/linux/bitops.h:136,
  858. from include/common.h:27,
  859. from drivers/input/keyboard-uclass.c:6:
  860. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  861. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  862. if (!(word & (~0ul << 32))) {
  863. ^~
  864. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  865. word <<= 32;
  866. ^~~
  867. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  868. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  869. ^~
  870. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  871. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  872. ^~
  873. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  874. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  875. ^~
  876. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  877. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  878. ^~
  879. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  880. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  881. ^~
  882. In file included from ./arch/arm/include/asm/bitops.h:18,
  883. from include/linux/bitops.h:136,
  884. from include/common.h:27,
  885. from drivers/mmc/mmc_write.c:10:
  886. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  887. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  888. word >>= 32;
  889. ^~~
  890. In file included from ./arch/arm/include/asm/bitops.h:179,
  891. from include/linux/bitops.h:136,
  892. from include/common.h:27,
  893. from drivers/mmc/mmc_write.c:10:
  894. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  895. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  896. if (!(word & (~0ul << 32))) {
  897. ^~
  898. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  899. word <<= 32;
  900. ^~~
  901. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  902. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  903. ^~
  904. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  905. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  906. ^~
  907. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  908. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  909. ^~
  910. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  911. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  912. ^~
  913. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  914. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  915. ^~
  916. cc1: warning: unknown register name: x18
  917. In file included from ./arch/arm/include/asm/bitops.h:18,
  918. from include/linux/bitops.h:136,
  919. from include/common.h:27,
  920. from drivers/core/fdtaddr.c:11:
  921. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  922. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  923. word >>= 32;
  924. ^~~
  925. cc1: warning: unknown register name: x18
  926. In file included from ./arch/arm/include/asm/bitops.h:179,
  927. from include/linux/bitops.h:136,
  928. from include/common.h:27,
  929. from drivers/core/fdtaddr.c:11:
  930. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  931. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  932. if (!(word & (~0ul << 32))) {
  933. ^~
  934. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  935. word <<= 32;
  936. ^~~
  937. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  938. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  939. ^~
  940. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  941. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  942. ^~
  943. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  944. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  945. ^~
  946. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  947. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  948. ^~
  949. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  950. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  951. ^~
  952. In file included from ./arch/arm/include/asm/bitops.h:18,
  953. from include/linux/bitops.h:136,
  954. from include/common.h:27,
  955. from cmd/bootm.c:10:
  956. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  957. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  958. word >>= 32;
  959. ^~~
  960. In file included from include/common.h:52,
  961. from drivers/mmc/mmc-uclass.c:7:
  962. include/dm/of.h: At top level:
  963. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  964. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  965. ^~
  966. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  967. DECLARE_GLOBAL_DATA_PTR;
  968. ^~~~~~~~~~~~~~~~~~~~~~~
  969. In file included from ./arch/arm/include/asm/bitops.h:179,
  970. from include/linux/bitops.h:136,
  971. from include/common.h:27,
  972. from cmd/bootm.c:10:
  973. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  974. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  975. if (!(word & (~0ul << 32))) {
  976. ^~
  977. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  978. word <<= 32;
  979. ^~~
  980. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  981. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  982. ^~
  983. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  984. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  985. ^~
  986. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  987. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  988. ^~
  989. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  990. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  991. ^~
  992. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  993. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  994. ^~
  995. In file included from ./arch/arm/include/asm/bitops.h:18,
  996. from include/linux/bitops.h:136,
  997. from include/common.h:27,
  998. from drivers/core/lists.c:9:
  999. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1000. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1001. word >>= 32;
  1002. ^~~
  1003. In file included from ./arch/arm/include/asm/bitops.h:179,
  1004. from include/linux/bitops.h:136,
  1005. from include/common.h:27,
  1006. from drivers/core/lists.c:9:
  1007. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1008. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1009. if (!(word & (~0ul << 32))) {
  1010. ^~
  1011. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1012. word <<= 32;
  1013. ^~~
  1014. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1015. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1016. ^~
  1017. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1018. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1019. ^~
  1020. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1021. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1022. ^~
  1023. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1024. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1025. ^~
  1026. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1027. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1028. ^~
  1029. make[3]: *** [scripts/Makefile.build:278: drivers/mmc/mmc-uclass.o] Error 1
  1030. make[3]: *** Waiting for unfinished jobs....
  1031. In file included from include/common.h:52,
  1032. from drivers/core/device.c:11:
  1033. include/dm/of.h: At top level:
  1034. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1035. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1036. ^~
  1037. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1038. DECLARE_GLOBAL_DATA_PTR;
  1039. ^~~~~~~~~~~~~~~~~~~~~~~
  1040. cc1: warning: unknown register name: x18
  1041. In file included from include/common.h:52,
  1042. from drivers/mmc/mmc_write.c:10:
  1043. include/dm/of.h: At top level:
  1044. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1045. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1046. ^~
  1047. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1048. DECLARE_GLOBAL_DATA_PTR;
  1049. ^~~~~~~~~~~~~~~~~~~~~~~
  1050. In file included from include/common.h:52,
  1051. from drivers/core/device.c:11:
  1052. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1053. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1054. ^~
  1055. drivers/core/device.c:31:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1056. DECLARE_GLOBAL_DATA_PTR;
  1057. ^~~~~~~~~~~~~~~~~~~~~~~
  1058. In file included from include/common.h:52,
  1059. from drivers/core/fdtaddr.c:11:
  1060. include/dm/of.h: At top level:
  1061. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1062. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1063. ^~
  1064. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1065. DECLARE_GLOBAL_DATA_PTR;
  1066. ^~~~~~~~~~~~~~~~~~~~~~~
  1067. In file included from ./arch/arm/include/asm/bitops.h:18,
  1068. from include/linux/bitops.h:136,
  1069. from include/common.h:27,
  1070. from drivers/mmc/sdhci.c:10:
  1071. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1072. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1073. word >>= 32;
  1074. ^~~
  1075. In file included from include/common.h:52,
  1076. from drivers/input/keyboard-uclass.c:6:
  1077. include/dm/of.h: At top level:
  1078. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1079. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1080. ^~
  1081. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1082. DECLARE_GLOBAL_DATA_PTR;
  1083. ^~~~~~~~~~~~~~~~~~~~~~~
  1084. In file included from ./arch/arm/include/asm/bitops.h:179,
  1085. from include/linux/bitops.h:136,
  1086. from include/common.h:27,
  1087. from drivers/mmc/sdhci.c:10:
  1088. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1089. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1090. if (!(word & (~0ul << 32))) {
  1091. ^~
  1092. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1093. word <<= 32;
  1094. ^~~
  1095. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1096. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1097. ^~
  1098. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1099. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1100. ^~
  1101. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1102. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1103. ^~
  1104. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1105. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1106. ^~
  1107. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1108. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1109. ^~
  1110. make[3]: *** [scripts/Makefile.build:278: drivers/mmc/mmc_write.o] Error 1
  1111. make[3]: *** [scripts/Makefile.build:278: drivers/mmc/mmc.o] Error 1
  1112. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1113. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1114. ^~
  1115. drivers/core/fdtaddr.c:17:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1116. DECLARE_GLOBAL_DATA_PTR;
  1117. ^~~~~~~~~~~~~~~~~~~~~~~
  1118. In file included from include/common.h:52,
  1119. from cmd/bootm.c:10:
  1120. include/dm/of.h: At top level:
  1121. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1122. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1123. ^~
  1124. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1125. DECLARE_GLOBAL_DATA_PTR;
  1126. ^~~~~~~~~~~~~~~~~~~~~~~
  1127. CC cmd/version.o
  1128. CC drivers/core/root.o
  1129. make[3]: *** [scripts/Makefile.build:279: drivers/input/keyboard-uclass.o] Error 1
  1130. make[2]: *** [scripts/Makefile.build:432: drivers/input] Error 2
  1131. make[3]: *** [scripts/Makefile.build:278: drivers/core/device.o] Error 1
  1132. make[3]: *** Waiting for unfinished jobs....
  1133. In file included from include/common.h:52,
  1134. from drivers/core/lists.c:9:
  1135. include/dm/of.h: At top level:
  1136. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1137. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1138. ^~
  1139. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1140. DECLARE_GLOBAL_DATA_PTR;
  1141. ^~~~~~~~~~~~~~~~~~~~~~~
  1142. make[3]: *** [scripts/Makefile.build:278: drivers/core/fdtaddr.o] Error 1
  1143. cc1: warning: unknown register name: x18
  1144. CC drivers/core/uclass.o
  1145. CC cmd/bdinfo.o
  1146. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1147. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1148. ^~
  1149. cmd/bootm.c:23:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1150. DECLARE_GLOBAL_DATA_PTR;
  1151. ^~~~~~~~~~~~~~~~~~~~~~~
  1152. cc1: warning: unknown register name: x18
  1153. CC cmd/blkcache.o
  1154. cc1: warning: unknown register name: x18
  1155. CC cmd/bootefi.o
  1156. make[3]: *** [scripts/Makefile.build:278: drivers/core/lists.o] Error 1
  1157. make[2]: *** [scripts/Makefile.build:279: cmd/bootm.o] Error 1
  1158. make[2]: *** Waiting for unfinished jobs....
  1159. In file included from ./arch/arm/include/asm/bitops.h:18,
  1160. from include/linux/bitops.h:136,
  1161. from include/common.h:27,
  1162. from cmd/version.c:7:
  1163. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1164. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1165. word >>= 32;
  1166. ^~~
  1167. In file included from ./arch/arm/include/asm/bitops.h:179,
  1168. from include/linux/bitops.h:136,
  1169. from include/common.h:27,
  1170. from cmd/version.c:7:
  1171. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1172. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1173. if (!(word & (~0ul << 32))) {
  1174. ^~
  1175. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1176. word <<= 32;
  1177. ^~~
  1178. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1179. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1180. ^~
  1181. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1182. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1183. ^~
  1184. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1185. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1186. ^~
  1187. cc1: warning: unknown register name: x18
  1188. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1189. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1190. ^~
  1191. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1192. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1193. ^~
  1194. CC cmd/booti.o
  1195. In file included from ./arch/arm/include/asm/bitops.h:18,
  1196. from include/linux/bitops.h:136,
  1197. from include/common.h:27,
  1198. from drivers/core/root.c:9:
  1199. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1200. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1201. word >>= 32;
  1202. ^~~
  1203. In file included from ./arch/arm/include/asm/bitops.h:179,
  1204. from include/linux/bitops.h:136,
  1205. from include/common.h:27,
  1206. from drivers/core/root.c:9:
  1207. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1208. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1209. if (!(word & (~0ul << 32))) {
  1210. ^~
  1211. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1212. word <<= 32;
  1213. ^~~
  1214. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1215. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1216. ^~
  1217. cc1: warning: unknown register name: x18
  1218. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1219. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1220. ^~
  1221. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1222. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1223. ^~
  1224. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1225. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1226. ^~
  1227. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1228. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1229. ^~
  1230. cc1: warning: unknown register name: x18
  1231. In file included from ./arch/arm/include/asm/bitops.h:18,
  1232. from include/linux/bitops.h:136,
  1233. from include/common.h:27,
  1234. from drivers/core/uclass.c:9:
  1235. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1236. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1237. word >>= 32;
  1238. ^~~
  1239. In file included from ./arch/arm/include/asm/bitops.h:179,
  1240. from include/linux/bitops.h:136,
  1241. from include/common.h:27,
  1242. from drivers/core/uclass.c:9:
  1243. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1244. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1245. if (!(word & (~0ul << 32))) {
  1246. ^~
  1247. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1248. word <<= 32;
  1249. ^~~
  1250. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1251. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1252. ^~
  1253. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1254. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1255. ^~
  1256. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1257. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1258. ^~
  1259. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1260. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1261. ^~
  1262. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1263. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1264. ^~
  1265. In file included from include/common.h:52,
  1266. from drivers/mmc/sdhci.c:10:
  1267. include/dm/of.h: At top level:
  1268. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1269. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1270. ^~
  1271. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1272. DECLARE_GLOBAL_DATA_PTR;
  1273. ^~~~~~~~~~~~~~~~~~~~~~~
  1274. In file included from ./arch/arm/include/asm/bitops.h:18,
  1275. from include/linux/bitops.h:136,
  1276. from include/common.h:27,
  1277. from cmd/blkcache.c:8:
  1278. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1279. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1280. word >>= 32;
  1281. ^~~
  1282. In file included from ./arch/arm/include/asm/bitops.h:179,
  1283. from include/linux/bitops.h:136,
  1284. from include/common.h:27,
  1285. from cmd/blkcache.c:8:
  1286. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1287. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1288. if (!(word & (~0ul << 32))) {
  1289. ^~
  1290. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1291. word <<= 32;
  1292. ^~~
  1293. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1294. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1295. ^~
  1296. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1297. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1298. ^~
  1299. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1300. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1301. ^~
  1302. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1303. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1304. ^~
  1305. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1306. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1307. ^~
  1308. In file included from ./arch/arm/include/asm/bitops.h:18,
  1309. from include/linux/bitops.h:136,
  1310. from include/common.h:27,
  1311. from cmd/bootefi.c:8:
  1312. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1313. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1314. word >>= 32;
  1315. ^~~
  1316. In file included from ./arch/arm/include/asm/bitops.h:18,
  1317. from include/linux/bitops.h:136,
  1318. from include/common.h:27,
  1319. from cmd/bdinfo.c:10:
  1320. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1321. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1322. word >>= 32;
  1323. ^~~
  1324. In file included from ./arch/arm/include/asm/bitops.h:179,
  1325. from include/linux/bitops.h:136,
  1326. from include/common.h:27,
  1327. from cmd/bootefi.c:8:
  1328. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1329. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1330. if (!(word & (~0ul << 32))) {
  1331. ^~
  1332. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1333. word <<= 32;
  1334. ^~~
  1335. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1336. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1337. ^~
  1338. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1339. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1340. ^~
  1341. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1342. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1343. ^~
  1344. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1345. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1346. ^~
  1347. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1348. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1349. ^~
  1350. In file included from ./arch/arm/include/asm/bitops.h:179,
  1351. from include/linux/bitops.h:136,
  1352. from include/common.h:27,
  1353. from cmd/bdinfo.c:10:
  1354. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1355. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1356. if (!(word & (~0ul << 32))) {
  1357. ^~
  1358. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1359. word <<= 32;
  1360. ^~~
  1361. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1362. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1363. ^~
  1364. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1365. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1366. ^~
  1367. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1368. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1369. ^~
  1370. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1371. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1372. ^~
  1373. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1374. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1375. ^~
  1376. cc1: warning: unknown register name: x18
  1377. In file included from ./arch/arm/include/asm/bitops.h:18,
  1378. from include/linux/bitops.h:136,
  1379. from include/common.h:27,
  1380. from cmd/booti.c:7:
  1381. include/asm-generic/bitops/__ffs.h: In function ‘__ffs’:
  1382. include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
  1383. word >>= 32;
  1384. ^~~
  1385. In file included from ./arch/arm/include/asm/bitops.h:179,
  1386. from include/linux/bitops.h:136,
  1387. from include/common.h:27,
  1388. from cmd/booti.c:7:
  1389. include/asm-generic/bitops/__fls.h: In function ‘__fls’:
  1390. include/asm-generic/bitops/__fls.h:17:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1391. if (!(word & (~0ul << 32))) {
  1392. ^~
  1393. include/asm-generic/bitops/__fls.h:19:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  1394. word <<= 32;
  1395. ^~~
  1396. include/asm-generic/bitops/__fls.h:22:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1397. if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  1398. ^~
  1399. include/asm-generic/bitops/__fls.h:26:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1400. if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  1401. ^~
  1402. include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1403. if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  1404. ^~
  1405. include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1406. if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  1407. ^~
  1408. include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  1409. if (!(word & (~0ul << (BITS_PER_LONG-1))))
  1410. ^~
  1411. make[3]: *** [scripts/Makefile.build:278: drivers/mmc/sdhci.o] Error 1
  1412. make[2]: *** [scripts/Makefile.build:432: drivers/mmc] Error 2
  1413. In file included from include/common.h:52,
  1414. from drivers/core/root.c:9:
  1415. include/dm/of.h: At top level:
  1416. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1417. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1418. ^~
  1419. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1420. DECLARE_GLOBAL_DATA_PTR;
  1421. ^~~~~~~~~~~~~~~~~~~~~~~
  1422. In file included from include/common.h:52,
  1423. from drivers/core/uclass.c:9:
  1424. include/dm/of.h: At top level:
  1425. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1426. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1427. ^~
  1428. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1429. DECLARE_GLOBAL_DATA_PTR;
  1430. ^~~~~~~~~~~~~~~~~~~~~~~
  1431. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1432. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1433. ^~
  1434. drivers/core/root.c:26:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1435. DECLARE_GLOBAL_DATA_PTR;
  1436. ^~~~~~~~~~~~~~~~~~~~~~~
  1437. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1438. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1439. ^~
  1440. drivers/core/uclass.c:20:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1441. DECLARE_GLOBAL_DATA_PTR;
  1442. ^~~~~~~~~~~~~~~~~~~~~~~
  1443. make[3]: *** [scripts/Makefile.build:278: drivers/core/root.o] Error 1
  1444. In file included from include/common.h:52,
  1445. from cmd/bdinfo.c:10:
  1446. cmd/bdinfo.c: At top level:
  1447. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1448. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1449. ^~
  1450. cmd/bdinfo.c:15:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1451. DECLARE_GLOBAL_DATA_PTR;
  1452. ^~~~~~~~~~~~~~~~~~~~~~~
  1453. In file included from include/common.h:52,
  1454. from cmd/bootefi.c:8:
  1455. include/dm/of.h: At top level:
  1456. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1457. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1458. ^~
  1459. include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1460. DECLARE_GLOBAL_DATA_PTR;
  1461. ^~~~~~~~~~~~~~~~~~~~~~~
  1462. make[2]: *** [scripts/Makefile.build:278: cmd/bdinfo.o] Error 1
  1463. make[3]: *** [scripts/Makefile.build:278: drivers/core/uclass.o] Error 1
  1464. make[2]: *** [scripts/Makefile.build:432: drivers/core] Error 2
  1465. make[1]: *** [Makefile:1629: drivers] Error 2
  1466. ./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
  1467. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
  1468. ^~
  1469. cmd/bootefi.c:23:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
  1470. DECLARE_GLOBAL_DATA_PTR;
  1471. ^~~~~~~~~~~~~~~~~~~~~~~
  1472. make[2]: *** [scripts/Makefile.build:278: cmd/bootefi.o] Error 1
  1473. make[1]: *** [Makefile:1629: cmd] Error 2
  1474. make[1]: Leaving directory '/home/ben/src/work/hypervolt/img/buildroot/output/build/uboot-2019.10'
  1475. make: *** [package/pkg-generic.mk:241: /home/ben/src/work/hypervolt/img/buildroot/output/build/uboot-2019.10/.stamp_built] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement