# # 2024-07-26T21:40:00.238614 # # 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 # # configuration written to .config # 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/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/mod/modpost.o HOSTCC scripts/mod/file2alias.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 SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/mod/modpost HOSTLD scripts/dtc/dtc 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 In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../include/linux/compat.h:15, from ../arch/mips/kernel/asm-offsets.c:11: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ 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 UPD include/generated/compile.h HOSTCC usr/gen_init_cpio CC init/do_mounts_initrd.o In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/do_mounts.c:11: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/main.c:15: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../init/do_mounts_initrd.c:13: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o CC arch/mips/cavium-octeon/cpu.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../arch/mips/cavium-octeon/cpu.c:13: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: error: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Werror=address] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC init/initramfs.o cc1: all warnings being treated as errors make[3]: *** [../scripts/Makefile.build:280: arch/mips/cavium-octeon/cpu.o] Error 1 make[2]: *** [../scripts/Makefile.build:487: arch/mips/cavium-octeon] Error 2 make[1]: *** [/tmp/kci/linux/Makefile:1009: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... CC init/calibrate.o In file included from ../include/linux/gfp.h:5, from ../include/linux/percpu_counter.h:15, from ../include/linux/quota.h:40, from ../include/linux/fs.h:273, from ../init/initramfs.c:12: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ CC init/init_task.o CC init/version.o LD init/mounts.o In file included from ../include/linux/topology.h:32, from ../include/linux/sched.h:43, from ../include/linux/utsname.h:5, from ../include/linux/init_task.h:6, from ../init/init_task.c:1: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from ../include/linux/gfp.h:5, from ../include/linux/kmod.h:22, from ../include/linux/module.h:13, from ../init/version.c:10: ../include/linux/mmzone.h: In function ‘__nr_to_section’: ../include/linux/mmzone.h:1079:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘mem_section’ will never be NULL [-Waddress] 1079 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ ../include/linux/mmzone.h:1074:27: note: ‘mem_section’ declared here 1074 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ LD init/built-in.o make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'