[peterz-queue:locking/ww_rt_mutex 18/18] ld: kernel/locking/test-ww_rt_mutex.o:(.bss+0x0): multiple definition of `wq'; kernel/locking/test-ww_mutex.o:(.bss+0x0): first defined here

From: kernel test robot
Date: Sun Jul 18 2021 - 20:30:59 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/ww_rt_mutex
head: 401531ec0e4c84f3d26d07d1171f893fee6a08aa
commit: 401531ec0e4c84f3d26d07d1171f893fee6a08aa [18/18] locking/ww_mutex: test_ww_rt_mutex
config: x86_64-randconfig-c022-20210718 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=401531ec0e4c84f3d26d07d1171f893fee6a08aa
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue locking/ww_rt_mutex
git checkout 401531ec0e4c84f3d26d07d1171f893fee6a08aa
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 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: kernel/locking/test-ww_rt_mutex.o:(.bss+0x0): multiple definition of `wq'; kernel/locking/test-ww_mutex.o:(.bss+0x0): first defined here

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

Attachment: .config.gz
Description: application/gzip