# # 2024-07-26T21:43:10.315596 # # make KBUILD_BUILD_USER=KernelCI ARCH=i386 HOSTCC=gcc CC="ccache gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 bzImage # 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 # SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/x86/include/generated/asm/clkdev.h WRAP arch/x86/include/generated/asm/cputime.h WRAP arch/x86/include/generated/asm/dma-contiguous.h WRAP arch/x86/include/generated/asm/early_ioremap.h WRAP arch/x86/include/generated/asm/mcs_spinlock.h WRAP arch/x86/include/generated/asm/mm-arch-hooks.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 HOSTCC scripts/sortextable CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTCC arch/x86/tools/relocs_32.o Using .. as source for kernel HOSTCC arch/x86/tools/relocs_64.o HOSTCC arch/x86/tools/relocs_common.o HOSTLD scripts/mod/modpost HOSTLD arch/x86/tools/relocs 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/x86/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 UPD include/generated/compile.h CC init/noinitramfs.o LD usr/built-in.o LD arch/x86/crypto/built-in.o AS arch/x86/entry/entry_32.o AS arch/x86/entry/thunk_32.o CC arch/x86/entry/syscall_32.o CC kernel/fork.o CC init/calibrate.o CC arch/x86/entry/common.o CC kernel/exec_domain.o CC init/init_task.o CC kernel/panic.o CC init/version.o CC arch/x86/entry/vdso/vma.o CC kernel/cpu.o LD init/mounts.o CC kernel/exit.o LD init/built-in.o CC kernel/softirq.o CC arch/x86/entry/vdso/vdso32-setup.o CC arch/x86/entry/vsyscall/vsyscall_gtod.o LDS arch/x86/entry/vdso/vdso32/vdso32.lds CC arch/x86/entry/vdso/vdso32/vclock_gettime.o LD arch/x86/entry/vsyscall/built-in.o AS arch/x86/entry/vdso/vdso32/note.o CC kernel/resource.o AS arch/x86/entry/vdso/vdso32/system_call.o HOSTCC arch/x86/entry/vdso/vdso2c CC kernel/sysctl.o CC kernel/sysctl_binary.o VDSO arch/x86/entry/vdso/vdso32.so.dbg ld: warning: arch/x86/entry/vdso/vdso32/system_call.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker OBJCOPY arch/x86/entry/vdso/vdso32.so VDSO2C arch/x86/entry/vdso/vdso-image-32.c CC arch/x86/entry/vdso/vdso-image-32.o CC kernel/capability.o LD arch/x86/entry/vdso/built-in.o LD arch/x86/entry/built-in.o ld: warning: arch/x86/entry/thunk_32.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker CC kernel/ptrace.o CC arch/x86/kernel/process_32.o CC kernel/user.o CC kernel/signal.o CC arch/x86/kernel/signal.o CC kernel/sys.o CC kernel/kmod.o CC arch/x86/kernel/traps.o CC kernel/workqueue.o CC arch/x86/kernel/irq.o CC kernel/pid.o ../kernel/workqueue.c:300:15: error: variable ‘manager_wait’ has initializer but incomplete type 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~ CC kernel/task_work.o ../kernel/workqueue.c:300:38: error: implicit declaration of function ‘__RCUWAIT_INITIALIZER’; did you mean ‘RCU_INITIALIZER’? [-Werror=implicit-function-declaration] 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~~~~~~~~~~ | RCU_INITIALIZER ../kernel/workqueue.c:300:60: error: ‘manager_wait’ has an incomplete type ‘struct rcuwait’ 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘manage_workers’: ../kernel/workqueue.c:1966:9: error: implicit declaration of function ‘rcuwait_wake_up’ [-Werror=implicit-function-declaration] 1966 | rcuwait_wake_up(&manager_wait); | ^~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘put_unbound_pool’: ../kernel/workqueue.c:3210:9: error: implicit declaration of function ‘rcuwait_wait_event’; did you mean ‘io_wait_event’? [-Werror=implicit-function-declaration] 3210 | rcuwait_wait_event(&manager_wait, wq_manager_inactive(pool), | ^~~~~~~~~~~~~~~~~~ | io_wait_event CC arch/x86/kernel/irq_32.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:3376:49: error: ‘flags’ undeclared (first use in this function) 3376 | 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:3376:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3376 | raw_spin_lock_irqsave(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c:3376:49: note: each undeclared identifier is reported only once for each function it appears in 3376 | 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:3376:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3376 | 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:3376:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3376 | 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:3376:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 3376 | 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:3406:9: note: in expansion of macro ‘raw_spin_unlock_irqrestore’ 3406 | 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:3406:9: note: in expansion of macro ‘raw_spin_unlock_irqrestore’ 3406 | raw_spin_unlock_irqrestore(&pwq->pool->lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: In function ‘show_workqueue_state’: ../kernel/workqueue.c:4418:25: error: implicit declaration of function ‘touch_nmi_watchdog’ [-Werror=implicit-function-declaration] 4418 | touch_nmi_watchdog(); | ^~~~~~~~~~~~~~~~~~ ../kernel/workqueue.c: At top level: ../kernel/workqueue.c:300:23: error: storage size of ‘manager_wait’ isn’t known 300 | static struct rcuwait manager_wait = __RCUWAIT_INITIALIZER(manager_wait); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [../scripts/Makefile.build:280: kernel/workqueue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch/x86/kernel/dumpstack_32.o CC arch/x86/kernel/time.o CC arch/x86/kernel/ioport.o make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... CC arch/x86/kernel/dumpstack.o CC arch/x86/kernel/nmi.o CC arch/x86/kernel/setup.o CC arch/x86/kernel/x86_init.o CC arch/x86/kernel/i8259.o CC arch/x86/kernel/irqinit.o CC arch/x86/kernel/jump_label.o CC arch/x86/kernel/irq_work.o CC arch/x86/kernel/probe_roms.o CC arch/x86/kernel/i386_ksyms_32.o CC arch/x86/kernel/bootflag.o CC arch/x86/kernel/e820.o CC arch/x86/kernel/pci-dma.o CC arch/x86/kernel/quirks.o CC arch/x86/kernel/topology.o CC arch/x86/kernel/kdebugfs.o CC arch/x86/kernel/alternative.o CC arch/x86/kernel/i8253.o CC arch/x86/kernel/pci-nommu.o CC arch/x86/kernel/hw_breakpoint.o CC arch/x86/mm/init.o CC arch/x86/kernel/tsc.o CC arch/x86/kernel/tsc_msr.o CC arch/x86/kernel/io_delay.o CC arch/x86/mm/init_32.o CC arch/x86/kernel/rtc.o CC arch/x86/kernel/pci-iommu_table.o CC arch/x86/mm/fault.o CC arch/x86/mm/ioremap.o CC arch/x86/kernel/resource.o LD arch/x86/net/built-in.o LD arch/x86/platform/atom/built-in.o LD arch/x86/platform/ce4100/built-in.o LD arch/x86/platform/efi/built-in.o LD arch/x86/platform/geode/built-in.o LD arch/x86/platform/goldfish/built-in.o LD arch/x86/platform/intel/built-in.o LD arch/x86/platform/intel-mid/built-in.o LD arch/x86/platform/intel-quark/built-in.o AS arch/x86/kernel/irqflags.o LD arch/x86/platform/iris/built-in.o LD arch/x86/platform/olpc/built-in.o LD arch/x86/platform/scx200/built-in.o LD arch/x86/platform/sfi/built-in.o LD arch/x86/platform/ts5500/built-in.o LD arch/x86/platform/uv/built-in.o LD arch/x86/platform/built-in.o CC arch/x86/realmode/init.o CC arch/x86/kernel/process.o AS arch/x86/realmode/rm/header.o AS arch/x86/realmode/rm/trampoline_32.o CC arch/x86/mm/extable.o ../arch/x86/kernel/process.c: In function ‘amd_e400_remove_cpu’: ../arch/x86/kernel/process.c:539:31: warning: the comparison will always evaluate as ‘true’ for the address of ‘amd_e400_c1e_mask’ will never be NULL [-Waddress] 539 | if (amd_e400_c1e_mask != NULL) | ^~ ../arch/x86/kernel/process.c:535:22: note: ‘amd_e400_c1e_mask’ declared here 535 | static cpumask_var_t amd_e400_c1e_mask; | ^~~~~~~~~~~~~~~~~ AS arch/x86/realmode/rm/stack.o AS arch/x86/realmode/rm/reboot.o CC arch/x86/mm/pageattr.o PASYMS arch/x86/realmode/rm/pasyms.h LD arch/x86/kernel/acpi/built-in.o LDS arch/x86/realmode/rm/realmode.lds CC arch/x86/kernel/apic/hw_nmi.o LD arch/x86/realmode/rm/realmode.elf RELOCS arch/x86/realmode/rm/realmode.relocs OBJCOPY arch/x86/realmode/rm/realmode.bin AS arch/x86/realmode/rmpiggy.o CC arch/x86/kernel/cpu/intel_cacheinfo.o LD arch/x86/kernel/apic/built-in.o CC arch/x86/kernel/fpu/init.o LD arch/x86/realmode/built-in.o ld: warning: arch/x86/realmode/rmpiggy.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker LD arch/x86/kernel/kprobes/built-in.o CC arch/x86/kernel/ptrace.o CC arch/x86/kernel/cpu/scattered.o CC arch/x86/kernel/fpu/bugs.o CC arch/x86/mm/mmap.o CC arch/x86/kernel/cpu/topology.o CC arch/x86/kernel/cpu/common.o CC arch/x86/kernel/fpu/core.o CC arch/x86/mm/pat.o CC arch/x86/mm/pgtable.o CC arch/x86/mm/physaddr.o CC arch/x86/kernel/fpu/regset.o CC arch/x86/mm/gup.o CC arch/x86/mm/setup_nx.o CC arch/x86/kernel/cpu/rdrand.o CC arch/x86/kernel/cpu/match.o CC arch/x86/mm/tlb.o CC arch/x86/kernel/fpu/signal.o CC arch/x86/kernel/cpu/bugs.o CC arch/x86/kernel/fpu/xstate.o CC arch/x86/kernel/cpu/intel.o CC arch/x86/mm/pgtable_32.o CC arch/x86/mm/iomap_32.o CC arch/x86/kernel/cpu/tsx.o CC arch/x86/kernel/cpu/amd.o LD arch/x86/kernel/fpu/built-in.o CC arch/x86/kernel/cpu/cyrix.o CC arch/x86/kernel/cpu/centaur.o LD arch/x86/mm/built-in.o CC arch/x86/kernel/cpu/transmeta.o CC arch/x86/kernel/cpu/umc.o CC arch/x86/kernel/cpu/perf_event.o CC arch/x86/kernel/cpu/perf_event_amd.o CC arch/x86/kernel/cpu/perf_event_amd_uncore.o CC arch/x86/kernel/cpu/perf_event_p6.o CC arch/x86/kernel/cpu/perf_event_knc.o CC arch/x86/kernel/tls.o CC arch/x86/kernel/cpu/perf_event_p4.o CC arch/x86/kernel/cpu/perf_event_intel_lbr.o CC arch/x86/kernel/step.o CC arch/x86/kernel/i8237.o CC arch/x86/kernel/reboot.o CC arch/x86/kernel/trace_clock.o CC arch/x86/kernel/cpu/perf_event_intel_ds.o CC arch/x86/kernel/cpu/perf_event_intel.o CC arch/x86/kernel/sysfb.o CC arch/x86/kernel/perf_regs.o AS arch/x86/kernel/head_32.o CC arch/x86/kernel/head32.o CC arch/x86/kernel/head.o CC arch/x86/kernel/cpu/perf_event_intel_rapl.o CC arch/x86/kernel/cpu/perf_event_intel_cqm.o CC arch/x86/kernel/cpu/perf_event_intel_pt.o CC arch/x86/kernel/cpu/perf_event_intel_bts.o CC arch/x86/kernel/cpu/perf_event_intel_cstate.o LDS arch/x86/kernel/vmlinux.lds CC arch/x86/kernel/cpu/perf_event_msr.o LD arch/x86/kernel/cpu/built-in.o LD arch/x86/kernel/built-in.o ld: warning: arch/x86/kernel/irqflags.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker LD arch/x86/built-in.o ld: warning: arch/x86/entry/built-in.o: requires executable stack (because the .note.GNU-stack section is executable) make[1]: Leaving directory '/tmp/kci/linux/build' make: *** [Makefile:152: sub-make] Error 2 make: Leaving directory '/tmp/kci/linux'