llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.15.y 4343/8925] ld.lld: error: kernel/built-in.a(sysctl.o):(function proc_dostring: .text+0x50): relocation R_RISCV_HI20 out of range: 529636 is not in [-524288, 524287]; references sysctl_writes_strict
@ 2022-07-27 21:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-27 21:53 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
head:   6a9b4e0a656c73ff2dc9a24b5714c6afccff043c
commit: 2dca61693e6cb6d163e5ba2cf18f2c3270d7ec30 [4343/8925] ARM: use LOADADDR() to get load address of sections
config: riscv-randconfig-r025-20220727 (https://download.01.org/0day-ci/archive/20220728/202207280541.6micc9ZL-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
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=2dca61693e6cb6d163e5ba2cf18f2c3270d7ec30
        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.15.y
        git checkout 2dca61693e6cb6d163e5ba2cf18f2c3270d7ec30
        # 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>

Note: the linux-stable-rc/linux-5.15.y HEAD 6a9b4e0a656c73ff2dc9a24b5714c6afccff043c builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> ld.lld: error: kernel/built-in.a(sysctl.o):(function proc_dostring: .text+0x50): relocation R_RISCV_HI20 out of range: 529636 is not in [-524288, 524287]; references sysctl_writes_strict
   >>> referenced by sysctl.c
   >>> defined in kernel/built-in.a(sysctl.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-07-27 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27 21:53 [linux-stable-rc:linux-5.15.y 4343/8925] ld.lld: error: kernel/built-in.a(sysctl.o):(function proc_dostring: .text+0x50): relocation R_RISCV_HI20 out of range: 529636 is not in [-524288, 524287]; references sysctl_writes_strict 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).