* [jpirko-mlxsw:combined_queue 36/65] ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_finish: .text+0x1c4): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references '__traceiter_initcall_finish.__if_trace.0'
@ 2023-05-09 19:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-09 19:27 UTC (permalink / raw)
Cc: oe-kbuild-all, llvm
TO: Petr Machata <petrm@nvidia.com>
CC: Amit Cohen <amcohen@nvidia.com>
tree: https://github.com/jpirko/linux_mlxsw combined_queue
head: 2b7757d2270e0accf3e809fcff68aae5af73a124
commit: 6a751113b03684272f52e979ead46d6dcf1db3b5 [36/65] mlxsw: spectrum_router: Move IPIP init up
config: riscv-buildonly-randconfig-r006-20230509 (https://download.01.org/0day-ci/archive/20230510/202305100317.c37V2gyf-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b0fb98227c90adf2536c9ad644a74d5e92961111)
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/jpirko/linux_mlxsw/commit/6a751113b03684272f52e979ead46d6dcf1db3b5
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw combined_queue
git checkout 6a751113b03684272f52e979ead46d6dcf1db3b5
# 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 olddefconfig
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 <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305100317.c37V2gyf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_finish: .text+0x1c4): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references '__traceiter_initcall_finish.__if_trace.0'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function trace_event_raw_event_initcall_level: .text+0x220): relocation R_RISCV_HI20 out of range: 535166 is not in [-524288, 524287]; references '__stack_chk_guard'
>>> referenced by main.c
>>> defined in vmlinux.a(arch/riscv/kernel/process.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function trace_event_raw_event_initcall_level: .text+0x240): relocation R_RISCV_HI20 out of range: 534226 is not in [-524288, 524287]; references 'trace_trigger_soft_disabled.______f.55'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function trace_event_raw_event_initcall_level: .text+0x25c): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references 'trace_trigger_soft_disabled.__if_trace.0'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function trace_event_raw_event_initcall_level: .text+0x2a8): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references 'trace_trigger_soft_disabled.__if_trace.57.0'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function trace_event_raw_event_initcall_level: .text+0x2e0): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references 'trace_event_raw_event_initcall_level.__if_trace.1'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_finish: .text+0x164): relocation R_RISCV_HI20 out of range: 534214 is not in [-524288, 524287]; references '__tracepoint_initcall_finish'
>>> referenced by main.c
>>> defined in vmlinux.a(init/main.o)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-09 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 19:27 [jpirko-mlxsw:combined_queue 36/65] ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_finish: .text+0x1c4): relocation R_RISCV_HI20 out of range: 534529 is not in [-524288, 524287]; references '__traceiter_initcall_finish.__if_trace.0' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).