From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [linux-next:master 1053/1734] ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x650): relocation R_RISCV_HI20 out of range: 528388 is not in [-524288, 524287]; references __tracepoint_initcall_start
Date: Wed, 26 Jan 2022 18:31:54 +0800 [thread overview]
Message-ID: <202201261832.05MibUeB-lkp@intel.com> (raw)
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Stanislav Jakubek <stano.jakubek@gmail.com>
CC: Rob Herring <robh@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d25ee88530253138d0b20d43511ca5acbda4e9f7
commit: 066aef69079415b3c873c7fee1c1022c511c4045 [1053/1734] dt-bindings: serial: Convert rda,8810pl-uart to YAML
config: riscv-buildonly-randconfig-r001-20220124 (https://download.01.org/0day-ci/archive/20220126/202201261832.05MibUeB-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2a1b7aa016c0f4b5598806205bdfbab1ea2d92c4)
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=066aef69079415b3c873c7fee1c1022c511c4045
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 066aef69079415b3c873c7fee1c1022c511c4045
# 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: init/built-in.a(main.o):(function trace_initcall_start: .text+0x650): relocation R_RISCV_HI20 out of range: 528388 is not in [-524288, 524287]; references __tracepoint_initcall_start
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x694): relocation R_RISCV_HI20 out of range: 528387 is not in [-524288, 524287]; references trace_initcall_start.__warned
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x6a8): relocation R_RISCV_HI20 out of range: 528048 is not in [-524288, 524287]; references .L.str.57
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x6d8): relocation R_RISCV_HI20 out of range: 528404 is not in [-524288, 524287]; references __cpu_online_mask
>>> referenced by main.c
>>> defined in kernel/built-in.a(cpu.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 1053/1734] ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x650): relocation R_RISCV_HI20 out of range: 528388 is not in [-524288, 524287]; references __tracepoint_initcall_start
Date: Wed, 26 Jan 2022 18:31:54 +0800 [thread overview]
Message-ID: <202201261832.05MibUeB-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2829 bytes --]
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Stanislav Jakubek <stano.jakubek@gmail.com>
CC: Rob Herring <robh@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d25ee88530253138d0b20d43511ca5acbda4e9f7
commit: 066aef69079415b3c873c7fee1c1022c511c4045 [1053/1734] dt-bindings: serial: Convert rda,8810pl-uart to YAML
config: riscv-buildonly-randconfig-r001-20220124 (https://download.01.org/0day-ci/archive/20220126/202201261832.05MibUeB-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2a1b7aa016c0f4b5598806205bdfbab1ea2d92c4)
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=066aef69079415b3c873c7fee1c1022c511c4045
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 066aef69079415b3c873c7fee1c1022c511c4045
# 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: init/built-in.a(main.o):(function trace_initcall_start: .text+0x650): relocation R_RISCV_HI20 out of range: 528388 is not in [-524288, 524287]; references __tracepoint_initcall_start
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x694): relocation R_RISCV_HI20 out of range: 528387 is not in [-524288, 524287]; references trace_initcall_start.__warned
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x6a8): relocation R_RISCV_HI20 out of range: 528048 is not in [-524288, 524287]; references .L.str.57
>>> referenced by main.c
>>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x6d8): relocation R_RISCV_HI20 out of range: 528404 is not in [-524288, 524287]; references __cpu_online_mask
>>> referenced by main.c
>>> defined in kernel/built-in.a(cpu.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-01-26 10:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 10:31 kernel test robot [this message]
2022-01-26 10:31 ` [linux-next:master 1053/1734] ld.lld: error: init/built-in.a(main.o):(function trace_initcall_start: .text+0x650): relocation R_RISCV_HI20 out of range: 528388 is not in [-524288, 524287]; references __tracepoint_initcall_start 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=202201261832.05MibUeB-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.