[linuxppc:next-test 72/141] ld.lld: error: undefined symbol: .kvmppc_h_remove

From: kernel test robot
Date: Thu Sep 02 2021 - 07:07:43 EST


tree: https://github.com/linuxppc/linux next-test
head: e432fe97f3e5de325b40021e505cce53877586c5
commit: 0355785313e2191be4e1108cdbda94ddb0238c48 [72/141] powerpc: Add "-z notext" flag to disable diagnostic
config: powerpc-randconfig-r023-20210831 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c9948e9254fbb6ea00f66c7b4542311d21e060be)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/linuxppc/linux/commit/0355785313e2191be4e1108cdbda94ddb0238c48
git remote add linuxppc https://github.com/linuxppc/linux
git fetch --no-tags linuxppc next-test
git checkout 0355785313e2191be4e1108cdbda94ddb0238c48
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=powerpc 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: error: undefined symbol: .kvmppc_h_remove
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1210) in archive arch/powerpc/built-in.a
>>> did you mean: kvmppc_h_remove
>>> defined in: arch/powerpc/built-in.a(kvm/book3s_hv_rm_mmu.o)
--
>> ld.lld: error: undefined symbol: .kvmppc_rm_h_random
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x150C) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_enter
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1214) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_read
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1218) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_clear_mod
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x121C) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_clear_ref
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1220) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_protect
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1224) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_rm_h_page_init
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1238) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_rm_h_confer
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x12F0) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: undefined symbol: .kvmppc_h_bulk_remove
>>> referenced by kvm/book3s_hv_rmhandlers.o:(.text+0x1330) in archive arch/powerpc/built-in.a

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

Attachment: .config.gz
Description: application/gzip