lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ardb:for-kernelci 2/2] <instantiation>:4:12: error: operand must be a register in range [r0, r14]
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: e87ef81a2a09f584487c502ff4dfe618b298000f
commit: e87ef81a2a09f584487c502ff4dfe618b298000f [2/2] fixup! ARM: assembler: use explicit relocation for ADR with a function symbol
config: arm-randconfig-r031-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150319.rZuO4LiO-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=e87ef81a2a09f584487c502ff4dfe618b298000f
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout e87ef81a2a09f584487c502ff4dfe618b298000f
# 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=arm 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 >>):

>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w r9, pc, #4
^
arch/arm/kernel/entry-armv.S:490:2: note: while in macro instantiation
badr r9, ret_from_exception
^
>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w lr, pc, #4
^
arch/arm/kernel/entry-armv.S:509:2: note: while in macro instantiation
badr lr, __und_usr_fault_32
^
>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w lr, pc, #4
^
arch/arm/kernel/entry-armv.S:727:2: note: while in macro instantiation
badr lr, ret_from_exception
^
--
>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w lr, pc, #4
^
<instantiation>:6:2: note: while in macro instantiation
badr lr, __ret_fast_syscall @ return address
^
arch/arm/kernel/entry-common.S:255:2: note: while in macro instantiation
invoke_syscall tbl, scno, r10, __ret_fast_syscall
^
>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w lr, pc, #4
^
<instantiation>:6:2: note: while in macro instantiation
badr lr, __sys_trace_return @ return address
^
arch/arm/kernel/entry-common.S:289:2: note: while in macro instantiation
invoke_syscall tbl, scno, r10, __sys_trace_return, reload=1
^
--
>> <instantiation>:4:12: error: operand must be a register in range [r0, r14]
sub.w lr, pc, #4
^
arch/arm/kernel/sleep.S:92:2: note: while in macro instantiation
badr lr, cpu_suspend_abort
^

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2021-12-14 20:29    [W:0.022 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site