2021-07-19 09:01:10

by Chen, Rong A

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


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: powerpc64-randconfig-s031-20210718 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc
SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

>> powerpc-linux-ld: kernel/locking/test-ww_rt_mutex.o:(.bss.wq+0x0): multiple definition of `wq'; kernel/locking/test-ww_mutex.o:(.bss.wq+0x0): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
.config.gz (37.30 kB)
Attached Message Part (154.00 B)
Download all attachments