TO: Saravana Kannan <saravanak(a)google.com>
CC: Chanwoo Choi <cw00.choi(a)samsung.com>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
devfreq-testing-mt8183
head: f6760df010133422a70f040a8d50f9f4143f5f9d
commit: 8b38e3243fce2b924473c0074e83a138cb0f5769 [3/12] OPP: Improve required-opps
linking
config: x86_64-randconfig-a005-20200524 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
3393cc4cebf9969db94dc424b7a2b6195589c33b)
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
git checkout 8b38e3243fce2b924473c0074e83a138cb0f5769
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
> ld.lld: error: duplicate symbol: _of_lazy_link_required_tables
>> defined at opp.h:232 (drivers/opp/opp.h:232)
>> opp/core.o:(_of_lazy_link_required_tables) in archive drivers/built-in.a
>> defined at opp.h:232 (drivers/opp/opp.h:232)
>> opp/cpu.o:(.text+0x0) in archive drivers/built-in.a
--
> ld.lld: error: duplicate symbol: _of_lazy_link_required_tables
>> defined at opp.h:232 (drivers/opp/opp.h:232)
>> opp/core.o:(_of_lazy_link_required_tables) in archive drivers/built-in.a
>> defined at debugfs.c:201 (drivers/opp/debugfs.c:201)
>> opp/debugfs.o:(.text+0x0) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org