llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [peterz-queue:x86/wip.vmx 2/2] ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_halt: .text+0x28): relocation R_RISCV_HI20 out of range: 530843 is not in [-524288, 524287]; references pm_power_off
@ 2022-01-24 12:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-24 12:01 UTC (permalink / raw)
  Cc: kbuild-all, llvm

CC: linux-kernel@vger.kernel.org
TO: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.vmx
head:   d443f8b92af9d11702dc42f6064875fae56ff302
commit: d443f8b92af9d11702dc42f6064875fae56ff302 [2/2] x86/vmx: Provide asm-goto-output vmread
config: riscv-randconfig-r035-20220117 (https://download.01.org/0day-ci/archive/20220124/202201242016.t0cBi9d6-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f7b7138a62648f4019c55e4671682af1f851f295)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=d443f8b92af9d11702dc42f6064875fae56ff302
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.vmx
        git checkout d443f8b92af9d11702dc42f6064875fae56ff302
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_halt: .text+0x28): relocation R_RISCV_HI20 out of range: 530843 is not in [-524288, 524287]; references pm_power_off
   >>> referenced by reset.c
   >>> defined in arch/riscv/built-in.a(kernel/reset.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/cpufeature.o):(function riscv_isa_extension_base: .text+0x1c): relocation R_RISCV_HI20 out of range: 530460 is not in [-524288, 524287]; references riscv_isa_extension_base.__if_trace.1
   >>> referenced by cpufeature.c
   >>> defined in arch/riscv/built-in.a(kernel/cpufeature.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_mmap: .text+0x40): relocation R_RISCV_HI20 out of range: 530305 is not in [-524288, 524287]; references riscv_sys_mmap.______f.16
   >>> referenced by sys_riscv.c
   >>> defined in arch/riscv/built-in.a(kernel/sys_riscv.o)

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

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

only message in thread, other threads:[~2022-01-24 12:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24 12:01 [peterz-queue:x86/wip.vmx 2/2] ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_halt: .text+0x28): relocation R_RISCV_HI20 out of range: 530843 is not in [-524288, 524287]; references pm_power_off kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).