public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [linux-next:master 4716/5842] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x45c): relocation R_RISCV_PCREL_HI20 out of range: -524386 is not in [-524288, 524287]; references kallsyms_names
@ 2021-12-09 11:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-09 11:57 UTC (permalink / raw)
  Cc: kbuild-all, llvm

CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Miguel Ojeda <ojeda@kernel.org>
CC: Alex Gaynor <alex.gaynor@gmail.com>
CC: Wedson Almeida Filho <wedsonaf@google.com>
CC: Gary Guo <gary@garyguo.net>
CC: Boqun Feng <boqun.feng@gmail.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4eee8d0b64ecc3231040fa68ba750317ffca5c52
commit: 026221a07000d799269199c93d734cb2f4b731a8 [4716/5842] kallsyms: support "big" kernel symbols
config: riscv-buildonly-randconfig-r001-20211207 (https://download.01.org/0day-ci/archive/20211209/202112091953.KSF2cfTQ-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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=026221a07000d799269199c93d734cb2f4b731a8
        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 026221a07000d799269199c93d734cb2f4b731a8
        # 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+0x45c): relocation R_RISCV_PCREL_HI20 out of range: -524386 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 get_symbol_offset: .text+0x44e): relocation R_RISCV_PCREL_HI20 out of range: -524386 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, 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:[~2021-12-09 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09 11:57 [linux-next:master 4716/5842] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x45c): relocation R_RISCV_PCREL_HI20 out of range: -524386 is not in [-524288, 524287]; references kallsyms_names 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