lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112150319.rZuO4LiO-lkp@intel.com>
Date:   Wed, 15 Dec 2021 03:27:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ