# # 2024-11-17T20:32:55.557256 # # 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 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 WRAP arch/riscv/include/generated/uapi/asm/signal.h WRAP arch/riscv/include/generated/uapi/asm/socket.h UPD include/generated/uapi/linux/version.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/bin2c HOSTCC scripts/kallsyms CC scripts/mod/empty.o HOSTCC scripts/dtc/dtc.o HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/dtc/flattree.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/conmakehash MKELF scripts/mod/elfconfig.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/sumversion.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/mod/modpost.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.h YACC scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/mod/file2alias.o CC kernel/bounds.s UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/riscv/kernel/asm-offsets.s HOSTLD scripts/dtc/dtc UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh HOSTLD scripts/mod/modpost CHK include/generated/compile.h CC init/main.o CC init/do_mounts.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 CC init/initramfs.o AS arch/riscv/kernel/vdso/getcpu.o AS arch/riscv/kernel/vdso/flush_icache.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/cpu.o VDSOLD arch/riscv/kernel/vdso/vdso-dummy.o CC arch/riscv/kernel/cpufeature.o CC arch/riscv/mm/init.o make[1]: *** [/tmp/kci/linux/Makefile:1086: init] Error 2 make[1]: *** Waiting for unfinished jobs.... CC arch/riscv/mm/fault.o AS arch/riscv/kernel/entry.o CC arch/riscv/kernel/irq.o VDSOLD arch/riscv/kernel/vdso/vdso.so.dbg CC arch/riscv/mm/extable.o LD arch/riscv/kernel/vdso/vdso-syms.o OBJCOPY arch/riscv/kernel/vdso/vdso.so AS arch/riscv/kernel/vdso/vdso.o AR arch/riscv/kernel/vdso/built-in.a CC arch/riscv/kernel/process.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:303: arch/riscv/mm/fault.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/riscv/kernel/ptrace.o make[1]: *** [/tmp/kci/linux/Makefile:1086: arch/riscv/mm] Error 2 CC arch/riscv/kernel/reset.o CC arch/riscv/kernel/setup.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 CC arch/riscv/kernel/signal.o make[2]: *** [../scripts/Makefile.build:303: arch/riscv/kernel/process.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ../arch/riscv/kernel/signal.c: Assembler messages: ../arch/riscv/kernel/signal.c:175: Error: unrecognized opcode `csrs sstatus,a3', extension `zicsr' required ../arch/riscv/kernel/signal.c:175: Error: unrecognized opcode `csrc sstatus,a3', extension `zicsr' required ../arch/riscv/kernel/signal.c:176: Error: unrecognized opcode `csrs sstatus,a3', extension `zicsr' required ../arch/riscv/kernel/signal.c:176: Error: unrecognized opcode `csrc sstatus,a3', extension `zicsr' required ../arch/riscv/kernel/signal.c:134: Error: unrecognized opcode `csrs sstatus,a2', extension `zicsr' required ../arch/riscv/kernel/signal.c:134: Error: unrecognized opcode `csrc sstatus,a2', extension `zicsr' required ../arch/riscv/kernel/signal.c:73: Error: unrecognized opcode `csrs sstatus,a2', extension `zicsr' required ../arch/riscv/kernel/signal.c:73: Error: unrecognized opcode `csrc sstatus,a2', extension `zicsr' required make[2]: *** [../scripts/Makefile.build:303: arch/riscv/kernel/signal.o] Error 1 make[1]: *** [/tmp/kci/linux/Makefile:1086: arch/riscv/kernel] Error 2 make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:153: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'