public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [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
Date: Fri, 12 Aug 2022 09:04:03 +0800	[thread overview]
Message-ID: <202208120846.jLpPIBjX-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-08-12  1:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202208120846.jLpPIBjX-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox