Advertisement
Guest User

output build kernel

a guest
Apr 10th, 2021
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.22 KB | None | 0 0
  1. (chroot) c8000 /usr/src/linux # genkernel all --loglevel=5 --kernel-config=/root/.config
  2. portageq: no python-exec wrapped executable found in /usr/lib/python-exec.
  3. portageq: no python-exec wrapped executable found in /usr/lib/python-exec.
  4. * CMD_LOGLEVEL: 5
  5. * CMD_KERNEL_CONFIG: /root/.config
  6. * Gentoo Linux Genkernel; Version 4.2.1
  7. * Using genkernel configuration from '/etc/genkernel.conf' ...
  8. * Running with options: all --loglevel=5 --kernel-config=/root/.config
  9. * Resolving config file, command line, and arch default settings.
  10. * TMPDIR defaulted to "/var/tmp/genkernel".
  11. * LOGFILE set in config file to "/var/log/genkernel.log".
  12. * KERNEL_DIR defaulted to "/usr/src/linux".
  13. * KERNEL_MODULES_PREFIX not set.
  14. * KERNEL_SOURCES defaulted to "yes".
  15. * INITRAMFS_FILENAME defaulted to "initramfs-%%KV%%.img".
  16. * INITRAMFS_SYMLINK_NAME defaulted to "initramfs".
  17. * KERNEL_CONFIG_FILENAME defaulted to "kernel-config-%%KV%%".
  18. * KERNEL_FILENAME defaulted to "vmlinuz-%%KV%%".
  19. * KERNEL_SYMLINK_NAME defaulted to "kernel".
  20. * SYSTEMMAP_FILENAME defaulted to "System.map-%%KV%%".
  21. * SYSTEMMAP_SYMLINK_NAME defaulted to "System.map".
  22. * CHECK_FREE_DISK_SPACE_BOOTDIR not set.
  23. * CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR not set.
  24. * COMPRESS_INITRD defaulted to "yes".
  25. * COMPRESS_INITRD_TYPE defaulted to "best".
  26. * CHOST defaulted to "hppa2.0-unknown-linux-gnu".
  27. * MAKEOPTS defaulted to " -j4".
  28. * NICE defaulted to "10".
  29. * KERNEL_AS defaulted to "as".
  30. * KERNEL_AR defaulted to "ar".
  31. * KERNEL_CC defaulted to "gcc".
  32. * KERNEL_CFLAGS not set.
  33. * KERNEL_CXX defaulted to "g++".
  34. * KERNEL_LD defaulted to "ld".
  35. * KERNEL_NM defaulted to "nm".
  36. * KERNEL_MAKE defaulted to "make".
  37. * KERNEL_OBJCOPY defaulted to "objcopy".
  38. * KERNEL_OBJDUMP defaulted to "objdump".
  39. * KERNEL_RANLIB defaulted to "ranlib".
  40. * KERNEL_READELF defaulted to "readelf".
  41. * KERNEL_STRIP defaulted to "strip".
  42. * UTILS_AS defaulted to "as".
  43. * UTILS_AR defaulted to "ar".
  44. * UTILS_CC defaulted to "gcc".
  45. * UTILS_CFLAGS defaulted to "-Os -pipe -fomit-frame-pointer".
  46. * UTILS_CXX defaulted to "g++".
  47. * UTILS_LD defaulted to "ld".
  48. * UTILS_NM defaulted to "nm".
  49. * UTILS_MAKE defaulted to "make".
  50. * UTILS_OBJCOPY defaulted to "objcopy".
  51. * UTILS_OBJDUMP defaulted to "objdump".
  52. * UTILS_RANLIB defaulted to "ranlib".
  53. * UTILS_READELF defaulted to "readelf".
  54. * UTILS_STRIP defaulted to "strip".
  55. * CROSS_COMPILE not set.
  56. * BOOTDIR defaulted to "/boot".
  57. * KERNEL_APPEND_LOCALVERSION not set.
  58. * KERNEL_LOCALVERSION defaulted to "-%%ARCH%%".
  59. * MODPROBEDIR defaulted to "/etc/modprobe.d".
  60. * SPLASH defaulted to "no".
  61. * CLEAR_CACHEDIR defaulted to "no".
  62. * POSTCLEAR defaulted to "no".
  63. * MRPROPER defaulted to "yes".
  64. * MENUCONFIG defaulted to "no".
  65. * GCONFIG defaulted to "no".
  66. * NCONFIG defaulted to "no".
  67. * XCONFIG defaulted to "no".
  68. * CLEAN defaulted to "yes".
  69. * MINKERNPACKAGE not set.
  70. * MODULESPACKAGE not set.
  71. * MODULEREBUILD defaulted to "yes".
  72. * MODULEREBUILD_CMD defaulted to "emerge --ignore-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild".
  73. * KERNCACHE not set.
  74. * RAMDISKMODULES defaulted to "yes".
  75. * ALLRAMDISKMODULES defaulted to "no".
  76. * INITRAMFS_OVERLAY not set.
  77. * LINUXRC not set.
  78. * MOUNTBOOT defaulted to "yes".
  79. * BUILD_STATIC defaulted to "no".
  80. * SAVE_CONFIG defaulted to "yes".
  81. * SYMLINK defaulted to "no".
  82. * OLDCONFIG defaulted to "yes".
  83. * SANDBOX defaulted to "yes".
  84. * SSH defaulted to "no".
  85. * SSH_AUTHORIZED_KEYS_FILE defaulted to "/etc/dropbear/authorized_keys".
  86. * SSH_HOST_KEYS defaulted to "create".
  87. * STRACE defaulted to "no".
  88. * BCACHE defaulted to "no".
  89. * LVM defaulted to "no".
  90. * DMRAID defaulted to "no".
  91. * ISCSI defaulted to "no".
  92. * HYPERV defaulted to "no".
  93. * BOOTFONT defaulted to "none".
  94. * BOOTLOADER defaulted to "no".
  95. * B2SUM defaulted to "no".
  96. * BUSYBOX defaulted to "yes".
  97. * BUSYBOX_CONFIG not set.
  98. * NFS defaulted to "yes".
  99. * MICROCODE defaulted to "all".
  100. * MICROCODE_INITRAMFS defaulted to "no".
  101. * UNIONFS defaulted to "no".
  102. * NETBOOT defaulted to "no".
  103. * REAL_ROOT not set.
  104. * LUKS defaulted to "no".
  105. * GPG defaulted to "no".
  106. * MDADM defaulted to "no".
  107. * MDADM_CONFIG not set.
  108. * E2FSPROGS defaulted to "no".
  109. * XFSPROGS defaulted to "no".
  110. * ZFS defaulted to "no".
  111. * BTRFS defaulted to "no".
  112. * VIRTIO defaulted to "no".
  113. * MULTIPATH defaulted to "no".
  114. * FIRMWARE defaulted to "no".
  115. * FIRMWARE_DIR defaulted to "/lib/firmware".
  116. * FIRMWARE_FILES not set.
  117. * FIRMWARE_INSTALL defaulted to "no".
  118. * INTEGRATED_INITRAMFS defaulted to "no".
  119. * WRAP_INITRD defaulted to "no".
  120. * GENZIMAGE defaulted to "no".
  121. * KEYMAP defaulted to "yes".
  122. * DOKEYMAPAUTO defaulted to "no".
  123. * STRIP_TYPE defaulted to "modules".
  124. * INSTALL defaulted to "yes".
  125. * CLEANUP defaulted to "yes".
  126. * KERNEL_OUTPUTDIR defaulted to "/usr/src/linux".
  127. * Read 'parisc64' from 'uname -m' ...
  128. * ARCH 'parisc64' detected ...
  129. * CBUILD set to 'hppa2.0-unknown-linux-gnu' ...
  130. * CHOST set to 'hppa2.0-unknown-linux-gnu' ...
  131.  
  132. * Sourcing default modules_load from '/usr/share/genkernel/defaults/modules_load' ...
  133. * Sourcing arch-specific config.sh from '/usr/share/genkernel/arch/parisc64/config.sh' ...
  134. * Sourcing arch-specific modules_load from '/usr/share/genkernel/arch/parisc64/modules_load' ...
  135. * Unable to determine LOCALVERSION -- maybe cleaned/fresh sources?
  136. * KERNEL_ARCH set to 'parisc' ...
  137.  
  138. * GK_FILENAME_CONFIG set to 'kernel-config-5.11.11-gentoo' (was: 'kernel-config-%%KV%%')
  139. * GK_FILENAME_KERNEL set to 'vmlinuz-5.11.11-gentoo' (was: 'vmlinuz-%%KV%%')
  140. * GK_FILENAME_KERNEL_SYMLINK set to 'kernel' (was: 'kernel')
  141. * GK_FILENAME_SYSTEMMAP set to 'System.map-5.11.11-gentoo' (was: 'System.map-%%KV%%')
  142. * GK_FILENAME_SYSTEMMAP_SYMLINK set to 'System.map' (was: 'System.map')
  143. * GK_FILENAME_INITRAMFS set to 'initramfs-5.11.11-gentoo.img' (was: 'initramfs-%%KV%%.img')
  144. * GK_FILENAME_INITRAMFS_SYMLINK set to 'initramfs' (was: 'initramfs')
  145. * Checking for suitable kernel configuration ...
  146.  
  147. * Working with Linux kernel 5.11.11-gentoo for parisc64
  148. * Using kernel config file '/root/.config' ...
  149. *
  150. * Note: The version above is subject to change (depends on config and status of kernel sources).
  151.  
  152. * mount: >> Boot partition is already mounted in read-write mode on '/boot'.
  153.  
  154. * kernel: >> Initializing ...
  155. * >> --mrproper is set; Skipping 'make clean' ...
  156. * >> Running 'make mrproper' ...
  157. COMMAND: nice -n10 make -j4 ARCH='parisc' AS='hppa2.0-unknown-linux-gnu-as' AR='hppa2.0-unknown-linux-gnu-ar' CC='hppa2.0-unknown-linux-gnu-gcc' LD='hppa2.0-unknown-linux-gnu-ld' NM='hppa2.0-unknown-linux-gnu-nm' OBJCOPY='hppa2.0-unknown-linux-gnu-objcopy' OBJDUMP='hppa2.0-unknown-linux-gnu-objdump' READELF='hppa2.0-unknown-linux-gnu-readelf' STRIP='hppa2.0-unknown-linux-gnu-strip' HOSTAR='hppa2.0-unknown-linux-gnu-ar' HOSTCC='hppa2.0-unknown-linux-gnu-gcc' HOSTCXX='hppa2.0-unknown-linux-gnu-g++' HOSTLD='hppa2.0-unknown-linux-gnu-ld' mrproper
  158. CLEAN scripts/basic
  159. CLEAN scripts/kconfig
  160. * >> Copying '/root/.config' to '/usr/src/linux/.config' ...
  161. * >> Running 'make oldconfig' ...
  162. COMMAND: nice -n10 make -j4 ARCH='parisc' AS='hppa2.0-unknown-linux-gnu-as' AR='hppa2.0-unknown-linux-gnu-ar' CC='hppa2.0-unknown-linux-gnu-gcc' LD='hppa2.0-unknown-linux-gnu-ld' NM='hppa2.0-unknown-linux-gnu-nm' OBJCOPY='hppa2.0-unknown-linux-gnu-objcopy' OBJDUMP='hppa2.0-unknown-linux-gnu-objdump' READELF='hppa2.0-unknown-linux-gnu-readelf' STRIP='hppa2.0-unknown-linux-gnu-strip' HOSTAR='hppa2.0-unknown-linux-gnu-ar' HOSTCC='hppa2.0-unknown-linux-gnu-gcc' HOSTCXX='hppa2.0-unknown-linux-gnu-g++' HOSTLD='hppa2.0-unknown-linux-gnu-ld' oldconfig
  163. HOSTCC scripts/basic/fixdep
  164. HOSTCC scripts/kconfig/conf.o
  165. HOSTCC scripts/kconfig/confdata.o
  166. HOSTCC scripts/kconfig/expr.o
  167. LEX scripts/kconfig/lexer.lex.c
  168. YACC scripts/kconfig/parser.tab.[ch]
  169. HOSTCC scripts/kconfig/preprocess.o
  170. HOSTCC scripts/kconfig/symbol.o
  171. HOSTCC scripts/kconfig/util.o
  172. HOSTCC scripts/kconfig/lexer.lex.o
  173. HOSTCC scripts/kconfig/parser.tab.o
  174. HOSTLD scripts/kconfig/conf
  175. #
  176. # configuration written to .config
  177. #
  178. * >> Ensure that required kernel options for genkernel's initramfs usage are set ...
  179. * - Option 'CONFIG_BLK_DEV_INITRD=y' already set in '/usr/src/linux/.config'; Skipping ...
  180. * - Option 'CONFIG_MMU=y' already set in '/usr/src/linux/.config'; Skipping ...
  181. * - Option 'CONFIG_SHMEM=y' already set in '/usr/src/linux/.config'; Skipping ...
  182. * - Option 'CONFIG_TMPFS=y' already set in '/usr/src/linux/.config'; Skipping ...
  183. * - Option 'CONFIG_TTY=y' already set in '/usr/src/linux/.config'; Skipping ...
  184. * - Option 'CONFIG_UNIX98_PTYS=y' already set in '/usr/src/linux/.config'; Skipping ...
  185. * Determining 'BEST' compression method for initramfs using kernel config '/usr/src/linux/.config' ...
  186. * Checking if we can use 'XZ' compression ...
  187. * Will use 'XZ' compression -- all requirements are met!
  188. * - Option 'CONFIG_RD_XZ=y' already set in '/usr/src/linux/.config'; Skipping ...
  189. * >> Ensure that CONFIG_LOCALVERSION is set ...
  190. * - Setting option 'CONFIG_LOCALVERSION' to '"-parisc64"' in '/usr/src/linux/.config'...
  191. * >> Ignoring --microcode parameter; Architecture does not support microcode loading ...
  192. * >> Re-running 'make oldconfig' due to changed kernel options ...
  193. COMMAND: nice -n10 make -j4 ARCH='parisc' AS='hppa2.0-unknown-linux-gnu-as' AR='hppa2.0-unknown-linux-gnu-ar' CC='hppa2.0-unknown-linux-gnu-gcc' LD='hppa2.0-unknown-linux-gnu-ld' NM='hppa2.0-unknown-linux-gnu-nm' OBJCOPY='hppa2.0-unknown-linux-gnu-objcopy' OBJDUMP='hppa2.0-unknown-linux-gnu-objdump' READELF='hppa2.0-unknown-linux-gnu-readelf' STRIP='hppa2.0-unknown-linux-gnu-strip' HOSTAR='hppa2.0-unknown-linux-gnu-ar' HOSTCC='hppa2.0-unknown-linux-gnu-gcc' HOSTCXX='hppa2.0-unknown-linux-gnu-g++' HOSTLD='hppa2.0-unknown-linux-gnu-ld' oldconfig
  194. #
  195. # No change to .config
  196. #
  197. * >> Checking if required kernel options are still present ...
  198. * - 'CONFIG_TMPFS' is set to 'y'
  199. * - 'CONFIG_TTY' is set to 'y'
  200. * - 'CONFIG_UNIX98_PTYS' is set to 'y'
  201. * - 'CONFIG_RD_XZ' is set to 'y'
  202. COMMAND: nice -n10 make -j4 ARCH='parisc' AS='hppa2.0-unknown-linux-gnu-as' AR='hppa2.0-unknown-linux-gnu-ar' CC='hppa2.0-unknown-linux-gnu-gcc' LD='hppa2.0-unknown-linux-gnu-ld' NM='hppa2.0-unknown-linux-gnu-nm' OBJCOPY='hppa2.0-unknown-linux-gnu-objcopy' OBJDUMP='hppa2.0-unknown-linux-gnu-objdump' READELF='hppa2.0-unknown-linux-gnu-readelf' STRIP='hppa2.0-unknown-linux-gnu-strip' HOSTAR='hppa2.0-unknown-linux-gnu-ar' HOSTCC='hppa2.0-unknown-linux-gnu-gcc' HOSTCXX='hppa2.0-unknown-linux-gnu-g++' HOSTLD='hppa2.0-unknown-linux-gnu-ld' prepare
  203. SYNC include/config/auto.conf.cmd
  204. SYSTBL arch/parisc/include/generated/asm/syscall_table_32.h
  205. SYSTBL arch/parisc/include/generated/asm/syscall_table_c32.h
  206. SYSTBL arch/parisc/include/generated/asm/syscall_table_64.h
  207. WRAP arch/parisc/include/generated/uapi/asm/auxvec.h
  208. WRAP arch/parisc/include/generated/uapi/asm/bpf_perf_event.h
  209. SYSHDR arch/parisc/include/generated/uapi/asm/unistd_32.h
  210. WRAP arch/parisc/include/generated/uapi/asm/param.h
  211. WRAP arch/parisc/include/generated/uapi/asm/poll.h
  212. SYSHDR arch/parisc/include/generated/uapi/asm/unistd_64.h
  213. WRAP arch/parisc/include/generated/uapi/asm/resource.h
  214. WRAP arch/parisc/include/generated/uapi/asm/siginfo.h
  215. WRAP arch/parisc/include/generated/uapi/asm/sockios.h
  216. WRAP arch/parisc/include/generated/uapi/asm/types.h
  217. WRAP arch/parisc/include/generated/asm/kvm_para.h
  218. WRAP arch/parisc/include/generated/asm/mcs_spinlock.h
  219. WRAP arch/parisc/include/generated/asm/user.h
  220. WRAP arch/parisc/include/generated/asm/current.h
  221. WRAP arch/parisc/include/generated/asm/device.h
  222. WRAP arch/parisc/include/generated/asm/div64.h
  223. WRAP arch/parisc/include/generated/asm/emergency-restart.h
  224. UPD include/config/kernel.release
  225. WRAP arch/parisc/include/generated/asm/exec.h
  226. WRAP arch/parisc/include/generated/asm/hw_irq.h
  227. WRAP arch/parisc/include/generated/asm/irq_regs.h
  228. WRAP arch/parisc/include/generated/asm/irq_work.h
  229. WRAP arch/parisc/include/generated/asm/kdebug.h
  230. WRAP arch/parisc/include/generated/asm/kmap_size.h
  231. WRAP arch/parisc/include/generated/asm/local.h
  232. WRAP arch/parisc/include/generated/asm/local64.h
  233. WRAP arch/parisc/include/generated/asm/mm-arch-hooks.h
  234. WRAP arch/parisc/include/generated/asm/mmiowb.h
  235. WRAP arch/parisc/include/generated/asm/module.lds.h
  236. WRAP arch/parisc/include/generated/asm/msi.h
  237. UPD include/generated/uapi/linux/version.h
  238. WRAP arch/parisc/include/generated/asm/percpu.h
  239. WRAP arch/parisc/include/generated/asm/preempt.h
  240. WRAP arch/parisc/include/generated/asm/rwonce.h
  241. WRAP arch/parisc/include/generated/asm/simd.h
  242. WRAP arch/parisc/include/generated/asm/trace_clock.h
  243. WRAP arch/parisc/include/generated/asm/vermagic.h
  244. WRAP arch/parisc/include/generated/asm/vga.h
  245. WRAP arch/parisc/include/generated/asm/xor.h
  246. WRAP arch/parisc/include/generated/asm/word-at-a-time.h
  247. UPD include/generated/utsrelease.h
  248. HOSTCC scripts/kallsyms
  249. HOSTCC scripts/sorttable
  250. HOSTCC scripts/genksyms/genksyms.o
  251. YACC scripts/genksyms/parse.tab.[ch]
  252. LEX scripts/genksyms/lex.lex.c
  253. HOSTCC scripts/genksyms/parse.tab.o
  254. HOSTCC scripts/genksyms/lex.lex.o
  255. HOSTLD scripts/genksyms/genksyms
  256. CC scripts/mod/empty.o
  257. HOSTCC scripts/mod/mk_elfconfig
  258. CC scripts/mod/devicetable-offsets.s
  259. UPD scripts/mod/devicetable-offsets.h
  260. MKELF scripts/mod/elfconfig.h
  261. HOSTCC scripts/mod/file2alias.o
  262. HOSTCC scripts/mod/modpost.o
  263. HOSTCC scripts/mod/sumversion.o
  264. HOSTLD scripts/mod/modpost
  265. CC kernel/bounds.s
  266. CALL scripts/atomic/check-atomics.sh
  267. UPD include/generated/timeconst.h
  268. In file included from ./arch/parisc/include/asm/processor.h:17,
  269. from ./arch/parisc/include/asm/spinlock.h:7,
  270. from ./arch/parisc/include/asm/atomic.h:22,
  271. from ./include/linux/atomic.h:7,
  272. from ./arch/parisc/include/asm/bitops.h:13,
  273. from ./include/linux/bitops.h:32,
  274. from ./include/linux/kernel.h:11,
  275. from ./arch/parisc/include/asm/bug.h:5,
  276. from ./include/linux/bug.h:5,
  277. from ./include/linux/page-flags.h:10,
  278. from kernel/bounds.c:10:
  279. ./arch/parisc/include/asm/pdc.h:75:10: warning: 'struct pdc_memory_table' declared inside parameter list will not be visible outside of this definition or declaration
  280. 75 | struct pdc_memory_table *tbl, unsigned long entries);
  281. | ^~~~~~~~~~~~~~~~
  282. ./arch/parisc/include/asm/pdc.h:74:30: warning: 'struct pdc_memory_table_raddr' declared inside parameter list will not be visible outside of this definition or declaration
  283. 74 | int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
  284. | ^~~~~~~~~~~~~~~~~~~~~~
  285. In file included from ./arch/parisc/include/asm/bitops.h:203,
  286. from ./include/linux/bitops.h:32,
  287. from ./include/linux/kernel.h:11,
  288. from ./arch/parisc/include/asm/bug.h:5,
  289. from ./include/linux/bug.h:5,
  290. from ./include/linux/page-flags.h:10,
  291. from kernel/bounds.c:10:
  292. ./include/asm-generic/bitops/__fls.h: In function '__fls':
  293. ./include/asm-generic/bitops/__fls.h:18:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  294. 18 | if (!(word & (~0ul << 32))) {
  295. | ^~
  296. ./include/asm-generic/bitops/__fls.h:20:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  297. 20 | word <<= 32;
  298. | ^~~
  299. ./include/asm-generic/bitops/__fls.h:23:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  300. 23 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  301. | ^~
  302. ./include/asm-generic/bitops/__fls.h:27:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  303. 27 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  304. | ^~
  305. ./include/asm-generic/bitops/__fls.h:31:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  306. 31 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  307. | ^~
  308. ./include/asm-generic/bitops/__fls.h:35:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  309. 35 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  310. | ^~
  311. ./include/asm-generic/bitops/__fls.h:39:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  312. 39 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  313. | ^~
  314. UPD include/generated/bounds.h
  315. CC arch/parisc/kernel/asm-offsets.s
  316. In file included from ./arch/parisc/include/asm/processor.h:17,
  317. from ./arch/parisc/include/asm/spinlock.h:7,
  318. from ./arch/parisc/include/asm/atomic.h:22,
  319. from ./include/linux/atomic.h:7,
  320. from ./arch/parisc/include/asm/bitops.h:13,
  321. from ./include/linux/bitops.h:32,
  322. from ./include/linux/kernel.h:11,
  323. from ./arch/parisc/include/asm/bug.h:5,
  324. from ./include/linux/bug.h:5,
  325. from ./include/linux/thread_info.h:12,
  326. from ./include/asm-generic/current.h:5,
  327. from ./arch/parisc/include/generated/asm/current.h:1,
  328. from ./include/linux/sched.h:12,
  329. from arch/parisc/kernel/asm-offsets.c:18:
  330. ./arch/parisc/include/asm/pdc.h:75:10: warning: 'struct pdc_memory_table' declared inside parameter list will not be visible outside of this definition or declaration
  331. 75 | struct pdc_memory_table *tbl, unsigned long entries);
  332. | ^~~~~~~~~~~~~~~~
  333. ./arch/parisc/include/asm/pdc.h:74:30: warning: 'struct pdc_memory_table_raddr' declared inside parameter list will not be visible outside of this definition or declaration
  334. 74 | int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
  335. | ^~~~~~~~~~~~~~~~~~~~~~
  336. In file included from ./arch/parisc/include/asm/bitops.h:203,
  337. from ./include/linux/bitops.h:32,
  338. from ./include/linux/kernel.h:11,
  339. from ./arch/parisc/include/asm/bug.h:5,
  340. from ./include/linux/bug.h:5,
  341. from ./include/linux/thread_info.h:12,
  342. from ./include/asm-generic/current.h:5,
  343. from ./arch/parisc/include/generated/asm/current.h:1,
  344. from ./include/linux/sched.h:12,
  345. from arch/parisc/kernel/asm-offsets.c:18:
  346. ./include/asm-generic/bitops/__fls.h: In function '__fls':
  347. ./include/asm-generic/bitops/__fls.h:18:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  348. 18 | if (!(word & (~0ul << 32))) {
  349. | ^~
  350. ./include/asm-generic/bitops/__fls.h:20:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  351. 20 | word <<= 32;
  352. | ^~~
  353. ./include/asm-generic/bitops/__fls.h:23:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  354. 23 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  355. | ^~
  356. ./include/asm-generic/bitops/__fls.h:27:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  357. 27 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  358. | ^~
  359. ./include/asm-generic/bitops/__fls.h:31:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  360. 31 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  361. | ^~
  362. ./include/asm-generic/bitops/__fls.h:35:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  363. 35 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  364. | ^~
  365. ./include/asm-generic/bitops/__fls.h:39:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  366. 39 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  367. | ^~
  368. In file included from ././include/linux/compiler_types.h:65,
  369. from <command-line>:
  370. ./include/linux/smp.h: At top level:
  371. ./include/linux/smp.h:34:26: error: requested alignment '20' is not a positive power of 2
  372. 34 | __aligned(sizeof(struct __call_single_data));
  373. | ^~~~~~~~~~~~~~~~~~
  374. ./include/linux/compiler_attributes.h:52:68: note: in definition of macro '__aligned'
  375. 52 | #define __aligned(x) __attribute__((__aligned__(x)))
  376. | ^
  377. In file included from ./include/linux/mm.h:33,
  378. from ./include/linux/pid_namespace.h:7,
  379. from ./include/linux/ptrace.h:10,
  380. from arch/parisc/kernel/asm-offsets.c:20:
  381. ./include/linux/pgtable.h: In function 'pud_index':
  382. ./include/linux/pgtable.h:59:18: warning: right shift count >= width of type [-Wshift-count-overflow]
  383. 59 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1);
  384. | ^~
  385. ./include/linux/pgtable.h: In function 'pgd_offset_pgd':
  386. ./include/linux/pgtable.h:66:29: warning: right shift count >= width of type [-Wshift-count-overflow]
  387. 66 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
  388. | ^~
  389. ./include/linux/pgtable.h:106:16: note: in expansion of macro 'pgd_index'
  390. 106 | return (pgd + pgd_index(address));
  391. | ^~~~~~~~~
  392. In file included from ./include/linux/stringhash.h:7,
  393. from ./include/linux/dcache.h:15,
  394. from ./include/linux/fs.h:8,
  395. from ./include/linux/huge_mm.h:8,
  396. from ./include/linux/mm.h:703,
  397. from ./include/linux/pid_namespace.h:7,
  398. from ./include/linux/ptrace.h:10,
  399. from arch/parisc/kernel/asm-offsets.c:20:
  400. ./include/linux/hash.h: In function 'hash32_ptr':
  401. ./include/linux/hash.h:99:14: warning: right shift count >= width of type [-Wshift-count-overflow]
  402. 99 | val ^= (val >> 32);
  403. | ^~
  404. In file included from arch/parisc/kernel/asm-offsets.c:22:
  405. arch/parisc/kernel/asm-offsets.c: In function 'main':
  406. arch/parisc/kernel/asm-offsets.c:273:36: warning: right shift count >= width of type [-Wshift-count-overflow]
  407. 273 | DEFINE(ASM_PGD_ENTRY, PAGE_OFFSET >> PGDIR_SHIFT);
  408. | ^~
  409. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  410. 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  411. | ^~~
  412. make[1]: *** [scripts/Makefile.build:117: arch/parisc/kernel/asm-offsets.s] Error 1
  413. make: *** [Makefile:1202: prepare0] Error 2
  414. * Using '/usr/src/linux/include/config/kernel.release' to extract LOCALVERSION ...
  415. * KV changed from '5.11.11-gentoo' to '5.11.11-gentoo-parisc64'!
  416.  
  417. * GK_FILENAME_CONFIG set to 'kernel-config-5.11.11-gentoo-parisc64' (was: 'kernel-config-%%KV%%')
  418. * GK_FILENAME_KERNEL set to 'vmlinuz-5.11.11-gentoo-parisc64' (was: 'vmlinuz-%%KV%%')
  419. * GK_FILENAME_KERNEL_SYMLINK set to 'kernel' (was: 'kernel')
  420. * GK_FILENAME_SYSTEMMAP set to 'System.map-5.11.11-gentoo-parisc64' (was: 'System.map-%%KV%%')
  421. * GK_FILENAME_SYSTEMMAP_SYMLINK set to 'System.map' (was: 'System.map')
  422. * GK_FILENAME_INITRAMFS set to 'initramfs-5.11.11-gentoo-parisc64.img' (was: 'initramfs-%%KV%%.img')
  423. * GK_FILENAME_INITRAMFS_SYMLINK set to 'initramfs' (was: 'initramfs')
  424. * >> Kernel version has changed (probably due to config change) since genkernel start:
  425. * We are now building Linux kernel 5.11.11-gentoo-parisc64 for parisc64 ...
  426. * >> Compiling 5.11.11-gentoo-parisc64 vmlinux ...
  427. COMMAND: nice -n10 make -j4 ARCH='parisc' AS='hppa2.0-unknown-linux-gnu-as' AR='hppa2.0-unknown-linux-gnu-ar' CC='hppa2.0-unknown-linux-gnu-gcc' LD='hppa2.0-unknown-linux-gnu-ld' NM='hppa2.0-unknown-linux-gnu-nm' OBJCOPY='hppa2.0-unknown-linux-gnu-objcopy' OBJDUMP='hppa2.0-unknown-linux-gnu-objdump' READELF='hppa2.0-unknown-linux-gnu-readelf' STRIP='hppa2.0-unknown-linux-gnu-strip' HOSTAR='hppa2.0-unknown-linux-gnu-ar' HOSTCC='hppa2.0-unknown-linux-gnu-gcc' HOSTCXX='hppa2.0-unknown-linux-gnu-g++' HOSTLD='hppa2.0-unknown-linux-gnu-ld' vmlinux
  428. CALL scripts/atomic/check-atomics.sh
  429. CC arch/parisc/kernel/asm-offsets.s
  430. In file included from ./arch/parisc/include/asm/processor.h:17,
  431. from ./arch/parisc/include/asm/spinlock.h:7,
  432. from ./arch/parisc/include/asm/atomic.h:22,
  433. from ./include/linux/atomic.h:7,
  434. from ./arch/parisc/include/asm/bitops.h:13,
  435. from ./include/linux/bitops.h:32,
  436. from ./include/linux/kernel.h:11,
  437. from ./arch/parisc/include/asm/bug.h:5,
  438. from ./include/linux/bug.h:5,
  439. from ./include/linux/thread_info.h:12,
  440. from ./include/asm-generic/current.h:5,
  441. from ./arch/parisc/include/generated/asm/current.h:1,
  442. from ./include/linux/sched.h:12,
  443. from arch/parisc/kernel/asm-offsets.c:18:
  444. ./arch/parisc/include/asm/pdc.h:75:10: warning: 'struct pdc_memory_table' declared inside parameter list will not be visible outside of this definition or declaration
  445. 75 | struct pdc_memory_table *tbl, unsigned long entries);
  446. | ^~~~~~~~~~~~~~~~
  447. ./arch/parisc/include/asm/pdc.h:74:30: warning: 'struct pdc_memory_table_raddr' declared inside parameter list will not be visible outside of this definition or declaration
  448. 74 | int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
  449. | ^~~~~~~~~~~~~~~~~~~~~~
  450. In file included from ./arch/parisc/include/asm/bitops.h:203,
  451. from ./include/linux/bitops.h:32,
  452. from ./include/linux/kernel.h:11,
  453. from ./arch/parisc/include/asm/bug.h:5,
  454. from ./include/linux/bug.h:5,
  455. from ./include/linux/thread_info.h:12,
  456. from ./include/asm-generic/current.h:5,
  457. from ./arch/parisc/include/generated/asm/current.h:1,
  458. from ./include/linux/sched.h:12,
  459. from arch/parisc/kernel/asm-offsets.c:18:
  460. ./include/asm-generic/bitops/__fls.h: In function '__fls':
  461. ./include/asm-generic/bitops/__fls.h:18:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  462. 18 | if (!(word & (~0ul << 32))) {
  463. | ^~
  464. ./include/asm-generic/bitops/__fls.h:20:8: warning: left shift count >= width of type [-Wshift-count-overflow]
  465. 20 | word <<= 32;
  466. | ^~~
  467. ./include/asm-generic/bitops/__fls.h:23:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  468. 23 | if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
  469. | ^~
  470. ./include/asm-generic/bitops/__fls.h:27:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  471. 27 | if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
  472. | ^~
  473. ./include/asm-generic/bitops/__fls.h:31:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  474. 31 | if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
  475. | ^~
  476. ./include/asm-generic/bitops/__fls.h:35:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  477. 35 | if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
  478. | ^~
  479. ./include/asm-generic/bitops/__fls.h:39:21: warning: left shift count >= width of type [-Wshift-count-overflow]
  480. 39 | if (!(word & (~0ul << (BITS_PER_LONG-1))))
  481. | ^~
  482. In file included from ././include/linux/compiler_types.h:65,
  483. from <command-line>:
  484. ./include/linux/smp.h: At top level:
  485. ./include/linux/smp.h:34:26: error: requested alignment '20' is not a positive power of 2
  486. 34 | __aligned(sizeof(struct __call_single_data));
  487. | ^~~~~~~~~~~~~~~~~~
  488. ./include/linux/compiler_attributes.h:52:68: note: in definition of macro '__aligned'
  489. 52 | #define __aligned(x) __attribute__((__aligned__(x)))
  490. | ^
  491. In file included from ./include/linux/mm.h:33,
  492. from ./include/linux/pid_namespace.h:7,
  493. from ./include/linux/ptrace.h:10,
  494. from arch/parisc/kernel/asm-offsets.c:20:
  495. ./include/linux/pgtable.h: In function 'pud_index':
  496. ./include/linux/pgtable.h:59:18: warning: right shift count >= width of type [-Wshift-count-overflow]
  497. 59 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1);
  498. | ^~
  499. ./include/linux/pgtable.h: In function 'pgd_offset_pgd':
  500. ./include/linux/pgtable.h:66:29: warning: right shift count >= width of type [-Wshift-count-overflow]
  501. 66 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
  502. | ^~
  503. ./include/linux/pgtable.h:106:16: note: in expansion of macro 'pgd_index'
  504. 106 | return (pgd + pgd_index(address));
  505. | ^~~~~~~~~
  506. In file included from ./include/linux/stringhash.h:7,
  507. from ./include/linux/dcache.h:15,
  508. from ./include/linux/fs.h:8,
  509. from ./include/linux/huge_mm.h:8,
  510. from ./include/linux/mm.h:703,
  511. from ./include/linux/pid_namespace.h:7,
  512. from ./include/linux/ptrace.h:10,
  513. from arch/parisc/kernel/asm-offsets.c:20:
  514. ./include/linux/hash.h: In function 'hash32_ptr':
  515. ./include/linux/hash.h:99:14: warning: right shift count >= width of type [-Wshift-count-overflow]
  516. 99 | val ^= (val >> 32);
  517. | ^~
  518. In file included from arch/parisc/kernel/asm-offsets.c:22:
  519. arch/parisc/kernel/asm-offsets.c: In function 'main':
  520. arch/parisc/kernel/asm-offsets.c:273:36: warning: right shift count >= width of type [-Wshift-count-overflow]
  521. 273 | DEFINE(ASM_PGD_ENTRY, PAGE_OFFSET >> PGDIR_SHIFT);
  522. | ^~
  523. ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE'
  524. 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
  525. | ^~~
  526. make[1]: *** [scripts/Makefile.build:117: arch/parisc/kernel/asm-offsets.s] Error 1
  527. make: *** [Makefile:1202: prepare0] Error 2
  528. * ERROR: Failed to locate kernel binary 'vmlinux' in '/usr/src/linux'!
  529. * Please consult '/var/log/genkernel.log' for more information and any
  530. * errors that were reported above.
  531. *
  532. * Report any genkernel bugs to bugs.gentoo.org and
  533. * assign your bug to genkernel@gentoo.org. Please include
  534. * as much information as you can in your bug report; attaching
  535. * '/var/log/genkernel.log' so that your issue can be dealt with effectively.
  536. *
  537. * Please do *not* report kernel compilation failures as genkernel bugs!
  538. *
  539.  
  540. * mount: >> Boot partition state on '/boot' was not changed; Skipping restore boot partition state ...
  541.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement