# # 2024-07-27T10:26:28.797886 # # 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 Using .. as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/sortextable 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 CHK scripts/mod/devicetable-offsets.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/dtc/treesource.o HOSTCC scripts/mod/modpost.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/mod/file2alias.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.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/mips/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 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 init/calibrate.o CC init/init_task.o CC arch/mips/bmips/setup.o CC kernel/fork.o LD certs/built-in.o CC kernel/exec_domain.o ../arch/mips/bmips/setup.c: In function ‘plat_mem_setup’: ../arch/mips/bmips/setup.c:154:30: error: comparison between two arrays [-Werror=array-compare] 154 | else if (__dtb_start != __dtb_end) | ^~ ../arch/mips/bmips/setup.c:154:30: note: use ‘&__dtb_start[0] != &__dtb_end[0]’ to compare the addresses CC init/version.o cc1: all warnings being treated as errors make[3]: *** [../scripts/Makefile.build:280: arch/mips/bmips/setup.o] Error 1 make[2]: *** [../scripts/Makefile.build:487: arch/mips/bmips] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1009: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... CC kernel/panic.o CC kernel/cpu.o LD init/mounts.o LD init/built-in.o CC kernel/exit.o ../kernel/cpu.c: In function ‘notify_cpu_starting’: ../kernel/cpu.c:1061:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘frozen_cpus’ will never be NULL [-Waddress] 1061 | if (frozen_cpus != NULL && cpumask_test_cpu(cpu, frozen_cpus)) | ^~ ../kernel/cpu.c:906:22: note: ‘frozen_cpus’ declared here 906 | static cpumask_var_t frozen_cpus; | ^~~~~~~~~~~ CC kernel/softirq.o CC kernel/resource.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/user.o CC kernel/signal.o CC kernel/sys.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/pid.o 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:3377:49: error: ‘flags’ undeclared (first use in this function) 3377 | 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:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c:3377:49: note: each undeclared identifier is reported only once for each function it appears in 3377 | 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:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | 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:3377:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3377 | 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:3407:9: note: in expansion of macro ‘raw_spin_unlock_irqrestore’ 3407 | raw_spin_unlock_irqrestore(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘show_workqueue_state’: ../kernel/workqueue.c:4419:25: error: implicit declaration of function ‘touch_nmi_watchdog’ [-Werror=implicit-function-declaration] 4419 | touch_nmi_watchdog(); | ^~~~~~~~~~~~~~~~~~ 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]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'