[intel-tdx:guest-upstream 15/35] ld: Unexpected run-time relocations (.rel) detected!

From: kernel test robot
Date: Thu Jan 20 2022 - 03:32:58 EST


tree: https://github.com/intel/tdx.git guest-upstream
head: b893f6d89d7f317a3059ce66d362d18b6036ae2c
commit: d8bd4e38f74301c8e7c103e11fa302acbb97518c [15/35] x86/boot: Allow to hook up alternative port I/O helpers
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220120/202201201627.jQaRSiQq-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/d8bd4e38f74301c8e7c103e11fa302acbb97518c
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-upstream
git checkout d8bd4e38f74301c8e7c103e11fa302acbb97518c
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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 >>):

>> ld: Unexpected run-time relocations (.rel) detected!

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