# # 2024-07-26T21:32:07.246753 # # make KBUILD_BUILD_USER=KernelCI ARCH=arc HOSTCC=gcc CROSS_COMPILE=arc-elf32- CC="ccache arc-elf32-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 uImage # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/arc/include/generated/asm/auxvec.h WRAP arch/arc/include/generated/asm/bitsperlong.h WRAP arch/arc/include/generated/asm/bugs.h WRAP arch/arc/include/generated/asm/clkdev.h WRAP arch/arc/include/generated/asm/cputime.h WRAP arch/arc/include/generated/asm/device.h WRAP arch/arc/include/generated/asm/div64.h WRAP arch/arc/include/generated/asm/emergency-restart.h WRAP arch/arc/include/generated/asm/errno.h WRAP arch/arc/include/generated/asm/fb.h WRAP arch/arc/include/generated/asm/fcntl.h WRAP arch/arc/include/generated/asm/ftrace.h WRAP arch/arc/include/generated/asm/hardirq.h WRAP arch/arc/include/generated/asm/hw_irq.h WRAP arch/arc/include/generated/asm/ioctl.h WRAP arch/arc/include/generated/asm/ioctls.h WRAP arch/arc/include/generated/asm/ipcbuf.h WRAP arch/arc/include/generated/asm/irq_regs.h WRAP arch/arc/include/generated/asm/irq_work.h WRAP arch/arc/include/generated/asm/kmap_types.h WRAP arch/arc/include/generated/asm/local.h WRAP arch/arc/include/generated/asm/kvm_para.h WRAP arch/arc/include/generated/asm/local64.h WRAP arch/arc/include/generated/asm/mcs_spinlock.h WRAP arch/arc/include/generated/asm/mm-arch-hooks.h WRAP arch/arc/include/generated/asm/mman.h WRAP arch/arc/include/generated/asm/msgbuf.h WRAP arch/arc/include/generated/asm/param.h WRAP arch/arc/include/generated/asm/parport.h WRAP arch/arc/include/generated/asm/pci.h WRAP arch/arc/include/generated/asm/percpu.h WRAP arch/arc/include/generated/asm/poll.h WRAP arch/arc/include/generated/asm/posix_types.h WRAP arch/arc/include/generated/asm/preempt.h WRAP arch/arc/include/generated/asm/resource.h WRAP arch/arc/include/generated/asm/sembuf.h WRAP arch/arc/include/generated/asm/shmbuf.h WRAP arch/arc/include/generated/asm/siginfo.h WRAP arch/arc/include/generated/asm/socket.h WRAP arch/arc/include/generated/asm/sockios.h WRAP arch/arc/include/generated/asm/stat.h WRAP arch/arc/include/generated/asm/statfs.h WRAP arch/arc/include/generated/asm/termbits.h CHK include/generated/uapi/linux/version.h WRAP arch/arc/include/generated/asm/termios.h WRAP arch/arc/include/generated/asm/topology.h WRAP arch/arc/include/generated/asm/trace_clock.h WRAP arch/arc/include/generated/asm/types.h WRAP arch/arc/include/generated/asm/ucontext.h UPD include/generated/uapi/linux/version.h WRAP arch/arc/include/generated/asm/user.h WRAP arch/arc/include/generated/asm/vga.h WRAP arch/arc/include/generated/asm/word-at-a-time.h WRAP arch/arc/include/generated/asm/xor.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/bin2c Using .. as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo 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 MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/conmakehash HOSTCC scripts/sortextable 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 SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED 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 HOSTLD scripts/dtc/dtc HOSTLD scripts/mod/modpost CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/arc/kernel/asm-offsets.s CHK include/generated/asm-offsets.h 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 HOSTCC usr/gen_init_cpio CC init/do_mounts_initrd.o GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o CC init/initramfs.o CC arch/arc/kernel/arcksyms.o CC arch/arc/kernel/setup.o CC init/calibrate.o CC init/init_task.o CC init/version.o LD init/mounts.o CC arch/arc/mm/extable.o CC arch/arc/kernel/irq.o CC arch/arc/kernel/time.o CC arch/arc/mm/ioremap.o LD init/built-in.o DTC arch/arc/boot/dts/axs103_idu.dtb DTB arch/arc/boot/dts/axs103_idu.dtb.S AS arch/arc/boot/dts/axs103_idu.dtb.o LD arch/arc/boot/dts/built-in.o CC arch/arc/plat-axs10x/axs10x.o CC arch/arc/mm/dma.o CC arch/arc/kernel/reset.o CC arch/arc/kernel/ptrace.o CC arch/arc/kernel/process.o LD arch/arc/plat-axs10x/built-in.o CC arch/arc/mm/fault.o CC kernel/fork.o CC kernel/exec_domain.o CC arch/arc/mm/init.o CC kernel/panic.o CC arch/arc/mm/tlb.o CC kernel/cpu.o AS arch/arc/mm/tlbex.o CC arch/arc/mm/cache.o CC kernel/exit.o CC kernel/softirq.o CC arch/arc/kernel/devtree.o CC arch/arc/kernel/signal.o CC arch/arc/mm/mmap.o CC kernel/resource.o CC arch/arc/kernel/traps.o LD arch/arc/mm/built-in.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC arch/arc/kernel/sys.o CC arch/arc/kernel/troubleshoot.o CC kernel/capability.o CC kernel/ptrace.o CC arch/arc/kernel/stacktrace.o CC kernel/user.o CC arch/arc/kernel/disasm.o CC kernel/signal.o CC arch/arc/kernel/clk.o AS arch/arc/kernel/entry-arcv2.o CC kernel/sys.o CC arch/arc/kernel/intc-arcv2.o CC arch/arc/kernel/module.o CC kernel/kmod.o CC arch/arc/kernel/smp.o CC arch/arc/kernel/mcip.o CC kernel/workqueue.o ../kernel/workqueue.c:300:15: error: variable 'manager_wait' has initializer but incomplete type 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~ ../kernel/workqueue.c:300:38: error: implicit declaration of function '__RCUWAIT_INITIALIZER'; did you mean 'RCU_INITIALIZER'? [-Werror=implicit-function-declaration] 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~~~~~~~~~~ | RCU_INITIALIZER ../kernel/workqueue.c:300:60: error: 'manager_wait' has an incomplete type 'struct rcuwait' 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~ ../kernel/workqueue.c: In function 'manage_workers': CC arch/arc/kernel/unwind.o ../kernel/workqueue.c:1966:9: error: implicit declaration of function 'rcuwait_wake_up' [-Werror=implicit-function-declaration] 1966 | rcuwait_wake_up(&manager_wait); | ^~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function 'put_unbound_pool': ../kernel/workqueue.c:3210:9: error: implicit declaration of function 'rcuwait_wait_event'; did you mean 'io_wait_event'? [-Werror=implicit-function-declaration] 3210 | rcuwait_wait_event(&manager_wait, wq_manager_inactive(pool), | ^~~~~~~~~~~~~~~~~~ | io_wait_event In file included from ../include/linux/kernel.h:12, from ../kernel/workqueue.c:28: ../kernel/workqueue.c: In function 'pwq_adjust_max_active': ../kernel/workqueue.c:3376:49: error: 'flags' undeclared (first use in this function) 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~ ../include/linux/typecheck.h:10:16: note: in definition of macro 'typecheck' 10 | typeof(x) __dummy2; \ | ^ ../kernel/workqueue.c:3376:9: note: in expansion of macro 'raw_spin_lock_irqsave' 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c:3376:49: note: each undeclared identifier is reported only once for each function it appears in 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~ ../include/linux/typecheck.h:10:16: note: in definition of macro 'typecheck' 10 | typeof(x) __dummy2; \ | ^ ../kernel/workqueue.c:3376:9: note: in expansion of macro 'raw_spin_lock_irqsave' 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:11:25: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:207:17: note: in expansion of macro 'typecheck' 207 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../kernel/workqueue.c:3376:9: note: in expansion of macro 'raw_spin_lock_irqsave' 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:11:25: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:245:17: note: in expansion of macro 'typecheck' 245 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../kernel/workqueue.c:3406:9: note: in expansion of macro 'raw_spin_unlock_irqrestore' 3406 | raw_spin_unlock_irqrestore(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function 'show_workqueue_state': ../kernel/workqueue.c:4418:25: error: implicit declaration of function 'touch_nmi_watchdog' [-Werror=implicit-function-declaration] 4418 | touch_nmi_watchdog(); | ^~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: At top level: ../kernel/workqueue.c:300:23: error: storage size of 'manager_wait' isn't known 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~ CC kernel/pid.o cc1: some warnings being treated as errors make[2]: *** [../scripts/Makefile.build:280: kernel/workqueue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/arc/kernel/perf_event.o CC arch/arc/kernel/ctx_sw.o LDS arch/arc/kernel/vmlinux.lds AS arch/arc/kernel/head.o LD arch/arc/kernel/built-in.o LD arch/arc/built-in.o LD certs/built-in.o make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'