[asahilinux:nvme/new 6/11] apple-mailbox-compat-shim.c:undefined reference to `apple_rtkit_start_ep'

From: kernel test robot
Date: Wed Aug 25 2021 - 00:43:30 EST


tree: https://github.com/AsahiLinux/linux nvme/new
head: 711b8253e87fff41df3f9d9c2283f42caa450a63
commit: 48ef3a1b0cb7b662fc14930d2c8029092370afcd [6/11] HACK compat mailbox shim
config: arm64-randconfig-s031-20210824 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
# https://github.com/AsahiLinux/linux/commit/48ef3a1b0cb7b662fc14930d2c8029092370afcd
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux nvme/new
git checkout 48ef3a1b0cb7b662fc14930d2c8029092370afcd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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/mailbox/apple-mailbox-compat-shim.o: in function `apple_compat_mbox_chan_startup':
>> apple-mailbox-compat-shim.c:(.text+0x1d0): undefined reference to `apple_rtkit_start_ep'
aarch64-linux-ld: drivers/mailbox/apple-mailbox-compat-shim.o: in function `apple_compat_mbox_probe':
>> apple-mailbox-compat-shim.c:(.text+0x4ec): undefined reference to `apple_rtkit_init'
>> aarch64-linux-ld: apple-mailbox-compat-shim.c:(.text+0x4f8): undefined reference to `apple_rtkit_boot_wait'
>> aarch64-linux-ld: apple-mailbox-compat-shim.c:(.text+0x598): undefined reference to `apple_rtkit_init'

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

Attachment: .config.gz
Description: application/gzip