[arm-platforms:hack/arm64-early-cpufeature 18/18] ld.lld: error: undefined symbol: kaslr_feature_val

kernel test robot lkp at intel.com
Mon Dec 28 10:46:22 EST 2020


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/arm64-early-cpufeature
head:   c78a06f2038a2d430effe8507a9da0477558954b
commit: c78a06f2038a2d430effe8507a9da0477558954b [18/18] arm64: Move "nokaslr" over to the early cpufeature infrastructure
config: arm64-randconfig-r032-20201228 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=c78a06f2038a2d430effe8507a9da0477558954b
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms hack/arm64-early-cpufeature
        git checkout c78a06f2038a2d430effe8507a9da0477558954b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: kaslr_feature_val
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(init_shadow_regs) in archive arch/arm64/built-in.a
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(init_shadow_regs) in archive arch/arm64/built-in.a
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(kaslr) in archive arch/arm64/built-in.a
--
>> ld.lld: error: undefined symbol: kaslr_feature_mask
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(init_shadow_regs) in archive arch/arm64/built-in.a
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(init_shadow_regs) in archive arch/arm64/built-in.a
   >>> referenced by idreg-override.c
   >>> kernel/idreg-override.o:(kaslr) in archive arch/arm64/built-in.a

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26430 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201228/7356ca13/attachment-0001.gz>


More information about the linux-arm-kernel mailing list