linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ardb:for-kernelci 2/2] <instantiation>:4:12: error: operand must be a register in range [r0, r14]
@ 2021-12-14 19:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-14 19:27 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: llvm, kbuild-all, linux-kernel

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

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

only message in thread, other threads:[~2021-12-14 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 19:27 [ardb:for-kernelci 2/2] <instantiation>:4:12: error: operand must be a register in range [r0, r14] 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).