From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [stable:linux-5.10.y 4104/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x5c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_num_syms
Date: Sat, 12 Feb 2022 01:57:12 +0800 [thread overview]
Message-ID: <202202111904.fvUbPjBw-lkp@intel.com> (raw)
CC: linux-kernel@vger.kernel.org
TO: Khem Raj <raj.khem@gmail.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Nathan Chancellor <nathan@kernel.org>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Sasha Levin <sashal@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
head: d4f7d322a4ad1d1a280f1b1f36df8d0eb855966c
commit: bb73f2f789695028a4cc8baf9d6a8df03fb5ae14 [4104/9999] riscv: Use -mno-relax when using lld linker
config: riscv-randconfig-r026-20220211 (https://download.01.org/0day-ci/archive/20220211/202202111904.fvUbPjBw-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f6685f774697c85d6a352dcea013f46a99f9fe31)
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.git/commit/?id=bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.10.y
git checkout bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
# 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 kallsyms_lookup_name: .text+0x5c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_num_syms
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_pos: .text+0x720): relocation R_RISCV_PCREL_HI20 out of range: 33553689 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 get_symbol_pos: .text+0x72c): relocation R_RISCV_PCREL_HI20 out of range: 33553689 is not in [-524288, 524287]; references kallsyms_num_syms
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_pos: .text+0x74c): relocation R_RISCV_PCREL_HI20 out of range: 33553689 is not in [-524288, 524287]; references kallsyms_relative_base
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x27c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_relative_base
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x290): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_offsets
>>> 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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [stable:linux-5.10.y 4104/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x5c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_num_syms
Date: Sat, 12 Feb 2022 01:57:12 +0800 [thread overview]
Message-ID: <202202111904.fvUbPjBw-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3594 bytes --]
CC: linux-kernel(a)vger.kernel.org
TO: Khem Raj <raj.khem@gmail.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Nathan Chancellor <nathan@kernel.org>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Sasha Levin <sashal@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
head: d4f7d322a4ad1d1a280f1b1f36df8d0eb855966c
commit: bb73f2f789695028a4cc8baf9d6a8df03fb5ae14 [4104/9999] riscv: Use -mno-relax when using lld linker
config: riscv-randconfig-r026-20220211 (https://download.01.org/0day-ci/archive/20220211/202202111904.fvUbPjBw-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f6685f774697c85d6a352dcea013f46a99f9fe31)
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.git/commit/?id=bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.10.y
git checkout bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
# 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 kallsyms_lookup_name: .text+0x5c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_num_syms
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_pos: .text+0x720): relocation R_RISCV_PCREL_HI20 out of range: 33553689 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 get_symbol_pos: .text+0x72c): relocation R_RISCV_PCREL_HI20 out of range: 33553689 is not in [-524288, 524287]; references kallsyms_num_syms
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_pos: .text+0x74c): relocation R_RISCV_PCREL_HI20 out of range: 33553689 is not in [-524288, 524287]; references kallsyms_relative_base
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x27c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_relative_base
>>> referenced by kallsyms.c
>>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x290): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_offsets
>>> 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(a)lists.01.org
next reply other threads:[~2022-02-11 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 17:57 kernel test robot [this message]
2022-02-11 17:57 ` [stable:linux-5.10.y 4104/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_lookup_name: .text+0x5c): relocation R_RISCV_PCREL_HI20 out of range: 33553690 is not in [-524288, 524287]; references kallsyms_num_syms kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202111904.fvUbPjBw-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.