Messages in this thread | | | Date | Mon, 14 Mar 2022 10:02:01 -0700 | Subject | Re: [cel:nfsd-courteous-server 29/39] do_mounts.c:(.text+0x66): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here | From | dai.ngo@oracle ... |
| |
Hi,
On 3/12/22 3:38 PM, kernel test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux nfsd-courteous-server > head: ca4d8c00bb753707519f438e5286b2349af53054 > commit: 3a59c0f1c4d6cb882410bfc086ad81458d4cbcaa [29/39] fs/lock: add helper locks_owner_has_blockers to check for blockers > config: m68k-randconfig-r031-20220313 (https://download.01.org/0day-ci/archive/20220313/202203130709.dYmfXVEC-lkp@intel.com/config) > compiler: m68k-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/commit/?id=3a59c0f1c4d6cb882410bfc086ad81458d4cbcaa > git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux > git fetch --no-tags cel nfsd-courteous-server > git checkout 3a59c0f1c4d6cb882410bfc086ad81458d4cbcaa > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > m68k-linux-ld: init/do_mounts.o: in function `locks_owner_has_blockers': >>> do_mounts.c:(.text+0x66): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here
I looked through all the functions listed as having multiple definition of `locks_owner_has_blockers' such as init/main.o:main.c, arch/x86/kernel/head32.c, init/do_mounts_rd.c and many others. None of these functions has 'locks_owner_has_blockers' defined. I think there is a problem with the tools that detects this error, can you help to verify?
Thanks, -Dai
> m68k-linux-ld: init/do_mounts_rd.o: in function `locks_owner_has_blockers': > do_mounts_rd.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: init/do_mounts_initrd.o: in function `locks_owner_has_blockers': > do_mounts_initrd.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: init/initramfs.o: in function `locks_owner_has_blockers': > initramfs.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: init/init_task.o: in function `locks_owner_has_blockers': > init_task.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/irq.o: in function `locks_owner_has_blockers': > irq.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/module.o: in function `locks_owner_has_blockers': > module.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/process.o: in function `locks_owner_has_blockers': > process.c:(.text+0xe): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/ptrace.o: in function `locks_owner_has_blockers': > ptrace.c:(.text+0x182): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/setup.o: in function `locks_owner_has_blockers': > setup.c:(.text+0x102): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/signal.o: in function `locks_owner_has_blockers': > signal.c:(.text+0x3a0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/sys_m68k.o: in function `locks_owner_has_blockers': > sys_m68k.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/time.o: in function `locks_owner_has_blockers': > time.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/traps.o: in function `locks_owner_has_blockers': > traps.c:(.text+0x12): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/kernel/dma.o: in function `locks_owner_has_blockers': > dma.c:(.text+0x62): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/mm/init.o: in function `locks_owner_has_blockers': > init.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/device.o: in function `locks_owner_has_blockers': > device.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/vectors.o: in function `locks_owner_has_blockers': > vectors.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/m5206.o: in function `locks_owner_has_blockers': > m5206.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/reset.o: in function `locks_owner_has_blockers': > reset.c:(.text+0x14): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/timers.o: in function `locks_owner_has_blockers': > timers.c:(.text+0x56): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: arch/m68k/coldfire/gpio.o: in function `locks_owner_has_blockers': > gpio.c:(.text+0x26): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/fork.o: in function `locks_owner_has_blockers': > fork.c:(.text+0x6b4): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/exec_domain.o: in function `locks_owner_has_blockers': > exec_domain.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/panic.o: in function `locks_owner_has_blockers': > panic.c:(.text+0x1d6): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/cpu.o: in function `locks_owner_has_blockers': > cpu.c:(.text+0x296): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/exit.o: in function `locks_owner_has_blockers': > exit.c:(.text+0x948): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/softirq.o: in function `locks_owner_has_blockers': > softirq.c:(.text+0x12e): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/resource.o: in function `locks_owner_has_blockers': > resource.c:(.text+0x6de): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sysctl.o: in function `locks_owner_has_blockers': > sysctl.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/capability.o: in function `locks_owner_has_blockers': > capability.c:(.text+0x288): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/ptrace.o: in function `locks_owner_has_blockers': > ptrace.c:(.text+0x474): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/signal.o: in function `locks_owner_has_blockers': > signal.c:(.text+0x9cc): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sys.o: in function `locks_owner_has_blockers': > sys.c:(.text+0xdd4): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/umh.o: in function `locks_owner_has_blockers': > umh.c:(.text+0x47a): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/workqueue.o: in function `locks_owner_has_blockers': > workqueue.c:(.text+0x1e40): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/pid.o: in function `locks_owner_has_blockers': > pid.c:(.text+0xc6): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/task_work.o: in function `locks_owner_has_blockers': > task_work.c:(.text+0x24): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/extable.o: in function `locks_owner_has_blockers': > extable.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/params.o: in function `locks_owner_has_blockers': > params.c:(.text+0x998): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/kthread.o: in function `locks_owner_has_blockers': > kthread.c:(.text+0x6c0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/nsproxy.o: in function `locks_owner_has_blockers': > nsproxy.c:(.text+0x1fc): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/notifier.o: in function `locks_owner_has_blockers': > notifier.c:(.text+0x12c): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/ksysfs.o: in function `locks_owner_has_blockers': > ksysfs.c:(.text+0x180): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/cred.o: in function `locks_owner_has_blockers': > cred.c:(.text+0x11a): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/reboot.o: in function `locks_owner_has_blockers': > reboot.c:(.text+0x1d2): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/groups.o: in function `locks_owner_has_blockers': > groups.c:(.text+0x32): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sched/core.o: in function `locks_owner_has_blockers': > core.c:(.text+0x918): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sched/loadavg.o: in function `locks_owner_has_blockers': > loadavg.c:(.text+0x38): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sched/clock.o: in function `locks_owner_has_blockers': > clock.c:(.text+0x0): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > m68k-linux-ld: kernel/sched/cputime.o: in function `locks_owner_has_blockers': > cputime.c:(.text+0x76): multiple definition of `locks_owner_has_blockers'; init/main.o:main.c:(.text+0x0): first defined here > > --- > 0-DAY CI Kernel Test Service > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |