[rppt:vmemmap_populate/v0 1/4] aarch64-linux-ld: Unexpected GOT/PLT entries detected!

From: kernel test robot
Date: Thu Sep 02 2021 - 01:16:31 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git vmemmap_populate/v0
head: d721572d13328d6a0d56717ca78e667b2dd5062c
commit: 2a4481d231f17359ad07b09e939fd638b7cf77ea [1/4] mm: introduce vmemmap_populate_hugeges()
config: arm64-buildonly-randconfig-r006-20210831 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git/commit/?id=2a4481d231f17359ad07b09e939fd638b7cf77ea
git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
git fetch --no-tags rppt vmemmap_populate/v0
git checkout 2a4481d231f17359ad07b09e939fd638b7cf77ea
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):

>> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
>> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: mm/sparse-vmemmap.o: in function `vmemmap_populate_hugepages':
sparse-vmemmap.c:(.meminit.text+0x5cc): undefined reference to `vmemmap_populate_pmd'

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

Attachment: .config.gz
Description: application/gzip