Re: [PATCH v2] mm/slub: initialize stack depot in boot process

From: kernel test robot
Date: Tue Mar 01 2022 - 02:11:43 EST


Hi Hyeonggon,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on vbabka/slub-stackdepot-v1]
[also build test ERROR on linus/master v5.17-rc6 next-20220228]
[cannot apply to hnaz-mm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Hyeonggon-Yoo/mm-slub-initialize-stack-depot-in-boot-process/20220301-113825
base: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git slub-stackdepot-v1
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220301/202203011512.U0o5cAx4-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/dd9dbeec7444b13b510dc4a863e9593d1799f965
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hyeonggon-Yoo/mm-slub-initialize-stack-depot-in-boot-process/20220301-113825
git checkout dd9dbeec7444b13b510dc4a863e9593d1799f965
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: arch/x86/kernel/ebda.o: in function `slab_stack_depot_init':
>> ebda.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: init/main.o: in function `slab_stack_depot_init':
main.c:(.text+0x32): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: init/do_mounts.o: in function `slab_stack_depot_init':
do_mounts.c:(.text+0x5): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: init/noinitramfs.o: in function `slab_stack_depot_init':
noinitramfs.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: init/init_task.o: in function `slab_stack_depot_init':
init_task.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/entry/syscall_32.o: in function `slab_stack_depot_init':
syscall_32.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/entry/common.o: in function `slab_stack_depot_init':
common.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/entry/vdso/vma.o: in function `slab_stack_depot_init':
vma.c:(.text+0x1d0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/entry/vdso/extable.o: in function `slab_stack_depot_init':
extable.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/core.o: in function `slab_stack_depot_init':
core.c:(.text+0x903): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/amd/core.o: in function `slab_stack_depot_init':
core.c:(.text+0x70b): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/core.o: in function `slab_stack_depot_init':
core.c:(.text+0x1cbc): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/bts.o: in function `slab_stack_depot_init':
bts.c:(.text+0x6b2): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/ds.o: in function `slab_stack_depot_init':
ds.c:(.text+0x14ad): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/knc.o: in function `slab_stack_depot_init':
knc.c:(.text+0x2b1): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/lbr.o: in function `slab_stack_depot_init':
lbr.c:(.text+0x6c8): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/p4.o: in function `slab_stack_depot_init':
p4.c:(.text+0x5f8): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/p6.o: in function `slab_stack_depot_init':
p6.c:(.text+0xc4): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/intel/pt.o: in function `slab_stack_depot_init':
pt.c:(.text+0x641): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/events/zhaoxin/core.o: in function `slab_stack_depot_init':
core.c:(.text+0x460): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/realmode/init.o: in function `slab_stack_depot_init':
init.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/process_32.o: in function `slab_stack_depot_init':
process_32.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/signal.o: in function `slab_stack_depot_init':
signal.c:(.text+0x5b4): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/traps.o: in function `slab_stack_depot_init':
traps.c:(.text+0x288): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/idt.o: in function `slab_stack_depot_init':
idt.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/irq.o: in function `slab_stack_depot_init':
irq.c:(.text+0x4f): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/irq_32.o: in function `slab_stack_depot_init':
irq_32.c:(.text+0x1): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/dumpstack_32.o: in function `slab_stack_depot_init':
dumpstack_32.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/time.o: in function `slab_stack_depot_init':
time.c:(.text+0xd): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/ioport.o: in function `slab_stack_depot_init':
ioport.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/dumpstack.o: in function `slab_stack_depot_init':
dumpstack.c:(.text+0x11e): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/nmi.o: in function `slab_stack_depot_init':
nmi.c:(.text+0x74): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/setup.o: in function `slab_stack_depot_init':
setup.c:(.text+0x3): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/x86_init.o: in function `slab_stack_depot_init':
x86_init.c:(.text+0x39): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/i8259.o: in function `slab_stack_depot_init':
i8259.c:(.text+0x2c4): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/irqinit.o: in function `slab_stack_depot_init':
irqinit.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/irq_work.o: in function `slab_stack_depot_init':
irq_work.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/probe_roms.o: in function `slab_stack_depot_init':
probe_roms.c:(.text+0x1a3): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/sys_ia32.o: in function `slab_stack_depot_init':
sys_ia32.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/bootflag.o: in function `slab_stack_depot_init':
bootflag.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/e820.o: in function `slab_stack_depot_init':
e820.c:(.text+0xbf): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/pci-dma.o: in function `slab_stack_depot_init':
pci-dma.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/quirks.o: in function `slab_stack_depot_init':
quirks.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/topology.o: in function `slab_stack_depot_init':
topology.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/kdebugfs.o: in function `slab_stack_depot_init':
kdebugfs.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/alternative.o: in function `slab_stack_depot_init':
alternative.c:(.text+0x320): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/hw_breakpoint.o: in function `slab_stack_depot_init':
hw_breakpoint.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/rtc.o: in function `slab_stack_depot_init':
rtc.c:(.text+0x41): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/pci-iommu_table.o: in function `slab_stack_depot_init':
pci-iommu_table.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/process.o: in function `slab_stack_depot_init':
process.c:(.text+0xcf): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here
ld: arch/x86/kernel/fpu/init.o: in function `slab_stack_depot_init':
init.c:(.text+0x0): multiple definition of `slab_stack_depot_init'; arch/x86/kernel/head32.o:head32.c:(.text+0x0): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx