# # 2024-07-23T09:08:33.057939 # # make KBUILD_BUILD_USER=KernelCI ARCH=mips HOSTCC=gcc CROSS_COMPILE=mips-linux-gnu- CC="ccache mips-linux-gnu-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 uImage.gz # 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/mips/include/generated/asm/cputime.h WRAP arch/mips/include/generated/asm/current.h WRAP arch/mips/include/generated/asm/dma-contiguous.h WRAP arch/mips/include/generated/asm/emergency-restart.h WRAP arch/mips/include/generated/asm/irq_work.h WRAP arch/mips/include/generated/asm/local64.h WRAP arch/mips/include/generated/asm/mcs_spinlock.h WRAP arch/mips/include/generated/asm/mm-arch-hooks.h WRAP arch/mips/include/generated/asm/mutex.h WRAP arch/mips/include/generated/asm/parport.h WRAP arch/mips/include/generated/asm/percpu.h WRAP arch/mips/include/generated/asm/preempt.h WRAP arch/mips/include/generated/asm/sections.h WRAP arch/mips/include/generated/asm/segment.h WRAP arch/mips/include/generated/asm/serial.h WRAP arch/mips/include/generated/asm/trace_clock.h WRAP arch/mips/include/generated/asm/user.h WRAP arch/mips/include/generated/asm/word-at-a-time.h WRAP arch/mips/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h WRAP arch/mips/include/generated/uapi/asm/ipcbuf.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c Using .. as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/selinux/mdp/mdp UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/sumversion.o HOSTCC scripts/sortextable HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o SHIPPED scripts/genksyms/parse.tab.c SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms HOSTLD scripts/mod/modpost Checking missing-syscalls for N32 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/mips/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh Checking missing-syscalls for O32 CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh CC init/main.o CHK include/generated/compile.h 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.gz AS usr/initramfs_data.o LD usr/built-in.o CC init/initramfs.o CC arch/mips/kernel/cpu-probe.o CC arch/mips/kernel/branch.o CC init/calibrate.o CC init/init_task.o CC init/version.o CC arch/mips/kernel/elf.o LD init/mounts.o AS arch/mips/kernel/entry.o AS arch/mips/kernel/genex.o CC arch/mips/kernel/idle.o LD init/built-in.o CC arch/mips/kernel/irq.o CC arch/mips/mm/cache.o CC kernel/fork.o CC arch/mips/kernel/process.o LD certs/built-in.o CC kernel/exec_domain.o CC arch/mips/mm/dma-default.o CC arch/mips/mm/extable.o CC arch/mips/kernel/prom.o CC arch/mips/kernel/ptrace.o CC kernel/panic.o CC arch/mips/mm/fault.o CC arch/mips/kernel/reset.o CC arch/mips/kernel/setup.o CC arch/mips/mm/gup.o CC kernel/cpu.o CC arch/mips/mm/init.o CC arch/mips/mm/mmap.o CC arch/mips/kernel/signal.o CC kernel/exit.o CC kernel/softirq.o CC arch/mips/mm/page.o CC arch/mips/kernel/syscall.o CC arch/mips/kernel/time.o AS arch/mips/mm/page-funcs.o CC arch/mips/mm/tlbex.o CC kernel/resource.o CC arch/mips/kernel/topology.o CC kernel/sysctl.o CC arch/mips/kernel/traps.o AS arch/mips/mm/tlbex-fault.o AS arch/mips/mm/tlb-funcs.o CC arch/mips/mm/uasm-mips.o CC kernel/sysctl_binary.o CC arch/mips/mm/pgtable-64.o CC arch/mips/mm/c-r4k.o CC kernel/capability.o CC arch/mips/kernel/unaligned.o CC kernel/ptrace.o CC arch/mips/kernel/watch.o CC kernel/user.o CC arch/mips/mm/cerr-sb1.o CC arch/mips/kernel/vdso.o AS arch/mips/mm/cex-sb1.o CC kernel/signal.o CC arch/mips/mm/tlb-r4k.o CC arch/mips/kernel/cevt-bcm1480.o CC kernel/sys.o CC arch/mips/kernel/csrc-bcm1480.o CC arch/mips/kernel/mips_ksyms.o LD arch/mips/mm/built-in.o LD arch/mips/net/built-in.o CC arch/mips/sibyte/bcm1480/setup.o CC arch/mips/kernel/module.o CC arch/mips/sibyte/bcm1480/irq.o CC kernel/kmod.o CC arch/mips/kernel/module-rela.o CC arch/mips/sibyte/bcm1480/time.o CC arch/mips/sibyte/bcm1480/smp.o AS arch/mips/kernel/r4k_fpu.o AS arch/mips/kernel/r4k_switch.o CC arch/mips/kernel/smp.o CC kernel/workqueue.o LD arch/mips/sibyte/bcm1480/built-in.o CC arch/mips/sibyte/common/cfe.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’: ../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); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [../scripts/Makefile.build:280: kernel/workqueue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... CC arch/mips/sibyte/swarm/platform.o LD arch/mips/sibyte/common/built-in.o AS arch/mips/kernel/scall64-64.o CC arch/mips/kernel/linux32.o CC arch/mips/sibyte/swarm/setup.o LDS arch/mips/vdso/vdso.lds CC arch/mips/kernel/ptrace32.o AS arch/mips/vdso/elf.o CC arch/mips/vdso/gettimeofday.o CC arch/mips/sibyte/swarm/rtc_xicor1241.o CC arch/mips/sibyte/swarm/rtc_m41t81.o CC arch/mips/kernel/signal32.o AS arch/mips/vdso/sigreturn.o CC arch/mips/sibyte/swarm/swarm-i2c.o HOSTCC arch/mips/vdso/genvdso LDS arch/mips/vdso/vdso-o32.lds CC arch/mips/kernel/binfmt_elfn32.o LD arch/mips/sibyte/swarm/built-in.o LD arch/mips/sibyte/built-in.o AS arch/mips/kernel/scall64-n32.o CC arch/mips/kernel/signal_n32.o CC arch/mips/kernel/binfmt_elfo32.o AS arch/mips/vdso/elf-o32.o CC arch/mips/vdso/gettimeofday-o32.o AS arch/mips/vdso/sigreturn-o32.o LDS arch/mips/vdso/vdso-n32.lds AS arch/mips/vdso/elf-n32.o CC arch/mips/vdso/gettimeofday-n32.o AS arch/mips/vdso/sigreturn-n32.o VDSO arch/mips/vdso/vdso.so.dbg VDSO arch/mips/vdso/vdso-o32.so.dbg GENVDSO arch/mips/vdso/vdso-image.c AS arch/mips/kernel/scall64-o32.o CC arch/mips/kernel/proc.o GENVDSO arch/mips/vdso/vdso-o32-image.c CC arch/mips/kernel/sysrq.o VDSO arch/mips/vdso/vdso-n32.so.dbg CC arch/mips/kernel/cpu-bugs64.o CC arch/mips/vdso/vdso-image.o CC arch/mips/kernel/early_printk.o AS arch/mips/kernel/head.o LDS arch/mips/kernel/vmlinux.lds CC arch/mips/vdso/vdso-o32-image.o GENVDSO arch/mips/vdso/vdso-n32-image.c LD arch/mips/kernel/built-in.o CC arch/mips/vdso/vdso-n32-image.o LD arch/mips/vdso/built-in.o LD arch/mips/built-in.o make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'