# # 2024-07-27T10:38:01.768694 # # 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 vmlinuz # 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/dtc/dtc.o HOSTCC scripts/genksyms/genksyms.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 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/mod/modpost.o HOSTCC scripts/dtc/data.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/conmakehash HOSTCC scripts/dtc/srcpos.o HOSTLD scripts/mod/modpost HOSTCC scripts/sortextable HOSTLD scripts/genksyms/genksyms 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 HOSTLD scripts/dtc/dtc 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 LD usr/built-in.o UPD include/generated/compile.h CC init/do_mounts_rd.o CC arch/mips/kernel/cpu-probe.o CC init/noinitramfs.o CC arch/mips/kernel/branch.o LD arch/mips/boot/dts/brcm/built-in.o LD arch/mips/boot/dts/cavium-octeon/built-in.o LD arch/mips/boot/dts/ingenic/built-in.o LD arch/mips/boot/dts/lantiq/built-in.o DTC arch/mips/boot/dts/mti/malta.dtb CC init/calibrate.o DTB arch/mips/boot/dts/mti/malta.dtb.S AS arch/mips/boot/dts/mti/malta.dtb.o LD arch/mips/boot/dts/mti/built-in.o rm arch/mips/boot/dts/mti/malta.dtb.S LD arch/mips/boot/dts/netlogic/built-in.o CC kernel/fork.o LD arch/mips/boot/dts/qca/built-in.o LD arch/mips/boot/dts/ralink/built-in.o LD arch/mips/boot/dts/xilfpga/built-in.o LD arch/mips/boot/dts/built-in.o CC init/init_task.o CC kernel/exec_domain.o CC arch/mips/kernel/elf.o AS arch/mips/kernel/entry.o LD certs/built-in.o CC kernel/panic.o CC init/version.o AS arch/mips/kernel/genex.o CC arch/mips/kernel/idle.o LD init/mounts.o LD init/built-in.o CC arch/mips/kernel/irq.o CC mm/filemap.o CC kernel/cpu.o CC mm/mempool.o CC arch/mips/kernel/process.o CC kernel/exit.o CC arch/mips/kernel/prom.o CC arch/mips/kernel/ptrace.o CC mm/oom_kill.o CC mm/maccess.o CC arch/mips/kernel/reset.o CC arch/mips/kernel/setup.o CC kernel/softirq.o CC kernel/resource.o CC mm/page_alloc.o ../mm/page_alloc.c: In function ‘mem_init_print_info’: ../mm/page_alloc.c:6024:27: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6028:9: note: in expansion of macro ‘adj_init_size’ 6028 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: note: use ‘&__init_begin[0] <= &_sinittext[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6028:9: note: in expansion of macro ‘adj_init_size’ 6028 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6028:9: note: in expansion of macro ‘adj_init_size’ 6028 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: note: use ‘&_sinittext[0] < &__init_end[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6028:9: note: in expansion of macro ‘adj_init_size’ 6028 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6030:9: note: in expansion of macro ‘adj_init_size’ 6030 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: note: use ‘&_stext[0] <= &_sinittext[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6030:9: note: in expansion of macro ‘adj_init_size’ 6030 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6030:9: note: in expansion of macro ‘adj_init_size’ 6030 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: note: use ‘&_sinittext[0] < &_etext[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6030:9: note: in expansion of macro ‘adj_init_size’ 6030 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6031:9: note: in expansion of macro ‘adj_init_size’ 6031 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: note: use ‘&_sdata[0] <= &__init_begin[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6031:9: note: in expansion of macro ‘adj_init_size’ 6031 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6031:9: note: in expansion of macro ‘adj_init_size’ 6031 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: note: use ‘&__init_begin[0] < &_edata[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6031:9: note: in expansion of macro ‘adj_init_size’ 6031 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6032:9: note: in expansion of macro ‘adj_init_size’ 6032 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: note: use ‘&_stext[0] <= &__start_rodata[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6032:9: note: in expansion of macro ‘adj_init_size’ 6032 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6032:9: note: in expansion of macro ‘adj_init_size’ 6032 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: note: use ‘&__start_rodata[0] < &_etext[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6032:9: note: in expansion of macro ‘adj_init_size’ 6032 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6033:9: note: in expansion of macro ‘adj_init_size’ 6033 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:27: note: use ‘&_sdata[0] <= &__start_rodata[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^~ ../mm/page_alloc.c:6033:9: note: in expansion of macro ‘adj_init_size’ 6033 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: warning: comparison between two arrays [-Warray-compare] 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6033:9: note: in expansion of macro ‘adj_init_size’ 6033 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ ../mm/page_alloc.c:6024:41: note: use ‘&__start_rodata[0] < &_edata[0]’ to compare the addresses 6024 | if (start <= pos && pos < end && size > adj) \ | ^ ../mm/page_alloc.c:6033:9: note: in expansion of macro ‘adj_init_size’ 6033 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ CC arch/mips/kernel/signal.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC arch/mips/kernel/syscall.o CC mm/page-writeback.o CC arch/mips/kernel/time.o CC kernel/capability.o CC arch/mips/kernel/topology.o CC kernel/ptrace.o CC arch/mips/kernel/traps.o CC mm/readahead.o CC mm/swap.o CC kernel/user.o CC arch/mips/kernel/unaligned.o CC kernel/signal.o CC kernel/sys.o CC mm/truncate.o CC arch/mips/kernel/watch.o CC arch/mips/kernel/vdso.o CC mm/vmscan.o CC arch/mips/kernel/cevt-r4k.o CC arch/mips/kernel/csrc-r4k.o CC arch/mips/kernel/sync-r4k.o CC kernel/kmod.o CC arch/mips/kernel/mips_ksyms.o CC kernel/workqueue.o CC arch/mips/kernel/module.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.... AS arch/mips/kernel/r4k_fpu.o make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... AS arch/mips/kernel/r4k_switch.o CC arch/mips/kernel/smp.o CC arch/mips/kernel/smp-up.o CC arch/mips/kernel/mips-mt.o CC arch/mips/kernel/mips-mt-fpaff.o CC mm/shmem.o CC arch/mips/kernel/smp-mt.o CC mm/util.o CC mm/mmzone.o CC mm/vmstat.o CC arch/mips/kernel/smp-gic.o CC arch/mips/kernel/spram.o CC mm/backing-dev.o CC arch/mips/kernel/irq-msc01.o AS arch/mips/kernel/scall32-o32.o CC mm/mm_init.o CC arch/mips/kernel/proc.o CC arch/mips/mm/cache.o CC arch/mips/kernel/i8253.o CC arch/mips/kernel/mips-cm.o CC mm/mmu_context.o CC arch/mips/mm/dma-default.o AS arch/mips/kernel/head.o LDS arch/mips/kernel/vmlinux.lds LD arch/mips/kernel/built-in.o LD arch/mips/net/built-in.o CC arch/mips/mti-malta/malta-display.o CC mm/percpu.o LDS arch/mips/vdso/vdso.lds AS arch/mips/vdso/elf.o CC arch/mips/vdso/gettimeofday.o CC arch/mips/mti-malta/malta-dt.o CC arch/mips/mti-malta/malta-dtshim.o AS arch/mips/vdso/sigreturn.o HOSTCC arch/mips/vdso/genvdso CC arch/mips/mm/extable.o CC arch/mips/mti-malta/malta-init.o CC arch/mips/mm/fault.o VDSO arch/mips/vdso/vdso.so.dbg GENVDSO arch/mips/vdso/vdso-image.c CC arch/mips/vdso/vdso-image.o CC arch/mips/mti-malta/malta-int.o LD arch/mips/vdso/built-in.o CC arch/mips/mti-malta/malta-memory.o CC arch/mips/mm/gup.o CC mm/slab_common.o CC arch/mips/mti-malta/malta-platform.o CC arch/mips/mti-malta/malta-reset.o CC arch/mips/mti-malta/malta-setup.o CC arch/mips/mm/init.o CC arch/mips/mm/mmap.o CC arch/mips/mti-malta/malta-time.o CC mm/compaction.o CC arch/mips/mm/page.o AS arch/mips/mm/page-funcs.o CC arch/mips/mm/tlbex.o CC arch/mips/mti-malta/malta-pm.o LD arch/mips/mti-malta/built-in.o AS arch/mips/mm/tlbex-fault.o AS arch/mips/mm/tlb-funcs.o CC arch/mips/mm/uasm-mips.o CC arch/mips/mm/ioremap.o CC arch/mips/mm/pgtable-32.o CC mm/vmacache.o CC mm/interval_tree.o CC arch/mips/mm/c-r4k.o AS arch/mips/mm/cex-gen.o CC arch/mips/mm/tlb-r4k.o CC arch/mips/mm/sc-mips.o CC mm/list_lru.o CC mm/workingset.o CC mm/debug.o CC mm/gup.o CC mm/highmem.o CC mm/memory.o CC mm/mincore.o LD arch/mips/mm/built-in.o LD arch/mips/built-in.o CC mm/mlock.o CC mm/mmap.o CC mm/mprotect.o CC mm/mremap.o CC mm/msync.o CC mm/rmap.o CC mm/vmalloc.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC mm/process_vm_access.o CC mm/init-mm.o CC mm/bootmem.o CC mm/fadvise.o CC mm/madvise.o CC mm/memblock.o CC mm/page_io.o CC mm/swap_state.o CC mm/swapfile.o CC mm/dmapool.o CC mm/slab.o CC mm/migrate.o LD mm/built-in.o make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'