[asahilinux:asahi 30/63] apple-rtkit.c:undefined reference to `mbox_free_channel'

From: kernel test robot
Date: Sat Dec 18 2021 - 09:35:52 EST


tree: https://github.com/AsahiLinux/linux asahi
head: b63c1083b20eefa3b23180ae57e1919c723f7d86
commit: 34c1be37ea53de482315de47fb1a82e02f7bf9f9 [30/63] WIP: soc: apple: rtkit: Add RTKit library
config: arm64-randconfig-p002-20211218 (https://download.01.org/0day-ci/archive/20211218/202112182234.4VC4iNXD-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/AsahiLinux/linux/commit/34c1be37ea53de482315de47fb1a82e02f7bf9f9
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux asahi
git checkout 34c1be37ea53de482315de47fb1a82e02f7bf9f9
# 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: Entry trampoline text too big
aarch64-linux-ld: drivers/soc/apple/apple-rtkit.o: in function `apple_rtkit_boot_abort':
>> apple-rtkit.c:(.text+0x28): undefined reference to `mbox_free_channel'
aarch64-linux-ld: drivers/soc/apple/apple-rtkit.o: in function `apple_rtkit_send_message':
>> apple-rtkit.c:(.text+0x164): undefined reference to `mbox_send_message'
aarch64-linux-ld: drivers/soc/apple/apple-rtkit.o: in function `apple_rtkit_init':
>> apple-rtkit.c:(.text+0xcec): undefined reference to `mbox_request_channel_byname'
>> aarch64-linux-ld: apple-rtkit.c:(.text+0xd70): undefined reference to `mbox_request_channel'

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