From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [ardb:for-kernelci 2/2] <instantiation>:4:12: error: operand must be a register in range [r0, r14]
Date: Wed, 15 Dec 2021 03:27:32 +0800 [thread overview]
Message-ID: <202112150319.rZuO4LiO-lkp@intel.com> (raw)
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
reply other threads:[~2021-12-14 19:28 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=202112150319.rZuO4LiO-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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