[avpatel:riscv_sbi_dbcn_v1 11/37] ld.lld: error: undefined symbol: ipi_mux_create

From: kernel test robot
Date: Tue Oct 25 2022 - 18:39:34 EST


tree: https://github.com/avpatel/linux.git riscv_sbi_dbcn_v1
head: d5d198490fcda8bd44b35a47dca468ba205dc7b9
commit: 4210d63ed7a74823f1260bfe057ad2bd75c72791 [11/37] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-randconfig-r022-20221023 (attached as .config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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/4210d63ed7a74823f1260bfe057ad2bd75c72791
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_sbi_dbcn_v1
git checkout 4210d63ed7a74823f1260bfe057ad2bd75c72791
# 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)
>>> drivers/clocksource/timer-clint.o:(clint_timer_init_dt) in archive vmlinux.a
pahole: .tmp_vmlinux.btf: No such file or directory
ld.lld: error: .btf.vmlinux.bin.o: unknown file type

--
0-DAY CI Kernel Test Service
https://01.org/lkp

Attachment: .config.gz
Description: application/gzip