public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.18.y 759/1352] ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_power_off: .text+0x60): relocation R_RISCV_HI20 out of range: 539872 is not in [-524288, 524287]; references pm_power_off
@ 2022-06-15 13:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-15 13:27 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Miaoqian Lin <linmq006@gmail.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Michael Ellerman <mpe@ellerman.id.au>
CC: Sasha Levin <sashal@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.18.y
head:   0e32b2c68ea4d90e0ecca45afd07dcf5d594de7e
commit: 5607a77a365df8c0fd5ff43ac424812b95775527 [759/1352] powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
config: riscv-randconfig-r001-20220613 (https://download.01.org/0day-ci/archive/20220615/202206152147.HyB7vaSj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c97436f8b6e2718286e8496faf53a2c800e281cf)
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/stable/linux-stable-rc.git/commit/?id=5607a77a365df8c0fd5ff43ac424812b95775527
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.18.y
        git checkout 5607a77a365df8c0fd5ff43ac424812b95775527
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        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 where applicable
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_power_off: .text+0x60): relocation R_RISCV_HI20 out of range: 539872 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/reset.o):(function machine_halt: .text+0xe): relocation R_RISCV_HI20 out of range: 539872 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/reset.o):(function machine_halt: .text+0x18): relocation R_RISCV_HI20 out of range: 539038 is not in [-524288, 524287]; references machine_halt.__if_trace.1
   >>> referenced by reset.c
   >>> defined in arch/riscv/built-in.a(kernel/reset.o)

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

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

only message in thread, other threads:[~2022-06-15 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-15 13:27 [linux-stable-rc:linux-5.18.y 759/1352] ld.lld: error: arch/riscv/built-in.a(kernel/reset.o):(function machine_power_off: .text+0x60): relocation R_RISCV_HI20 out of range: 539872 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