# # 2024-11-18T08:36:49.795231 # # 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 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 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 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 HOSTCC scripts/dtc/data.o 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 UPD include/generated/uapi/linux/version.h UPD include/generated/utsrelease.h 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/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc 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 AR usr/built-in.a CC init/noinitramfs.o AS arch/riscv/kernel/head.o LDS arch/riscv/kernel/vmlinux.lds CC arch/riscv/kernel/soc.o In file included from ../include/linux/ftrace.h:11, from ../include/linux/perf_event.h:49, from ../include/linux/trace_events.h:10, from ../include/trace/syscall.h:7, from ../include/linux/syscalls.h:84, from ../init/main.c: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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ CC arch/riscv/kernel/cpu.o In file included from ../include/linux/bpf.h:21, from ../include/linux/bpf-cgroup.h:5, from ../include/linux/cgroup-defs.h:22, from ../include/linux/cgroup.h:29, from ../include/linux/memcontrol.h:13, from ../include/linux/swap.h:9, from ../include/linux/suspend.h:5, from ../init/do_mounts.c:7: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/ftrace.h:11, from ../include/linux/perf_event.h:49, from ../include/linux/trace_events.h:10, from ../include/trace/syscall.h:7, from ../include/linux/syscalls.h:84, from ../init/noinitramfs.c: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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [../scripts/Makefile.build:273: init/noinitramfs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/mm/init.o make[2]: *** [../scripts/Makefile.build:273: init/main.o] Error 1 CC kernel/sched/core.o CC arch/riscv/kernel/cpufeature.o 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/sched/loadavg.o In file included from ../include/linux/bpf.h:21, from ../include/linux/bpf-cgroup.h:5, from ../include/linux/cgroup-defs.h:22, from ../include/linux/cgroup.h:29, from ../include/linux/memcontrol.h:13, from ../include/linux/swap.h:9, from ../arch/riscv/mm/init.c: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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ 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 kernel/sched/clock.o AS arch/riscv/kernel/entry.o CC arch/riscv/kernel/irq.o In file included from ../include/linux/ftrace.h:11, from ../include/linux/init_task.h:9, from ../kernel/sched/sched.h:49, from ../kernel/sched/core.c:13: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/ftrace.h:11, from ../include/linux/init_task.h:9, from ../kernel/sched/sched.h:49, from ../kernel/sched/loadavg.c:9: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/ftrace.h:11, from ../include/linux/init_task.h:9, from ../kernel/sched/sched.h:49, from ../kernel/sched/clock.c:56: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:273: kernel/sched/core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/process.o CC arch/riscv/kernel/ptrace.o make[3]: *** [../scripts/Makefile.build:273: kernel/sched/loadavg.o] Error 1 CC kernel/locking/mutex.o make[3]: *** [../scripts/Makefile.build:273: kernel/sched/clock.o] Error 1 make[2]: *** [../scripts/Makefile.build:516: kernel/sched] Error 2 make[2]: *** Waiting for unfinished jobs.... CC kernel/locking/semaphore.o CC arch/riscv/kernel/reset.o In file included from ../include/linux/ftrace.h:11, from ../kernel/locking/semaphore.c:34: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/bpf.h:21, from ../include/linux/bpf-cgroup.h:5, from ../include/linux/cgroup-defs.h:22, from ../include/linux/cgroup.h:29, from ../include/linux/memcontrol.h:13, from ../include/linux/tracehook.h:50, from ../arch/riscv/kernel/ptrace.c:20: ../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 of ‘kallsyms_on_each_symbol’ with type ‘int(int (*)(void *, const char *, struct module *, long unsigned int), void *)’ 111 | static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:273: kernel/locking/semaphore.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/setup.o make[3]: *** [../scripts/Makefile.build:273: arch/riscv/kernel/ptrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [../scripts/Makefile.build:516: kernel/locking] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1923: kernel] Error 2 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'