[peterz-queue:locking/ww_rt_mutex 18/18] ld.lld: error: duplicate symbol: wq

From: kernel test robot
Date: Sun Jul 18 2021 - 17:02:53 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-a013-20210718 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# 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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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.lld: error: duplicate symbol: wq
>>> defined at test-ww_mutex.c
>>> locking/test-ww_mutex.o:(wq) in archive kernel/built-in.a
>>> defined at test-ww_rt_mutex.c
>>> locking/test-ww_rt_mutex.o:(.bss+0x0) in archive kernel/built-in.a

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

Attachment: .config.gz
Description: application/gzip