All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [linux-next:master 12073/12461] ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x11dc): relocation R_RISCV_PCREL_HI20 out of range: -524582 is not in [-524288, 524287]; references kallsyms_names
Date: Wed, 19 Jan 2022 08:58:53 +0800	[thread overview]
Message-ID: <202201190810.SMzRmKCt-lkp@intel.com> (raw)

CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Hans de Goede <hdegoede@redhat.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6f59bc242877fcb9c9a5136ea62d383fce5615df
commit: 23636544a3a42f5884e73233778934b501f96af9 [12073/12461] proc: make the proc_create[_data]() stubs static inlines
config: riscv-randconfig-r012-20220116 (https://download.01.org/0day-ci/archive/20220119/202201190810.SMzRmKCt-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432)
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=23636544a3a42f5884e73233778934b501f96af9
        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 23636544a3a42f5884e73233778934b501f96af9
        # 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 update_iter: .text+0x11dc): relocation R_RISCV_PCREL_HI20 out of range: -524582 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+0x11ec): relocation R_RISCV_PCREL_HI20 out of range: -524582 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: [linux-next:master 12073/12461] ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x11dc): relocation R_RISCV_PCREL_HI20 out of range: -524582 is not in [-524288, 524287]; references kallsyms_names
Date: Wed, 19 Jan 2022 08:58:53 +0800	[thread overview]
Message-ID: <202201190810.SMzRmKCt-lkp@intel.com> (raw)

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

CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Hans de Goede <hdegoede@redhat.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6f59bc242877fcb9c9a5136ea62d383fce5615df
commit: 23636544a3a42f5884e73233778934b501f96af9 [12073/12461] proc: make the proc_create[_data]() stubs static inlines
config: riscv-randconfig-r012-20220116 (https://download.01.org/0day-ci/archive/20220119/202201190810.SMzRmKCt-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432)
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=23636544a3a42f5884e73233778934b501f96af9
        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 23636544a3a42f5884e73233778934b501f96af9
        # 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 update_iter: .text+0x11dc): relocation R_RISCV_PCREL_HI20 out of range: -524582 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+0x11ec): relocation R_RISCV_PCREL_HI20 out of range: -524582 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

             reply	other threads:[~2022-01-19  0:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19  0:58 kernel test robot [this message]
2022-01-19  0:58 ` [linux-next:master 12073/12461] ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x11dc): relocation R_RISCV_PCREL_HI20 out of range: -524582 is not in [-524288, 524287]; references kallsyms_names 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=202201190810.SMzRmKCt-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.