# # 2024-11-18T11:55:18.201069 # # 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' 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 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 WRAP arch/riscv/include/generated/uapi/asm/shmbuf.h WRAP arch/riscv/include/generated/uapi/asm/siginfo.h WRAP arch/riscv/include/generated/uapi/asm/signal.h WRAP arch/riscv/include/generated/uapi/asm/socket.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 WRAP arch/riscv/include/generated/uapi/asm/termios.h WRAP arch/riscv/include/generated/uapi/asm/types.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o UPD include/config/kernel.release 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] WRAP arch/riscv/include/generated/asm/early_ioremap.h WRAP arch/riscv/include/generated/asm/extable.h WRAP arch/riscv/include/generated/asm/flat.h WRAP arch/riscv/include/generated/asm/kvm_para.h WRAP arch/riscv/include/generated/asm/user.h WRAP arch/riscv/include/generated/asm/vmlinux.lds.h WRAP arch/riscv/include/generated/asm/bugs.h WRAP arch/riscv/include/generated/asm/checksum.h WRAP arch/riscv/include/generated/asm/compat.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/exec.h WRAP arch/riscv/include/generated/asm/fb.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_types.h WRAP arch/riscv/include/generated/asm/local.h WRAP arch/riscv/include/generated/asm/local64.h WRAP arch/riscv/include/generated/asm/mm-arch-hooks.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 UPD include/generated/uapi/linux/version.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/simd.h WRAP arch/riscv/include/generated/asm/topology.h WRAP arch/riscv/include/generated/asm/trace_clock.h WRAP arch/riscv/include/generated/asm/unaligned.h WRAP arch/riscv/include/generated/asm/vga.h WRAP arch/riscv/include/generated/asm/xor.h HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o UPD include/generated/utsrelease.h HOSTLD scripts/dtc/dtc DTC arch/riscv/boot/dts/kendryte/k210.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 HOSTLD scripts/mod/modpost CC kernel/bounds.s CALL ../scripts/atomic/check-atomics.sh UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/riscv/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o UPD include/generated/compile.h HOSTCC usr/gen_init_cpio CC init/do_mounts_initrd.o GEN usr/initramfs_data.cpio SHIPPED usr/initramfs_inc_data AS usr/initramfs_data.o AR usr/built-in.a AS arch/riscv/kernel/head.o In file included from ../init/main.c:21: In file included from ../include/linux/syscalls.h:84: In file included from ../include/trace/syscall.h:7: In file included from ../include/linux/trace_events.h:10: In file included from ../include/linux/perf_event.h:49: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ In file included from ../init/do_mounts.c:7: In file included from ../include/linux/suspend.h:5: In file included from ../include/linux/swap.h:9: In file included from ../include/linux/memcontrol.h:13: In file included from ../include/linux/cgroup.h:29: In file included from ../include/linux/cgroup-defs.h:22: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ In file included from ../init/do_mounts_initrd.c:13: In file included from ../init/do_mounts.h:5: In file included from ../include/linux/syscalls.h:84: In file included from ../include/trace/syscall.h:7: In file included from ../include/linux/trace_events.h:10: In file included from ../include/linux/perf_event.h:49: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ 1 error generated. make[2]: *** [../scripts/Makefile.build:273: init/do_mounts_initrd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/mm/init.o 1 error generated. make[2]: *** [../scripts/Makefile.build:273: init/main.o] Error 1 CC kernel/sched/core.o LDS arch/riscv/kernel/vmlinux.lds CC arch/riscv/kernel/soc.o 1 error generated. make[2]: *** [../scripts/Makefile.build:273: init/do_mounts.o] Error 1 make[1]: *** [/tmp/kci/linux/Makefile:1923: init] Error 2 make[1]: *** Waiting for unfinished jobs.... CC kernel/locking/mutex.o In file included from ../arch/riscv/mm/init.c:11: In file included from ../include/linux/swap.h:9: In file included from ../include/linux/memcontrol.h:13: In file included from ../include/linux/cgroup.h:29: In file included from ../include/linux/cgroup-defs.h:22: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ CC arch/riscv/kernel/cpu.o 1 error generated. make[3]: *** [../scripts/Makefile.build:273: arch/riscv/mm/init.o] Error 1 make[2]: *** [../scripts/Makefile.build:516: arch/riscv/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/cpufeature.o In file included from ../kernel/sched/core.c:13: In file included from ../kernel/sched/sched.h:49: In file included from ../include/linux/init_task.h:9: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ AS arch/riscv/kernel/entry.o CC kernel/locking/semaphore.o CC arch/riscv/kernel/irq.o CC kernel/locking/rwsem.o 1 error generated. make[3]: *** [../scripts/Makefile.build:273: kernel/sched/core.o] Error 1 make[2]: *** [../scripts/Makefile.build:516: kernel/sched] Error 2 make[2]: *** Waiting for unfinished jobs.... CC kernel/locking/percpu-rwsem.o In file included from ../kernel/locking/semaphore.c:34: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ 1 error generated. make[3]: *** [../scripts/Makefile.build:273: kernel/locking/semaphore.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/process.o CC arch/riscv/kernel/ptrace.o CC arch/riscv/kernel/reset.o make[2]: *** [../scripts/Makefile.build:516: kernel/locking] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1923: kernel] Error 2 CC arch/riscv/kernel/setup.o CC arch/riscv/kernel/signal.o CC arch/riscv/kernel/syscall_table.o In file included from ../arch/riscv/kernel/ptrace.c:20: In file included from ../include/linux/tracehook.h:50: In file included from ../include/linux/memcontrol.h:13: In file included from ../include/linux/cgroup.h:29: In file included from ../include/linux/cgroup-defs.h:22: In file included from ../include/linux/bpf-cgroup.h:5: In file included from ../include/linux/bpf.h:21: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ 1 error generated. make[3]: *** [../scripts/Makefile.build:273: arch/riscv/kernel/ptrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../arch/riscv/kernel/signal.c:11: In file included from ../include/linux/syscalls.h:84: In file included from ../include/trace/syscall.h:7: In file included from ../include/linux/trace_events.h:10: In file included from ../include/linux/perf_event.h:49: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ In file included from ../arch/riscv/kernel/syscall_table.c:8: In file included from ../include/linux/syscalls.h:84: In file included from ../include/trace/syscall.h:7: In file included from ../include/linux/trace_events.h:10: In file included from ../include/linux/perf_event.h:49: In file included from ../include/linux/ftrace.h:11: ../include/linux/kallsyms.h:167:19: error: redefinition of 'kallsyms_on_each_symbol' 167 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, | ^ ../include/linux/kallsyms.h:111:19: note: previous definition is here 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^ 1 error generated. 1 error generated. make[3]: *** [../scripts/Makefile.build:273: arch/riscv/kernel/syscall_table.o] Error 1 make[3]: *** [../scripts/Makefile.build:273: arch/riscv/kernel/signal.o] Error 1 make[2]: *** [../scripts/Makefile.build:516: arch/riscv/kernel] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1923: arch/riscv] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:192: __sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'