[ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10 5870/5871] aarch64-linux-ld: trusty-ipc.c:undefined reference to `trusty_dma_buf_get_shared_mem_id'
From: kernel test robot
Date: Tue Feb 01 2022 - 06:33:46 EST
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10
head: b60d55f33484d855a546f7cfc59a28a5771e8bee
commit: 629a4d3318cc1234675f62b69fba8791592e8a83 [5870/5871] ANDROID: trusty: Support setting trusty_shared_mem_id_t
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220201/202202011931.flPRO9aB-lkp@xxxxxxxxx/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://github.com/ammarfaizi2/linux-block/commit/629a4d3318cc1234675f62b69fba8791592e8a83
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-trusty-5.10
git checkout 629a4d3318cc1234675f62b69fba8791592e8a83
# 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=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: drivers/trusty/trusty-ipc.o: in function `dn_share_fd':
trusty-ipc.c:(.text+0x337c): undefined reference to `trusty_dma_buf_get_ffa_tag'
>> aarch64-linux-ld: trusty-ipc.c:(.text+0x3398): undefined reference to `trusty_dma_buf_get_shared_mem_id'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx