lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ardb:arm64-scs-patching-v3 3/3] ld.lld: error: undefined symbol: scs_patch
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm64-scs-patching-v3
head: 0da13e3a0d40aa97f6f59e72d5c72fdd3475dc2d
commit: 0da13e3a0d40aa97f6f59e72d5c72fdd3475dc2d [3/3] arm64: implement dynamic shadow call stack for Clang
config: arm64-randconfig-r001-20220613 (https://download.01.org/0day-ci/archive/20220614/202206141211.OYR97qyn-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c97436f8b6e2718286e8496faf53a2c800e281cf)
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/ardb/linux.git/commit/?id=0da13e3a0d40aa97f6f59e72d5c72fdd3475dc2d
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm64-scs-patching-v3
git checkout 0da13e3a0d40aa97f6f59e72d5c72fdd3475dc2d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: scs_patch
>>> referenced by module.c:537 (arch/arm64/kernel/module.c:537)
>>> kernel/module.o:(module_finalize) in archive arch/arm64/built-in.a
--
>> ld.lld: error: undefined symbol: dynamic_scs_enabled
>>> referenced by module.c
>>> kernel/module.o:(__jump_table+0x28) in archive arch/arm64/built-in.a

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-06-14 06:37    [W:0.412 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site