tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.19
head: 1698279f5a9fb1064b76be3377a4305178aa4072
commit: 1698279f5a9fb1064b76be3377a4305178aa4072 [230/230] ima: Call
ima_calc_boot_aggregate() in ima_eventdigest_init()
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 1698279f5a9fb1064b76be3377a4305178aa4072
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> WARNING: vmlinux.o(.text+0x1be1730): Section mismatch in
reference from the function ima_calc_boot_aggregate_tfm() to the function
.init.text:ima_pcrread()
The function ima_calc_boot_aggregate_tfm() references
the function __init ima_pcrread().
This is often because ima_calc_boot_aggregate_tfm lacks a __init
annotation or the annotation of ima_pcrread is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org