# # 2024-09-24T15:03:04.788030 # # 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' GEN ./Makefile scripts/kconfig/conf --syncconfig Kconfig GEN ./Makefile UPD include/config/kernel.release WRAP arch/riscv/include/generated/uapi/asm/setup.h WRAP arch/riscv/include/generated/uapi/asm/unistd.h WRAP arch/riscv/include/generated/uapi/asm/bpf_perf_event.h 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 UPD include/generated/uapi/linux/version.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 UPD include/generated/utsrelease.h Using .. as source for kernel WRAP arch/riscv/include/generated/asm/bugs.h WRAP arch/riscv/include/generated/asm/cacheflush.h WRAP arch/riscv/include/generated/asm/checksum.h WRAP arch/riscv/include/generated/asm/compat.h WRAP arch/riscv/include/generated/asm/cputime.h WRAP arch/riscv/include/generated/asm/device.h WRAP arch/riscv/include/generated/asm/div64.h WRAP arch/riscv/include/generated/asm/dma.h WRAP arch/riscv/include/generated/asm/dma-contiguous.h WRAP arch/riscv/include/generated/asm/dma-mapping.h WRAP arch/riscv/include/generated/asm/emergency-restart.h WRAP arch/riscv/include/generated/asm/errno.h WRAP arch/riscv/include/generated/asm/exec.h WRAP arch/riscv/include/generated/asm/fb.h WRAP arch/riscv/include/generated/asm/fcntl.h WRAP arch/riscv/include/generated/asm/futex.h WRAP arch/riscv/include/generated/asm/hardirq.h WRAP arch/riscv/include/generated/asm/hash.h WRAP arch/riscv/include/generated/asm/hw_irq.h WRAP arch/riscv/include/generated/asm/ioctl.h WRAP arch/riscv/include/generated/asm/ioctls.h WRAP arch/riscv/include/generated/asm/ipcbuf.h WRAP arch/riscv/include/generated/asm/irq_regs.h WRAP arch/riscv/include/generated/asm/irq_work.h WRAP arch/riscv/include/generated/asm/kdebug.h WRAP arch/riscv/include/generated/asm/kmap_types.h WRAP arch/riscv/include/generated/asm/kvm_para.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/mman.h WRAP arch/riscv/include/generated/asm/module.h WRAP arch/riscv/include/generated/asm/msgbuf.h WRAP arch/riscv/include/generated/asm/mutex.h WRAP arch/riscv/include/generated/asm/param.h WRAP arch/riscv/include/generated/asm/percpu.h WRAP arch/riscv/include/generated/asm/poll.h WRAP arch/riscv/include/generated/asm/posix_types.h WRAP arch/riscv/include/generated/asm/preempt.h WRAP arch/riscv/include/generated/asm/resource.h WRAP arch/riscv/include/generated/asm/scatterlist.h WRAP arch/riscv/include/generated/asm/sections.h WRAP arch/riscv/include/generated/asm/sembuf.h WRAP arch/riscv/include/generated/asm/serial.h WRAP arch/riscv/include/generated/asm/setup.h WRAP arch/riscv/include/generated/asm/shmbuf.h WRAP arch/riscv/include/generated/asm/shmparam.h WRAP arch/riscv/include/generated/asm/signal.h WRAP arch/riscv/include/generated/asm/socket.h WRAP arch/riscv/include/generated/asm/sockios.h WRAP arch/riscv/include/generated/asm/stat.h WRAP arch/riscv/include/generated/asm/statfs.h WRAP arch/riscv/include/generated/asm/swab.h WRAP arch/riscv/include/generated/asm/termbits.h WRAP arch/riscv/include/generated/asm/termios.h WRAP arch/riscv/include/generated/asm/topology.h WRAP arch/riscv/include/generated/asm/trace_clock.h WRAP arch/riscv/include/generated/asm/types.h WRAP arch/riscv/include/generated/asm/unaligned.h WRAP arch/riscv/include/generated/asm/user.h WRAP arch/riscv/include/generated/asm/vga.h WRAP arch/riscv/include/generated/asm/vmlinux.lds.h WRAP arch/riscv/include/generated/asm/xor.h HOSTCC scripts/dtc/dtc.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/dtc/flattree.o CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/sumversion.o CC kernel/bounds.s UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/riscv/kernel/asm-offsets.s HOSTCC scripts/mod/file2alias.o UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh 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/bin2c HOSTCC scripts/dtc/util.o HOSTCC scripts/kallsyms HOSTLD scripts/mod/modpost HOSTCC scripts/conmakehash LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.h YACC scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc CHK include/generated/compile.h CC init/do_mounts.o CC init/main.o HOSTCC usr/gen_init_cpio UPD include/generated/compile.h CC init/do_mounts_initrd.o GEN usr/initramfs_data.cpio AS usr/initramfs_data.o AR usr/built-in.a LDS arch/riscv/kernel/vdso/vdso.lds AS arch/riscv/kernel/vdso/rt_sigreturn.o AS arch/riscv/kernel/vdso/gettimeofday.o AS arch/riscv/kernel/vdso/clock_gettime.o AS arch/riscv/kernel/vdso/clock_getres.o AS arch/riscv/kernel/vdso/getcpu.o AS arch/riscv/kernel/vdso/flush_icache.o CC arch/riscv/kernel/cpu.o VDSOLD arch/riscv/kernel/vdso/vdso-dummy.o ../arch/riscv/include/asm/irqflags.h: Assembler messages: ../arch/riscv/include/asm/irqflags.h:36: Error: unrecognized opcode `csrc sstatus,2', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:24: Error: unrecognized opcode `csrr a5,sstatus', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:36: Error: unrecognized opcode `csrc sstatus,2', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:24: Error: unrecognized opcode `csrr a5,sstatus', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:30: Error: unrecognized opcode `csrs sstatus,2', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:24: Error: unrecognized opcode `csrr a5,sstatus', extension `zicsr' required ../arch/riscv/include/asm/irqflags.h:30: Error: unrecognized opcode `csrs sstatus,2', extension `zicsr' required make[2]: *** [../scripts/Makefile.build:303: init/main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/cpufeature.o VDSOLD arch/riscv/kernel/vdso/vdso.so.dbg AS arch/riscv/kernel/entry.o LD arch/riscv/kernel/vdso/vdso-syms.o OBJCOPY arch/riscv/kernel/vdso/vdso.so AS arch/riscv/kernel/vdso/vdso.o CC arch/riscv/kernel/irq.o make[1]: *** [/tmp/kci/linux/Makefile:1086: init] Error 2 make[1]: *** Waiting for unfinished jobs.... AR arch/riscv/kernel/vdso/built-in.a CC arch/riscv/mm/init.o CC arch/riscv/kernel/process.o CC arch/riscv/mm/fault.o ../arch/riscv/include/asm/irqflags.h: Assembler messages: ../arch/riscv/include/asm/irqflags.h:30: Error: unrecognized opcode `csrs sstatus,2', extension `zicsr' required make[2]: *** [../scripts/Makefile.build:303: arch/riscv/kernel/process.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/tmp/kci/linux/Makefile:1086: arch/riscv/kernel] Error 2 CC arch/riscv/mm/extable.o CC arch/riscv/mm/ioremap.o ../arch/riscv/include/asm/irqflags.h: Assembler messages: ../arch/riscv/include/asm/irqflags.h:30: Error: unrecognized opcode `csrs sstatus,2', extension `zicsr' required ../arch/riscv/mm/fault.c:249: Error: unrecognized opcode `csrr a3,sptbr', extension `zicsr' required make[2]: *** [../scripts/Makefile.build:304: arch/riscv/mm/fault.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/mm/cacheflush.o make[1]: *** [/tmp/kci/linux/Makefile:1086: arch/riscv/mm] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:153: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'