# # 2024-11-20T06:49:48.727560 # # make KBUILD_BUILD_USER=KernelCI LD=riscv64-linux-gnu-ld LLVM_IAS=1 ARCH=riscv LLVM=1 CROSS_COMPILE=riscv64-linux-gnu- CC="ccache clang" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' 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 WRAP arch/riscv/include/generated/uapi/asm/msgbuf.h WRAP arch/riscv/include/generated/uapi/asm/param.h UPD include/generated/uapi/linux/version.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 WRAP arch/riscv/include/generated/uapi/asm/shmbuf.h WRAP arch/riscv/include/generated/uapi/asm/siginfo.h UPD include/config/kernel.release WRAP arch/riscv/include/generated/uapi/asm/signal.h UPD include/generated/compile.h WRAP arch/riscv/include/generated/uapi/asm/socket.h WRAP arch/riscv/include/generated/uapi/asm/sockios.h HOSTCC scripts/dtc/dtc.o WRAP arch/riscv/include/generated/uapi/asm/stat.h HOSTCC scripts/dtc/flattree.o 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 WRAP arch/riscv/include/generated/uapi/asm/termios.h UPD include/generated/utsrelease.h WRAP arch/riscv/include/generated/uapi/asm/types.h SYSHDR arch/riscv/include/generated/uapi/asm/unistd_32.h SYSHDR arch/riscv/include/generated/uapi/asm/unistd_64.h HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o 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 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/mcs_spinlock.h WRAP arch/riscv/include/generated/asm/parport.h WRAP arch/riscv/include/generated/asm/spinlock_types.h WRAP arch/riscv/include/generated/asm/ticket_spinlock.h WRAP arch/riscv/include/generated/asm/qrwlock.h WRAP arch/riscv/include/generated/asm/qrwlock_types.h WRAP arch/riscv/include/generated/asm/qspinlock.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 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 SYSTBL arch/riscv/include/generated/asm/syscall_table_64.h 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 DTC arch/riscv/boot/dts/canaan/canaan_kd233.dtb HOSTCC scripts/selinux/mdp/mdp 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 HOSTCC scripts/sorttable 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/asn1_compiler 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/allwinner/sun20i-d1s-mangopi-mq.dtb DTC arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb DTC arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb 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/starfive/jh7100-beaglev-starlight.dtb DTC arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb DTC arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb DTC arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb DTC arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb DTC arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb DTC arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb DTC arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.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 ../arch/riscv/kernel/asm-offsets.c:12: In file included from ../arch/riscv/include/asm/kvm_host.h:23: In file included from ../arch/riscv/include/asm/kvm_vcpu_pmu.h:12: In file included from ../include/linux/perf/riscv_pmu.h:12: ../include/linux/perf_event.h:1700:64: error: too many arguments provided to function-like macro invocation 1700 | extern unsigned long perf_misc_flags(struct perf_event *event, struct pt_regs *regs); | ^ ../arch/riscv/include/asm/perf_event.h:15:9: note: macro 'perf_misc_flags' defined here 15 | #define perf_misc_flags(regs) perf_misc_flags(regs) | ^ In file included from ../arch/riscv/kernel/asm-offsets.c:12: In file included from ../arch/riscv/include/asm/kvm_host.h:23: In file included from ../arch/riscv/include/asm/kvm_vcpu_pmu.h:12: In file included from ../include/linux/perf/riscv_pmu.h:12: ../include/linux/perf_event.h:1700:22: error: redefinition of 'perf_misc_flags' as different kind of symbol 1700 | extern unsigned long perf_misc_flags(struct perf_event *event, struct pt_regs *regs); | ^ ../arch/riscv/include/asm/perf_event.h:14:22: note: previous definition is here 14 | extern unsigned long perf_misc_flags(struct pt_regs *regs); | ^ In file included from ../arch/riscv/kernel/asm-offsets.c:12: In file included from ../arch/riscv/include/asm/kvm_host.h:23: In file included from ../arch/riscv/include/asm/kvm_vcpu_pmu.h:12: In file included from ../include/linux/perf/riscv_pmu.h:12: ../include/linux/perf_event.h:1701:22: error: conflicting types for 'perf_instruction_pointer' 1701 | extern unsigned long perf_instruction_pointer(struct perf_event *event, | ^ ../arch/riscv/include/asm/perf_event.h:13:22: note: previous declaration is here 13 | extern unsigned long perf_instruction_pointer(struct pt_regs *regs); | ^ 3 errors generated. make[3]: *** [../scripts/Makefile.build:102: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: *** [/tmp/kci/linux/Makefile:1262: prepare0] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:251: __sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'