All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-platforms:kvm-arm64/pkvm-flags 101/101] stacktrace.c:undefined reference to `kvm_arm_hyp_stacktrace_page'
@ 2022-06-16 23:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-16 23:38 UTC (permalink / raw)
  To: Kalesh Singh; +Cc: kbuild-all, linux-arm-kernel, Marc Zyngier, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/pkvm-flags
head:   c36fd521a7c62110d46d7453b37beae2eeec6422
commit: c36fd521a7c62110d46d7453b37beae2eeec6422 [101/101] KVM: arm64: Unwind and dump nVHE hypervisor stacktrace
config: arm64-buildonly-randconfig-r005-20220616 (https://download.01.org/0day-ci/archive/20220617/202206170726.lkJZJHUk-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=c36fd521a7c62110d46d7453b37beae2eeec6422
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms kvm-arm64/pkvm-flags
        git checkout c36fd521a7c62110d46d7453b37beae2eeec6422
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: arch/arm64/kernel/stacktrace.o: in function `hyp_dump_backtrace':
>> stacktrace.c:(.text.unlikely+0x58): undefined reference to `kvm_arm_hyp_stacktrace_page'
   aarch64-linux-ld: arch/arm64/kernel/stacktrace.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `kvm_arm_hyp_stacktrace_page' which may bind externally can not be used when making a shared object; recompile with -fPIC
   stacktrace.c:(.text.unlikely+0x58): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: stacktrace.c:(.text.unlikely+0x5c): undefined reference to `kvm_arm_hyp_stacktrace_page'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 23:38 [arm-platforms:kvm-arm64/pkvm-flags 101/101] stacktrace.c:undefined reference to `kvm_arm_hyp_stacktrace_page' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.