[tip:x86/asm 12/12] include/linux/objtool.h:5:10: fatal error: asm/asm.h: No such file or directory
From: kernel test robot
Date: Fri May 06 2022 - 15:16:07 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm
head: 38f3803fb4fa588ef7645048285493efbe264d79
commit: 38f3803fb4fa588ef7645048285493efbe264d79 [12/12] objtool: Fix STACK_FRAME_NON_STANDARD reloc type
config: arc-randconfig-r043-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070302.5S7yoOTI-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 11.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=38f3803fb4fa588ef7645048285493efbe264d79
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip x86/asm
git checkout 38f3803fb4fa588ef7645048285493efbe264d79
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
In file included from kernel/bpf/core.c:28:
>> include/linux/objtool.h:5:10: fatal error: asm/asm.h: No such file or directory
5 | #include <asm/asm.h>
| ^~~~~~~~~~~
compilation terminated.
vim +5 include/linux/objtool.h
4
> 5 #include <asm/asm.h>
6
--
0-DAY CI Kernel Test Service
https://01.org/lkp