Skip to contentSkip to conversation

ld.lld: error: undefined symbol: __kcfi_typeid_cpu_v7_smc_switch_mm

DISCUSSION kernel test robot 1 participant 1 message Nov 4, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Linus,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   59b723cd2adbac2a34fc8e12c74ae26ae45bf230
commit: 1a4fec49efe5273eb2fcf575175a117745f76f97 ARM: 9392/2: Support CLANG CFI
date:   6 months ago
config: arm-randconfig-001-20241104 (https://download.01.org/0day-ci/archive/20241104/[email protected]/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 639a7ac648f1e50ccd2556e17d401c04f9cce625)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241104/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: __kcfi_typeid_cpu_v7_smc_switch_mm
   >>> referenced by proc-v7.S:94 (arch/arm/mm/proc-v7.S:94)
   >>>               arch/arm/mm/proc-v7.o:(.text+0x108) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: __kcfi_typeid_cpu_v7_hvc_switch_mm
   >>> referenced by proc-v7.S:105 (arch/arm/mm/proc-v7.S:105)
   >>>               arch/arm/mm/proc-v7.o:(.text+0x124) in archive vmlinux.a
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki