mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <yujie.liu@intel.com>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: <kbuild-all@lists.01.org>, <llvm@lists.linux.dev>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [rust:rust-next 2/24] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x5f0): relocation R_RISCV_PCREL_HI20 out of range: -524435 is not in [-524288, 524287]; references kallsyms_names
Date: Fri, 3 Jun 2022 18:32:00 +0800	[thread overview]
Message-ID: <cdd02535-b446-5547-4fdd-6deaf3fba6a6@intel.com> (raw)
In-Reply-To: <202205240321.sb0gX2mq-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]

tree:   https://github.com/Rust-for-Linux/linux rust-next
head:   9a5fe747d99e1d562dde1f39259bbe2d098262ae
commit: 2087d6ac3567b38f2cddfa8fa445e595af87a04a [2/24] kallsyms: support "big" kernel symbols
config: riscv-buildonly-randconfig-r002-20220523 (attached as .config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 10c9ecce9f6096e18222a331c5e7d085bd813f75)
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://github.com/Rust-for-Linux/linux/commit/2087d6ac3567b38f2cddfa8fa445e595af87a04a
         git remote add rust https://github.com/Rust-for-Linux/linux
         git fetch --no-tags rust rust-next
         git checkout 2087d6ac3567b38f2cddfa8fa445e595af87a04a
         # 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 <yujie.liu@intel.com>

All errors (new ones prefixed by >>):

 >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x5f0): relocation R_RISCV_PCREL_HI20 out of range: -524435 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+0x5e0): relocation R_RISCV_PCREL_HI20 out of range: -524435 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30851 bytes --]

       reply	other threads:[~2022-06-03 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202205240321.sb0gX2mq-lkp@intel.com>
2022-06-03 10:32 ` kernel test robot [this message]
2022-06-03 11:01   ` Miguel Ojeda
2022-06-04 10:14     ` Yujie Liu

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=cdd02535-b446-5547-4fdd-6deaf3fba6a6@intel.com \
    --to=yujie.liu@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=ojeda@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®