[ammarfaizi2-block:powerpc/linux/next-test 106/106] mobility.c:undefined reference to `.vas_migration_handler'

From: kernel test robot
Date: Tue Mar 01 2022 - 21:52:47 EST


tree: https://github.com/ammarfaizi2/linux-block powerpc/linux/next-test
head: cb848c24e3dc532269b70f907ad6d51848039cf0
commit: cb848c24e3dc532269b70f907ad6d51848039cf0 [106/106] powerpc/pseries/vas: Add VAS migration handler
config: powerpc64-randconfig-c024-20220301 (https://download.01.org/0day-ci/archive/20220302/202203020911.R6SaDVQw-lkp@xxxxxxxxx/config)
compiler: powerpc64-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://github.com/ammarfaizi2/linux-block/commit/cb848c24e3dc532269b70f907ad6d51848039cf0
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block powerpc/linux/next-test
git checkout cb848c24e3dc532269b70f907ad6d51848039cf0
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 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 >>):

powerpc64-linux-ld: warning: discarding dynamic section .glink
powerpc64-linux-ld: warning: discarding dynamic section .plt
powerpc64-linux-ld: linkage table error against `vas_migration_handler'
powerpc64-linux-ld: stubs don't match calculated size
powerpc64-linux-ld: can not build stubs: bad value
powerpc64-linux-ld: arch/powerpc/platforms/pseries/mobility.o: in function `.pseries_migrate_partition.part.0':
>> mobility.c:(.text+0xb44): undefined reference to `.vas_migration_handler'
>> powerpc64-linux-ld: mobility.c:(.text+0xbc4): undefined reference to `.vas_migration_handler'
powerpc64-linux-ld: mobility.c:(.text+0xc90): undefined reference to `.vas_migration_handler'

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