# # 2024-11-17T01:00:20.248515 # # make KBUILD_BUILD_USER=KernelCI ARCH=riscv HOSTCC=gcc CROSS_COMPILE=riscv64-linux-gnu- CC="ccache riscv64-linux-gnu-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' SYNC include/config/auto.conf.cmd GEN Makefile GEN Makefile WRAP arch/riscv/include/generated/uapi/asm/errno.h WRAP arch/riscv/include/generated/uapi/asm/fcntl.h WRAP arch/riscv/include/generated/uapi/asm/ioctl.h WRAP arch/riscv/include/generated/uapi/asm/ioctls.h WRAP arch/riscv/include/generated/uapi/asm/ipcbuf.h WRAP arch/riscv/include/generated/uapi/asm/mman.h UPD include/generated/uapi/linux/version.h WRAP arch/riscv/include/generated/uapi/asm/msgbuf.h WRAP arch/riscv/include/generated/uapi/asm/param.h WRAP arch/riscv/include/generated/uapi/asm/poll.h WRAP arch/riscv/include/generated/uapi/asm/posix_types.h WRAP arch/riscv/include/generated/uapi/asm/resource.h WRAP arch/riscv/include/generated/uapi/asm/sembuf.h UPD include/generated/compile.h UPD include/config/kernel.release WRAP arch/riscv/include/generated/uapi/asm/shmbuf.h HOSTCC scripts/dtc/dtc.o WRAP arch/riscv/include/generated/uapi/asm/siginfo.h WRAP arch/riscv/include/generated/uapi/asm/socket.h WRAP arch/riscv/include/generated/uapi/asm/signal.h WRAP arch/riscv/include/generated/uapi/asm/sockios.h WRAP arch/riscv/include/generated/uapi/asm/stat.h WRAP arch/riscv/include/generated/uapi/asm/statfs.h WRAP arch/riscv/include/generated/uapi/asm/swab.h WRAP arch/riscv/include/generated/uapi/asm/termbits.h UPD include/generated/utsrelease.h WRAP arch/riscv/include/generated/uapi/asm/termios.h HOSTCC scripts/dtc/flattree.o WRAP arch/riscv/include/generated/uapi/asm/types.h HOSTCC scripts/dtc/fstree.o SYSHDR arch/riscv/include/generated/uapi/asm/unistd_32.h SYSHDR arch/riscv/include/generated/uapi/asm/unistd_64.h WRAP arch/riscv/include/generated/asm/early_ioremap.h WRAP arch/riscv/include/generated/asm/flat.h WRAP arch/riscv/include/generated/asm/kvm_para.h WRAP arch/riscv/include/generated/asm/mmzone.h WRAP arch/riscv/include/generated/asm/parport.h WRAP arch/riscv/include/generated/asm/spinlock.h WRAP arch/riscv/include/generated/asm/spinlock_types.h WRAP arch/riscv/include/generated/asm/qrwlock.h WRAP arch/riscv/include/generated/asm/qrwlock_types.h WRAP arch/riscv/include/generated/asm/user.h WRAP arch/riscv/include/generated/asm/vmlinux.lds.h WRAP arch/riscv/include/generated/asm/device.h WRAP arch/riscv/include/generated/asm/div64.h WRAP arch/riscv/include/generated/asm/dma-mapping.h WRAP arch/riscv/include/generated/asm/dma.h HOSTCC scripts/dtc/data.o WRAP arch/riscv/include/generated/asm/emergency-restart.h WRAP arch/riscv/include/generated/asm/hardirq.h WRAP arch/riscv/include/generated/asm/hw_irq.h WRAP arch/riscv/include/generated/asm/irq_regs.h WRAP arch/riscv/include/generated/asm/kmap_size.h WRAP arch/riscv/include/generated/asm/local.h WRAP arch/riscv/include/generated/asm/local64.h WRAP arch/riscv/include/generated/asm/msi.h WRAP arch/riscv/include/generated/asm/percpu.h WRAP arch/riscv/include/generated/asm/preempt.h WRAP arch/riscv/include/generated/asm/runtime-const.h WRAP arch/riscv/include/generated/asm/rwonce.h WRAP arch/riscv/include/generated/asm/serial.h WRAP arch/riscv/include/generated/asm/shmparam.h WRAP arch/riscv/include/generated/asm/softirq_stack.h WRAP arch/riscv/include/generated/asm/trace_clock.h WRAP arch/riscv/include/generated/asm/vga.h WRAP arch/riscv/include/generated/asm/video.h SYSTBL arch/riscv/include/generated/asm/syscall_table_32.h HOSTCC scripts/dtc/livetree.o SYSTBL arch/riscv/include/generated/asm/syscall_table_64.h HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/kallsyms DTC arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb HOSTCC scripts/selinux/genheaders/genheaders DTC arch/riscv/boot/dts/canaan/canaan_kd233.dtb DTC arch/riscv/boot/dts/canaan/k210_generic.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-dongshan-nezha-stu.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb DTC arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb HOSTCC scripts/selinux/mdp/mdp DTC arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb DTC arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb DTC arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb DTC arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb DTC arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb HOSTCC scripts/sorttable DTC arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb DTC arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb DTC arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb DTC arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb HOSTCC scripts/asn1_compiler DTC arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb DTC arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dtb DTC arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb DTC arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb DTC arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb DTC arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb DTC arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb DTC arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb DTC arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/symsearch.o HOSTLD scripts/mod/modpost CC kernel/bounds.s CHKSHA1 ../include/linux/atomic/atomic-arch-fallback.h UPD include/generated/timeconst.h CHKSHA1 ../include/linux/atomic/atomic-instrumented.h CHKSHA1 ../include/linux/atomic/atomic-long.h UPD include/generated/bounds.h CC arch/riscv/kernel/asm-offsets.s In file included from ../include/linux/sched/task_stack.h:12, from ../arch/riscv/include/asm/compat.h:12, from ../arch/riscv/include/asm/pgtable.h:115, from ../include/linux/pgtable.h:6, from ../include/linux/mm.h:30, from ../arch/riscv/kernel/asm-offsets.c:8: ../include/linux/kasan.h:50:37: error: ‘MAX_PTRS_PER_PTE’ undeclared here (not in a function); did you mean ‘PTRS_PER_PTE’? 50 | extern pte_t kasan_early_shadow_pte[MAX_PTRS_PER_PTE + PTE_HWTABLE_PTRS]; | ^~~~~~~~~~~~~~~~ | PTRS_PER_PTE ../include/linux/kasan.h:51:8: error: unknown type name ‘pmd_t’ 51 | extern pmd_t kasan_early_shadow_pmd[MAX_PTRS_PER_PMD]; | ^~~~~ ../include/linux/kasan.h:51:37: error: ‘MAX_PTRS_PER_PMD’ undeclared here (not in a function); did you mean ‘PTRS_PER_PGD’? 51 | extern pmd_t kasan_early_shadow_pmd[MAX_PTRS_PER_PMD]; | ^~~~~~~~~~~~~~~~ | PTRS_PER_PGD ../include/linux/kasan.h:52:8: error: unknown type name ‘pud_t’ 52 | extern pud_t kasan_early_shadow_pud[MAX_PTRS_PER_PUD]; | ^~~~~ ../include/linux/kasan.h:52:37: error: ‘MAX_PTRS_PER_PUD’ undeclared here (not in a function); did you mean ‘PTRS_PER_PGD’? 52 | extern pud_t kasan_early_shadow_pud[MAX_PTRS_PER_PUD]; | ^~~~~~~~~~~~~~~~ | PTRS_PER_PGD ../include/linux/kasan.h:53:8: error: unknown type name ‘p4d_t’ 53 | extern p4d_t kasan_early_shadow_p4d[MAX_PTRS_PER_P4D]; | ^~~~~ ../include/linux/kasan.h:53:37: error: ‘MAX_PTRS_PER_P4D’ undeclared here (not in a function); did you mean ‘PTRS_PER_PGD’? 53 | extern p4d_t kasan_early_shadow_p4d[MAX_PTRS_PER_P4D]; | ^~~~~~~~~~~~~~~~ | PTRS_PER_PGD make[3]: *** [../scripts/Makefile.build:102: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: *** [/tmp/kci/linux/Makefile:1203: prepare0] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:224: __sub-make] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:224: __sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'