# # 2024-11-20T07:05:58.100809 # # 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/ipcbuf.h WRAP arch/riscv/include/generated/uapi/asm/ioctls.h UPD include/generated/uapi/linux/version.h WRAP arch/riscv/include/generated/uapi/asm/msgbuf.h WRAP arch/riscv/include/generated/uapi/asm/mman.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 UPD include/generated/compile.h WRAP arch/riscv/include/generated/uapi/asm/sockios.h WRAP arch/riscv/include/generated/uapi/asm/stat.h HOSTCC scripts/dtc/dtc.o WRAP arch/riscv/include/generated/uapi/asm/statfs.h HOSTCC scripts/dtc/flattree.o WRAP arch/riscv/include/generated/uapi/asm/swab.h HOSTCC scripts/dtc/fstree.o WRAP arch/riscv/include/generated/uapi/asm/termbits.h WRAP arch/riscv/include/generated/uapi/asm/termios.h HOSTCC scripts/dtc/data.o WRAP arch/riscv/include/generated/uapi/asm/types.h SYSHDR arch/riscv/include/generated/uapi/asm/unistd_32.h HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o UPD include/config/kernel.release SYSHDR arch/riscv/include/generated/uapi/asm/unistd_64.h UPD include/generated/utsrelease.h 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 HOSTCC scripts/dtc/checks.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 MKDIR /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/ 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 HOSTCC scripts/dtc/util.o 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 MKDIR /tmp/kci/linux/build/tools/bpf/resolve_btfids//libsubcmd WRAP arch/riscv/include/generated/asm/msi.h LEX scripts/dtc/dtc-lexer.lex.c WRAP arch/riscv/include/generated/asm/percpu.h YACC scripts/dtc/dtc-parser.tab.[ch] 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 HOSTCC scripts/dtc/libfdt/fdt.o SYSTBL arch/riscv/include/generated/asm/syscall_table_32.h HOSTCC scripts/dtc/libfdt/fdt_ro.o SYSTBL arch/riscv/include/generated/asm/syscall_table_64.h HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o GEN /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/bpf_helper_defs.h HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/exec-cmd.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/bpf.h INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd//include/subcmd/help.h HOSTCC scripts/dtc/libfdt/fdt_overlay.o INSTALL /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/libbpf.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 /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf//include/bpf/btf.h INSTALL libsubcmd_headers HOSTCC scripts/dtc/fdtoverlay.o 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 HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o 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 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/run-command.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf.o HOSTLD scripts/dtc/fdtoverlay 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/sigchain.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/subcmd-config.o 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 HOSTLD scripts/dtc/dtc CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/str_error.o 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 HOSTCC scripts/genksyms/genksyms.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 HOSTCC scripts/selinux/mdp/mdp 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 HOSTCC scripts/kallsyms AR /tmp/kci/linux/build/tools/bpf/resolve_btfids/libsubcmd/libsubcmd.a HOSTCC scripts/sorttable YACC scripts/genksyms/parse.tab.[ch] LEX scripts/genksyms/lex.lex.c CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/linker.o HOSTCC scripts/asn1_compiler HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/sign-file 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 CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf_iter.o CC /tmp/kci/linux/build/tools/bpf/resolve_btfids/libbpf/staticobjs/btf_relocate.o HOSTLD scripts/genksyms/genksyms 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/allwinner/sun20i-d1-dongshan-nezha-stu.dtb CC scripts/mod/empty.o DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb DTC arch/riscv/boot/dts/canaan/canaan_kd233.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb HOSTCC scripts/mod/mk_elfconfig DTC arch/riscv/boot/dts/canaan/k210_generic.dtb CC scripts/mod/devicetable-offsets.s DTC arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb 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/canaan/sipeed_maix_dock.dtb DTC arch/riscv/boot/dts/canaan/sipeed_maix_go.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/canaan/sipeed_maixduino.dtb DTC arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb DTC arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o DTC arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb HOSTCC scripts/mod/sumversion.o DTC arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb DTC arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.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/sifive/hifive-unmatched-a00.dtb DTC arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb DTC arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb DTC arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb HOSTCC scripts/mod/symsearch.o DTC arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb DTC arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.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 DTC arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb 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 CHKSHA1 ../include/linux/atomic/atomic-long.h UPD include/generated/timeconst.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:1700:84: error: macro "perf_misc_flags" passed 2 arguments, but takes just 1 1700 | 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:1700:22: error: ‘perf_misc_flags’ redeclared 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 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:1701:22: error: conflicting types for ‘perf_instruction_pointer’; have ‘long unsigned int(struct perf_event *, struct pt_regs *)’ 1701 | 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'