[avpatel:riscv_aia_v1 9/21] ld.lld: error: undefined symbol: ipi_mux_create
From: kernel test robot
Date: Wed Aug 17 2022 - 20:48:57 EST
tree: https://github.com/avpatel/linux.git riscv_aia_v1
head: 36cb4e5ba395f2438224c82ed1b2e8f816eff45b
commit: 9d1529228e6447d48c54a07ba627b114319eb13a [9/21] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-randconfig-r004-20220818 (https://download.01.org/0day-ci/archive/20220818/202208180836.hCTy6TA1-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/avpatel/linux/commit/9d1529228e6447d48c54a07ba627b114319eb13a
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_aia_v1
git checkout 9d1529228e6447d48c54a07ba627b114319eb13a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: ipi_mux_create
>>> referenced by timer-clint.c:169 (drivers/clocksource/timer-clint.c:169)
>>> clocksource/timer-clint.o:(clint_timer_init_dt) in archive drivers/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp