llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 1568/5346] ld.lld: error: arch/riscv/built-in.a(kernel/stacktrace.o):(function walk_stackframe: .text+0x32): relocation R_RISCV_HI20 out of range: 536065 is not in [-524288, 524287]; references walk_stackframe.__if_trace.1
@ 2022-04-21 13:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-21 13:11 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   65eb92e4c9f0a962656f131521f4fbc0d24c9d4c
commit: 0be0b70df6611205ac392d0e21f7e077f3230ee6 [1568/5346] pinctrl: alderlake: Fix register offsets for ADL-N variant
config: riscv-randconfig-r026-20220420 (https://download.01.org/0day-ci/archive/20220421/202204212150.kJ9VdVJ9-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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/next/linux-next.git/commit/?id=0be0b70df6611205ac392d0e21f7e077f3230ee6
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 0be0b70df6611205ac392d0e21f7e077f3230ee6
        # 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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the linux-next/master HEAD 65eb92e4c9f0a962656f131521f4fbc0d24c9d4c builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

>> ld.lld: error: arch/riscv/built-in.a(kernel/stacktrace.o):(function walk_stackframe: .text+0x32): relocation R_RISCV_HI20 out of range: 536065 is not in [-524288, 524287]; references walk_stackframe.__if_trace.1
   >>> referenced by stacktrace.c
   >>> defined in arch/riscv/built-in.a(kernel/stacktrace.o)
--
>> ld.lld: error: init/built-in.a(calibrate.o):(function calibrate_delay: .text+0x42): relocation R_RISCV_HI20 out of range: 536823 is not in [-524288, 524287]; references __stack_chk_guard
   >>> referenced by calibrate.c
   >>> defined in arch/riscv/built-in.a(kernel/process.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/signal.o):(function sys_rt_sigreturn: .text+0xc): relocation R_RISCV_HI20 out of range: 536823 is not in [-524288, 524287]; references __stack_chk_guard
   >>> referenced by signal.c
   >>> defined in arch/riscv/built-in.a(kernel/process.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-04-21 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 13:11 [linux-next:master 1568/5346] ld.lld: error: arch/riscv/built-in.a(kernel/stacktrace.o):(function walk_stackframe: .text+0x32): relocation R_RISCV_HI20 out of range: 536065 is not in [-524288, 524287]; references walk_stackframe.__if_trace.1 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).