[ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10 5870/5872] aarch64-linux-ld: trusty-ipc.c:undefined reference to `trusty_dma_buf_get_shared_mem_id'
From: kernel test robot
Date: Wed Mar 30 2022 - 08:49:35 EST
Hi Tri,
FYI, the error/warning still remains.
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10
head: 07055bfd3d810d41a38354693dfaa55a6f8c0025
commit: 629a4d3318cc1234675f62b69fba8791592e8a83 [5870/5872] ANDROID: trusty: Support setting trusty_shared_mem_id_t
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220330/202203302026.RQKx7sLs-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
https://01.org/lkp