# # 2024-07-27T10:41:20.604127 # # make KBUILD_BUILD_USER=KernelCI ARCH=x86_64 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/asm/unistd_32_ia32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h HOSTCC scripts/basic/fixdep 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 MKELF scripts/mod/elfconfig.h CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.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 LD usr/built-in.o CC init/noinitramfs.o LD arch/x86/crypto/built-in.o AS arch/x86/entry/entry_64.o ../arch/x86/entry/entry_64.S: Assembler messages: ../arch/x86/entry/entry_64.S:487: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr' ../arch/x86/entry/entry_64.S:1660: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret' AS arch/x86/entry/thunk_64.o CC arch/x86/entry/syscall_64.o CC init/calibrate.o CC arch/x86/entry/common.o CC init/init_task.o CC arch/x86/entry/vdso/vma.o LDS arch/x86/entry/vdso/vdso.lds AS arch/x86/entry/vdso/vdso-note.o CC arch/x86/entry/vdso/vclock_gettime.o CC arch/x86/entry/vsyscall/vsyscall_gtod.o CC init/version.o LD init/mounts.o CC arch/x86/entry/vdso/vgetcpu.o LD arch/x86/entry/vsyscall/built-in.o LD init/built-in.o CC arch/x86/kernel/process_64.o CC arch/x86/kernel/signal.o HOSTCC arch/x86/entry/vdso/vdso2c CC arch/x86/mm/init.o VDSO arch/x86/entry/vdso/vdso64.so.dbg CC arch/x86/kernel/traps.o ld: warning: arch/x86/entry/vdso/vdso-note.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 arch/x86/kernel/irq.o CC arch/x86/mm/init_64.o OBJCOPY arch/x86/entry/vdso/vdso64.so VDSO2C arch/x86/entry/vdso/vdso-image-64.c CC arch/x86/entry/vdso/vdso-image-64.o LD arch/x86/entry/vdso/built-in.o LD arch/x86/entry/built-in.o ld: warning: arch/x86/entry/thunk_64.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/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 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 CC arch/x86/kernel/irq_64.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 AS arch/x86/realmode/rm/header.o AS arch/x86/realmode/rm/trampoline_64.o AS arch/x86/realmode/rm/stack.o AS arch/x86/realmode/rm/reboot.o PASYMS arch/x86/realmode/rm/pasyms.h LDS arch/x86/realmode/rm/realmode.lds LD arch/x86/realmode/rm/realmode.elf ld: warning: arch/x86/realmode/rm/realmode.elf has a LOAD segment with RWX permissions RELOCS arch/x86/realmode/rm/realmode.relocs OBJCOPY arch/x86/realmode/rm/realmode.bin AS arch/x86/realmode/rmpiggy.o CC arch/x86/kernel/dumpstack_64.o CC arch/x86/mm/fault.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 CC arch/x86/mm/ioremap.o CC kernel/fork.o CC arch/x86/kernel/time.o CC arch/x86/mm/extable.o CC arch/x86/mm/pageattr.o CC arch/x86/kernel/ioport.o CC arch/x86/mm/mmap.o CC arch/x86/mm/pat.o CC arch/x86/kernel/dumpstack.o CC kernel/exec_domain.o CC kernel/panic.o CC arch/x86/kernel/nmi.o CC arch/x86/mm/pgtable.o CC arch/x86/mm/physaddr.o CC kernel/cpu.o CC arch/x86/kernel/setup.o CC arch/x86/kernel/x86_init.o CC arch/x86/mm/gup.o CC kernel/exit.o CC arch/x86/kernel/i8259.o CC arch/x86/kernel/irqinit.o CC arch/x86/mm/setup_nx.o CC arch/x86/kernel/jump_label.o CC arch/x86/mm/tlb.o CC arch/x86/kernel/irq_work.o CC arch/x86/kernel/probe_roms.o CC arch/x86/kernel/sys_x86_64.o CC kernel/softirq.o LD arch/x86/mm/built-in.o CC kernel/resource.o CC arch/x86/kernel/x8664_ksyms_64.o AS arch/x86/kernel/mcount_64.o CC arch/x86/kernel/bootflag.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC arch/x86/kernel/e820.o CC kernel/capability.o CC kernel/ptrace.o CC arch/x86/kernel/pci-dma.o CC kernel/user.o CC arch/x86/kernel/quirks.o CC kernel/signal.o CC arch/x86/kernel/topology.o CC arch/x86/kernel/kdebugfs.o CC kernel/sys.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/kernel/tsc.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/pid.o CC arch/x86/kernel/tsc_msr.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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC kernel/task_work.o ../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.... CC arch/x86/kernel/io_delay.o CC arch/x86/kernel/rtc.o CC arch/x86/kernel/pci-iommu_table.o CC arch/x86/kernel/resource.o AS arch/x86/kernel/irqflags.o CC arch/x86/kernel/process.o make[1]: *** [/tmp/kci/linux/Makefile:1009: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... LD arch/x86/kernel/acpi/built-in.o CC arch/x86/kernel/apic/apic.o CC arch/x86/kernel/fpu/init.o CC arch/x86/kernel/cpu/intel_cacheinfo.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; | ^~~~~~~~~~~~~~~~~ CC arch/x86/kernel/fpu/bugs.o ../arch/x86/kernel/process.c: Assembler messages: ../arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr' ../arch/x86/kernel/process.c:456: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr' CC arch/x86/kernel/cpu/scattered.o CC arch/x86/kernel/apic/apic_noop.o CC arch/x86/kernel/fpu/core.o CC arch/x86/kernel/cpu/topology.o CC arch/x86/kernel/apic/ipi.o CC arch/x86/kernel/apic/vector.o CC arch/x86/kernel/cpu/common.o CC arch/x86/kernel/fpu/regset.o CC arch/x86/kernel/apic/hw_nmi.o CC arch/x86/kernel/apic/io_apic.o CC arch/x86/kernel/fpu/signal.o CC arch/x86/kernel/apic/apic_flat_64.o CC arch/x86/kernel/cpu/rdrand.o CC arch/x86/kernel/fpu/xstate.o CC arch/x86/kernel/cpu/match.o CC arch/x86/kernel/apic/probe_64.o CC arch/x86/kernel/cpu/bugs.o LD arch/x86/kernel/fpu/built-in.o LD arch/x86/kernel/kprobes/built-in.o CC arch/x86/kernel/ptrace.o CC arch/x86/kernel/step.o LD arch/x86/kernel/apic/built-in.o CC arch/x86/kernel/reboot.o CC arch/x86/kernel/cpu/intel.o CC arch/x86/kernel/mpparse.o CC arch/x86/kernel/trace_clock.o CC arch/x86/kernel/hpet.o CC arch/x86/kernel/pci-swiotlb.o CC arch/x86/kernel/cpu/tsx.o CC arch/x86/kernel/cpu/amd.o CC arch/x86/kernel/sysfb.o CC arch/x86/kernel/perf_regs.o CC arch/x86/kernel/vsmp_64.o AS arch/x86/kernel/head_64.o CC arch/x86/kernel/head64.o CC arch/x86/kernel/head.o CC arch/x86/kernel/cpu/centaur.o LDS arch/x86/kernel/vmlinux.lds 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/cpu/perf_event_p4.o CC arch/x86/kernel/cpu/perf_event_intel_lbr.o CC arch/x86/kernel/cpu/perf_event_intel_ds.o CC arch/x86/kernel/cpu/perf_event_intel.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 CC arch/x86/kernel/cpu/perf_event_msr.o CC arch/x86/kernel/cpu/perfctr-watchdog.o CC arch/x86/kernel/cpu/perf_event_amd_ibs.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'