[ammarfaizi2-block:google/android/kernel/common/android13-5.15 1113/5403] arm-linux-gnueabi-ld: drivers/android/android_debug_symbols.o:undefined reference to `__per_cpu_start'

From: kernel test robot
Date: Tue Mar 22 2022 - 02:22:13 EST


Hi Prasad,

First bad commit (maybe != root cause):

tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head: e4967c187ba0ed7e49621ef0d62906ff6441fbdc
commit: b2df67a932b5cbd6535de9f1a6e63004992ad014 [1113/5403] ANDROID: android: Create debug_symbols driver
config: arm-randconfig-r011-20220322 (https://download.01.org/0day-ci/archive/20220322/202203221424.skW37V4c-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-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/b2df67a932b5cbd6535de9f1a6e63004992ad014
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
git checkout b2df67a932b5cbd6535de9f1a6e63004992ad014
# 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=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 >>):

arm-linux-gnueabi-ld: drivers/gpu/drm/ttm/ttm_bo_vm.o: in function `ttm_bo_vm_fault_reserved':
ttm_bo_vm.c:(.text+0x4f4): undefined reference to `vmf_insert_pfn_prot'
arm-linux-gnueabi-ld: drivers/gpu/drm/ttm/ttm_bo_vm.o: in function `ttm_bo_vm_dummy_page':
ttm_bo_vm.c:(.text+0x648): undefined reference to `vmf_insert_pfn_prot'
arm-linux-gnueabi-ld: drivers/power/supply/rt9455_charger.o: in function `rt9455_probe':
rt9455_charger.c:(.text+0xbf6): undefined reference to `devm_usb_get_phy'
arm-linux-gnueabi-ld: drivers/power/supply/bq256xx_charger.o: in function `bq256xx_probe':
bq256xx_charger.c:(.text+0x11fe): undefined reference to `devm_usb_get_phy'
arm-linux-gnueabi-ld: bq256xx_charger.c:(.text+0x123c): undefined reference to `devm_usb_get_phy'
>> arm-linux-gnueabi-ld: drivers/android/android_debug_symbols.o:(.rodata+0x14): undefined reference to `__per_cpu_start'
>> arm-linux-gnueabi-ld: drivers/android/android_debug_symbols.o:(.rodata+0x1c): undefined reference to `__per_cpu_end'
>> arm-linux-gnueabi-ld: drivers/android/android_debug_symbols.o:(.rodata+0x6c): undefined reference to `stack_guard_gap'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on USB_SUPPORT
Selected by
- GKI_HIDDEN_USB_CONFIGS
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on NET
Selected by
- GKI_HIDDEN_NET_CONFIGS
WARNING: unmet direct dependencies detected for DRM_TTM
Depends on HAS_IOMEM && DRM && MMU
Selected by
- GKI_HIDDEN_DRM_CONFIGS && HAS_IOMEM && DRM
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on NET
Selected by
- GKI_HIDDEN_NET_CONFIGS

--
0-DAY CI Kernel Test Service
https://01.org/lkp