# # 2024-07-27T10:29:18.540827 # # 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 # # configuration written to .config # 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/hardirq.h WRAP arch/arc/include/generated/asm/ftrace.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/kvm_para.h WRAP arch/arc/include/generated/asm/kmap_types.h WRAP arch/arc/include/generated/asm/local.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 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 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/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h Using .. as source for kernel HOSTCC scripts/sortextable CC scripts/mod/empty.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/dtc.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/fstree.o MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/modpost.o UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/sumversion.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.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 HOSTCC scripts/mod/file2alias.o 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 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 LD usr/built-in.o CC init/noinitramfs.o UPD include/generated/compile.h CC init/calibrate.o CC init/init_task.o CC init/version.o CC arch/arc/kernel/arcksyms.o DTC arch/arc/boot/dts/nsim_700.dtb DTB arch/arc/boot/dts/nsim_700.dtb.S AS arch/arc/boot/dts/nsim_700.dtb.o LD arch/arc/boot/dts/built-in.o CC arch/arc/mm/extable.o CC arch/arc/kernel/setup.o LD init/mounts.o LD init/built-in.o CC kernel/fork.o LD certs/built-in.o CC arch/arc/mm/ioremap.o CC mm/filemap.o CC arch/arc/mm/dma.o CC arch/arc/kernel/irq.o CC arch/arc/mm/fault.o CC arch/arc/kernel/time.o CC arch/arc/mm/init.o CC arch/arc/kernel/reset.o CC arch/arc/kernel/ptrace.o CC arch/arc/mm/tlb.o CC kernel/exec_domain.o CC kernel/panic.o AS arch/arc/mm/tlbex.o CC arch/arc/mm/cache.o CC mm/mempool.o CC kernel/cpu.o CC arch/arc/mm/mmap.o CC mm/oom_kill.o CC kernel/exit.o LD arch/arc/mm/built-in.o CC kernel/softirq.o CC arch/arc/kernel/process.o CC mm/maccess.o CC arch/arc/kernel/devtree.o CC kernel/resource.o CC arch/arc/kernel/signal.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, | ^~~~~~~~~~~~~ CC kernel/sysctl.o ../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); | ^~~~~~~~~~~~~ CC arch/arc/kernel/traps.o ../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 kernel/sysctl_binary.o CC arch/arc/kernel/sys.o CC kernel/capability.o CC arch/arc/kernel/troubleshoot.o CC kernel/ptrace.o CC kernel/user.o CC arch/arc/kernel/stacktrace.o CC kernel/signal.o CC arch/arc/kernel/disasm.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 AS arch/arc/kernel/ctx_sw_asm.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 CC fs/open.o CC mm/page-writeback.o CC kernel/kmod.o LD ipc/built-in.o CC security/commoncap.o CC kernel/workqueue.o CC fs/read_write.o CC security/min_addr.o LD security/built-in.o In file included from ../include/linux/irqflags.h:14, from ../arch/arc/include/asm/smp.h:105, from ../arch/arc/include/asm/bitops.h:22, from ../include/linux/bitops.h:18, from ../include/linux/kernel.h:10, 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:229:17: note: in expansion of macro 'typecheck' 229 | 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/irqflags.h:67:17: note: in expansion of macro 'typecheck' 67 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/irqflags.h:128:17: note: in expansion of macro 'raw_local_irq_save' 128 | raw_local_irq_save(flags); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/spinlock_api_up.h:40:8: note: in expansion of macro 'local_irq_save' 40 | do { local_irq_save(flags); __LOCK(lock); } while (0) | ^~~~~~~~~~~~~~ ../include/linux/spinlock_api_up.h:69:49: note: in expansion of macro '__LOCK_IRQSAVE' 69 | #define _raw_spin_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) | ^~~~~~~~~~~~~~ ../include/linux/spinlock.h:230:17: note: in expansion of macro '_raw_spin_lock_irqsave' 230 | _raw_spin_lock_irqsave(lock, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:11:25: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/irqflags.h:72:17: note: in expansion of macro 'typecheck' 72 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/irqflags.h:130:39: note: in expansion of macro 'raw_local_irq_restore' 130 | #define local_irq_restore(flags) do { raw_local_irq_restore(flags); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock_api_up.h:56:8: note: in expansion of macro 'local_irq_restore' 56 | do { local_irq_restore(flags); __UNLOCK(lock); } while (0) | ^~~~~~~~~~~~~~~~~ ../include/linux/spinlock_api_up.h:86:41: note: in expansion of macro '__UNLOCK_IRQRESTORE' 86 | __UNLOCK_IRQRESTORE(lock, flags) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:246:17: note: in expansion of macro '_raw_spin_unlock_irqrestore' 246 | _raw_spin_unlock_irqrestore(lock, 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(); | ^~~~~~~~~~~~~~~~~~ CC mm/readahead.o cc1: some warnings being treated as errors make[2]: *** [../scripts/Makefile.build:280: kernel/workqueue.o] Error 1 LD crypto/built-in.o make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... CC mm/swap.o CC mm/truncate.o CC mm/vmscan.o CC mm/shmem.o CC fs/file_table.o CC mm/util.o CC fs/super.o CC mm/mmzone.o CC mm/vmstat.o CC mm/backing-dev.o CC mm/mm_init.o CC mm/mmu_context.o CC fs/char_dev.o CC mm/percpu.o CC mm/slab_common.o CC mm/compaction.o CC fs/stat.o CC mm/vmacache.o CC mm/interval_tree.o CC mm/list_lru.o CC mm/workingset.o CC mm/debug.o CC fs/exec.o CC mm/gup.o CC mm/highmem.o CC mm/memory.o CC mm/mincore.o CC mm/mlock.o CC mm/mmap.o CC fs/pipe.o CC mm/mprotect.o CC mm/mremap.o CC mm/msync.o CC fs/namei.o CC fs/fcntl.o CC fs/ioctl.o CC mm/rmap.o CC fs/readdir.o CC fs/select.o CC fs/dcache.o CC mm/vmalloc.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC mm/init-mm.o CC mm/nobootmem.o CC mm/memblock.o CC fs/inode.o CC mm/dmapool.o CC fs/attr.o CC fs/bad_inode.o CC mm/slub.o CC fs/file.o CC fs/filesystems.o CC fs/namespace.o CC fs/seq_file.o CC fs/xattr.o LD mm/built-in.o CC fs/libfs.o CC fs/fs-writeback.o CC fs/pnode.o CC fs/splice.o CC fs/sync.o CC fs/utimes.o CC fs/stack.o CC fs/fs_struct.o CC fs/statfs.o CC fs/fs_pin.o CC fs/nsfs.o CC fs/no-block.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o LD fs/quota/built-in.o CC fs/ramfs/inode.o CC fs/ramfs/file-mmu.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o LD fs/built-in.o make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'