All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 12714/13576] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3bc): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_names
@ 2022-03-20  0:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-20  0:18 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: llvm, kbuild-all, Linux Memory Management List, Alex Gaynor,
	Wedson Almeida Filho, Gary Guo, Boqun Feng, Matthew Wilcox

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6d72dda014a4753974eb08950089ddf71fec4f60
commit: 0f50a8170b7266abc8a6100cf19b6e50500204ab [12714/13576] kallsyms: support "big" kernel symbols
config: riscv-buildonly-randconfig-r002-20220320 (https://download.01.org/0day-ci/archive/20220320/202203200835.wEdmTF1a-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 217f267efe3082438e698e2f08566b9df8c530fa)
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=0f50a8170b7266abc8a6100cf19b6e50500204ab
        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 0f50a8170b7266abc8a6100cf19b6e50500204ab
        # 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: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3bc): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_names
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x77c): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_token_index
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x786): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_offsets
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x798): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_token_table
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_open: .text+0x7fa): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_markers
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3ae): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_markers
   >>> referenced by kallsyms.c
   >>> defined in kernel/built-in.a(kallsyms.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-03-20  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-20  0:18 [linux-next:master 12714/13576] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3bc): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_names 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.