public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [pdx86-platform-drivers-x86:review-hans 116/124] ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_mmap: .text+0x60): relocation R_RISCV_HI20 out of range: 534389 is not in [-524288, 524287]; references riscv_sys_mmap.______f
@ 2022-08-12  1:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-12  1:04 UTC (permalink / raw)
  Cc: kbuild-all, llvm

CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Hans de Goede <hdegoede@redhat.com>
CC: linux-kernel@vger.kernel.org
TO: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
CC: Hans de Goede <hdegoede@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   0059c13eb43750ec454e048c2cbf757e793c667f
commit: c59bb4c73c57f4a90b227490c5e1f07d4a4fec95 [116/124] platform/x86/amd/pmf: Get performance metrics from PMFW
config: riscv-randconfig-r024-20220811 (https://download.01.org/0day-ci/archive/20220812/202208120846.jLpPIBjX-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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/pdx86/platform-drivers-x86.git/commit/?id=c59bb4c73c57f4a90b227490c5e1f07d4a4fec95
        git remote add pdx86-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
        git fetch --no-tags pdx86-platform-drivers-x86 review-hans
        git checkout c59bb4c73c57f4a90b227490c5e1f07d4a4fec95
        # 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 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_mmap: .text+0x60): relocation R_RISCV_HI20 out of range: 534389 is not in [-524288, 524287]; references riscv_sys_mmap.______f
   >>> referenced by sys_riscv.c:30 (arch/riscv/kernel/sys_riscv.c:30)
   >>> defined in arch/riscv/built-in.a(kernel/sys_riscv.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_mmap: .text+0xc8): relocation R_RISCV_HI20 out of range: 534389 is not in [-524288, 524287]; references riscv_sys_mmap.______f.2
   >>> referenced by sys_riscv.c:18 (arch/riscv/kernel/sys_riscv.c:18)
   >>> defined in arch/riscv/built-in.a(kernel/sys_riscv.o)
--
>> ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_riscv_flush_icache: .text+0x17c): relocation R_RISCV_HI20 out of range: 534389 is not in [-524288, 524287]; references __do_sys_riscv_flush_icache.______f
   >>> referenced by sys_riscv.c:18 (arch/riscv/kernel/sys_riscv.c:18)
   >>> defined in arch/riscv/built-in.a(kernel/sys_riscv.o)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-12  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-12  1:04 [pdx86-platform-drivers-x86:review-hans 116/124] ld.lld: error: arch/riscv/built-in.a(kernel/sys_riscv.o):(function __se_sys_mmap: .text+0x60): relocation R_RISCV_HI20 out of range: 534389 is not in [-524288, 524287]; references riscv_sys_mmap.______f 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