[ardb:arm-entry-literals 24/38] ld.lld: error: undefined symbol: generic_handle_arch_irq

From: kernel test robot
Date: Tue Dec 14 2021 - 19:31:42 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm-entry-literals
head: bed1490d5af6f3411b5b8ca816c8b6ddb9206528
commit: 54f481a2308efab49d2b14c3f8263b34fdb1c65e [24/38] ARM: remove old-style irq entry
config: arm-randconfig-r003-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150836.cvaUk2Wq-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=54f481a2308efab49d2b14c3f8263b34fdb1c65e
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm-entry-literals
git checkout 54f481a2308efab49d2b14c3f8263b34fdb1c65e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm 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: warning: lld uses blx instruction, no object with architecture supporting feature detected
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
>> ld.lld: error: undefined symbol: generic_handle_arch_irq
>>> referenced by kernel/entry-armv.o:(__irq_svc) in archive arch/arm/built-in.a
>>> referenced by kernel/entry-armv.o:(__irq_usr) in archive arch/arm/built-in.a

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