All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 10340/10875] ld.lld: error: kallsyms.c:(function kallsyms_lookup_name: .text+0x60): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_names
Date: Fri, 18 Jun 2021 06:27:27 +0800	[thread overview]
Message-ID: <202106180610.v1rHNO1U-lkp@intel.com> (raw)

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

CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Miguel Ojeda <ojeda@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7d9c6b8147bdd76d7eb2cf6f74f84c6918ae0939
commit: 7cf6b8b2124fb6e3ad5c89f55170a6ce78fabd7c [10340/10875] Merge remote-tracking branch 'rust/rust-next'
config: riscv-randconfig-r015-20210617 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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=7cf6b8b2124fb6e3ad5c89f55170a6ce78fabd7c
        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 7cf6b8b2124fb6e3ad5c89f55170a6ce78fabd7c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

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: kallsyms.c:(function kallsyms_lookup_name: .text+0x60): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_names
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function kallsyms_lookup_name: .text+0x70): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_token_table
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function get_symbol_pos: .text+0x1C2): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_offsets
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function get_symbol_pos: .text+0x1CE): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_num_syms
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function get_symbol_pos: .text+0x1DC): relocation R_RISCV_PCREL_HI20 out of range: -524437 is not in [-524288, 524287]; references kallsyms_relative_base
   >>> 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

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

                 reply	other threads:[~2021-06-17 22:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202106180610.v1rHNO1U-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.