[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202211060203.8BHrYJWZ-lkp@intel.com>
Date: Sun, 6 Nov 2022 02:43:36 +0800
From: kernel test robot <lkp@...el.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Mark Rutland <mark.rutland@....com>
Subject: ld.lld: error: undefined symbol: __kcfi_typeid_ftrace_stub_graph
Hi Peter,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b208b9fbbcba743fb269d15cb46a4036b01936b1
commit: 883bbbffa5a4ffd1915f8b42934dab81b7f87226 ftrace,kcfi: Separate ftrace_stub() and ftrace_stub_graph()
date: 2 weeks ago
config: arm64-buildonly-randconfig-r004-20221104
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 2bbafe04fe785a9469bea5a3737f8d7d3ce4aca2)
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/torvalds/linux.git/commit/?id=883bbbffa5a4ffd1915f8b42934dab81b7f87226
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 883bbbffa5a4ffd1915f8b42934dab81b7f87226
# 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@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: __kcfi_typeid_ftrace_stub_graph
>>> referenced by arch/arm64/kernel/entry-ftrace.o:(.text+0xF0) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (185196 bytes)
Powered by blists - more mailing lists