# # 2024-11-18T11:07:12.732914 # # 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 -j10 # 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 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/signal.h 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/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/termios.h WRAP arch/riscv/include/generated/uapi/asm/termbits.h UPD include/generated/compile.h WRAP arch/riscv/include/generated/uapi/asm/types.h HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/flattree.o SYSHDR arch/riscv/include/generated/uapi/asm/unistd_32.h SYSHDR arch/riscv/include/generated/uapi/asm/unistd_64.h UPD include/config/kernel.release HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o mkdir -p /tmp/kci/linux/build/tools/bpf/resolve_btfids && make O=/tmp/kci/linux/build subdir=tools/bpf/resolve_btfids --no-print-directory -C bpf/resolve_btfids UPD include/generated/utsrelease.h HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.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 LEX scripts/dtc/dtc-lexer.lex.c MKDIR /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/ YACC scripts/dtc/dtc-parser.tab.[ch] 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 HOSTCC scripts/dtc/libfdt/fdt.o 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 HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o 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 MKDIR /tmp/kci/linux/build/tools/bpf/resolve_btfids//libsubcmd HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o SYSTBL arch/riscv/include/generated/asm/syscall_table_64.h 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 GEN /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/bpf_helper_defs.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/libbpf.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/btf.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/libbpf_common.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/libbpf_legacy.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf_helpers.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf_tracing.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf_endian.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf_core_read.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/skel_internal.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/libbpf_version.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/usdt.bpf.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf_helper_defs.h INSTALL libbpf_headers INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/exec-cmd.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/help.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/pager.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/parse-options.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/run-command.h INSTALL libsubcmd_headers HOSTLD scripts/dtc/fdtoverlay CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/exec-cmd.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/help.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/pager.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/parse-options.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/sigchain.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/run-command.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/bpf.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/nlattr.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/subcmd-config.o HOSTLD scripts/dtc/dtc CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf_errno.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/str_error.o HOSTCC scripts/genksyms/genksyms.o YACC scripts/genksyms/parse.tab.[ch] CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/netlink.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/bpf_prog_linfo.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf_probes.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/hashmap.o LEX scripts/genksyms/lex.lex.c HOSTCC scripts/genksyms/parse.tab.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf_dump.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/ringbuf.o LD /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/libsubcmd-in.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/strset.o AR /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/libsubcmd.a CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/linker.o HOSTCC scripts/genksyms/lex.lex.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/gen_loader.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/relo_core.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/usdt.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/zip.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/elf.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/features.o HOSTLD scripts/genksyms/genksyms CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf_iter.o HOSTCC scripts/selinux/mdp/mdp CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf_relocate.o HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler DTC arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb 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-dongshan-nezha-stu.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb HOSTCC scripts/sign-file DTC arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb DTC arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb DTC arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb DTC arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb DTC arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb DTC arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb DTC arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb DTC arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.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/microchip/mpfs-polarberry.dtb DTC arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb DTC arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.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/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 MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/symsearch.o UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CC kernel/bounds.s CHKSHA1 ../include/linux/atomic/atomic-arch-fallback.h CHKSHA1 ../include/linux/atomic/atomic-instrumented.h UPD include/generated/timeconst.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/perf/riscv_pmu.h:12, from ../arch/riscv/include/asm/kvm_vcpu_pmu.h:12, from ../arch/riscv/include/asm/kvm_host.h:23, from ../arch/riscv/kernel/asm-offsets.c:12: ../include/linux/perf_event.h:1679:84: error: macro "perf_misc_flags" passed 2 arguments, but takes just 1 1679 | extern unsigned long perf_misc_flags(struct perf_event *event, struct pt_regs *regs); | ^ In file included from ../include/linux/perf_event.h:25: ../arch/riscv/include/asm/perf_event.h:15: note: macro "perf_misc_flags" defined here 15 | #define perf_misc_flags(regs) perf_misc_flags(regs) | ../include/linux/perf_event.h:1679:22: error: ‘perf_misc_flags’ redeclared as different kind of symbol 1679 | 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 declaration of ‘perf_misc_flags’ with type ‘long unsigned int(struct pt_regs *)’ 14 | extern unsigned long perf_misc_flags(struct pt_regs *regs); | ^~~~~~~~~~~~~~~ ../include/linux/perf_event.h:1680:22: error: conflicting types for ‘perf_instruction_pointer’; have ‘long unsigned int(struct perf_event *, struct pt_regs *)’ 1680 | extern unsigned long perf_instruction_pointer(struct perf_event *event, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../arch/riscv/include/asm/perf_event.h:13:22: note: previous declaration of ‘perf_instruction_pointer’ with type ‘long unsigned int(struct pt_regs *)’ 13 | extern unsigned long perf_instruction_pointer(struct pt_regs *regs); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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[2]: *** Waiting for unfinished jobs.... LD /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf-in.o LINK /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/libbpf.a HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/main.o HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/rbtree.o HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/zalloc.o HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/string.o HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/ctype.o HOSTCC /tmp/kci/linux/build/tools/bpf/resolve_btfids/str_error_r.o HOSTLD /tmp/kci/linux/build/tools/bpf/resolve_btfids/resolve_btfids-in.o LINK resolve_btfids 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'