# # 2024-07-29T12:43:54.791241 # # 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/percpu.h WRAP arch/mips/include/generated/asm/parport.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 CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/flattree.o 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/mod/modpost.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 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 HOSTCC usr/gen_init_cpio UPD include/generated/compile.h 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]; | ^~~~~~~~~~~ CC arch/mips/cavium-octeon/cpu.o GEN usr/initramfs_data.cpio.gz 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]; | ^~~~~~~~~~~ AS usr/initramfs_data.o LD usr/built-in.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/do_mounts_initrd.o LD arch/mips/boot/dts/brcm/built-in.o DTC arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dtb DTC arch/mips/boot/dts/cavium-octeon/octeon_68xx.dtb DTB arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dtb.S DTB arch/mips/boot/dts/cavium-octeon/octeon_68xx.dtb.S AS arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dtb.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/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]; | ^~~~~~~~~~~ CC init/initramfs.o AS arch/mips/boot/dts/cavium-octeon/octeon_68xx.dtb.o LD arch/mips/boot/dts/cavium-octeon/built-in.o rm arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dtb.S arch/mips/boot/dts/cavium-octeon/octeon_68xx.dtb.S LD arch/mips/boot/dts/ingenic/built-in.o LD arch/mips/boot/dts/lantiq/built-in.o LD arch/mips/boot/dts/mti/built-in.o LD arch/mips/boot/dts/netlogic/built-in.o LD arch/mips/boot/dts/qca/built-in.o CC init/calibrate.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 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/version.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]; | ^~~~~~~~~~~ LD init/mounts.o 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'