llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_level: .text+0x24): relocation R_RISCV_HI20 out of range: 532254 is not in [-524288, 524287]; references __tracepoint_initcall_level
@ 2023-02-25 20:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-25 20:15 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

CC: linux-kernel@vger.kernel.org
TO: Eric Biggers <ebiggers@google.com>
CC: "Christian Brauner (Microsoft)" <brauner@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7c3dc440b1f5c75f45e24430f913e561dc82a419
commit: ccd30a476f8e864732de220bd50e6f372f5ebcab fscrypt: fix keyring memory leak on mount failure
date:   4 months ago
config: riscv-buildonly-randconfig-r004-20230222 (https://download.01.org/0day-ci/archive/20230226/202302260440.cPp9SMGR-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
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/torvalds/linux.git/commit/?id=ccd30a476f8e864732de220bd50e6f372f5ebcab
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ccd30a476f8e864732de220bd50e6f372f5ebcab
        # 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/202302260440.cPp9SMGR-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_level: .text+0x24): relocation R_RISCV_HI20 out of range: 532254 is not in [-524288, 524287]; references __tracepoint_initcall_level
   >>> referenced by main.c
   >>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_level: .text+0x30): relocation R_RISCV_HI20 out of range: 532463 is not in [-524288, 524287]; references __traceiter_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_start: .text+0xfc): relocation R_RISCV_HI20 out of range: 532254 is not in [-524288, 524287]; references __tracepoint_initcall_start
   >>> referenced by main.c
   >>> defined in vmlinux.a(init/main.o)
--
>> ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_start: .text+0x108): relocation R_RISCV_HI20 out of range: 532463 is not in [-524288, 524287]; references __traceiter_initcall_start.__if_trace.1
   >>> 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-02-25 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25 20:15 ld.lld: error: vmlinux.a(init/main.o):(function __traceiter_initcall_level: .text+0x24): relocation R_RISCV_HI20 out of range: 532254 is not in [-524288, 524287]; references __tracepoint_initcall_level 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).