[madvenka786:orc_v2 17/20] scripts/sorttable.h:96:10: fatal error: asm/orc_types.h: No such file or directory

From: kernel test robot
Date: Sun May 22 2022 - 17:09:41 EST


tree: https://github.com/madvenka786/linux orc_v2
head: ed9a1d5c036130a53c639eb712485e3d13ab4372
commit: 9da8b45b52cb2268200c44977bc7482d3bea70dc [17/20] arm64: Build the kernel with ORC information
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220523/202205230455.UjhVDL7U-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/madvenka786/linux/commit/9da8b45b52cb2268200c44977bc7482d3bea70dc
git remote add madvenka786 https://github.com/madvenka786/linux
git fetch --no-tags madvenka786 orc_v2
git checkout 9da8b45b52cb2268200c44977bc7482d3bea70dc
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 prepare

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

All errors (new ones prefixed by >>):

In file included from scripts/sorttable.c:197:
>> scripts/sorttable.h:96:10: fatal error: asm/orc_types.h: No such file or directory
96 | #include <asm/orc_types.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1178: scripts] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.


vim +96 scripts/sorttable.h

a79f248b9b309e scripts/sortextable.h David Daney 2012-04-19 93
57fa1899428538 scripts/sorttable.h Shile Zhang 2019-12-04 94 #if defined(SORTTABLE_64) && defined(UNWINDER_ORC_ENABLED)
57fa1899428538 scripts/sorttable.h Shile Zhang 2019-12-04 95 /* ORC unwinder only support X86_64 */
57fa1899428538 scripts/sorttable.h Shile Zhang 2019-12-04 @96 #include <asm/orc_types.h>
57fa1899428538 scripts/sorttable.h Shile Zhang 2019-12-04 97

:::::: The code at line 96 was first introduced by commit
:::::: 57fa1899428538e314a7e0d52a5b617af082389a scripts/sorttable: Implement build-time ORC unwind table sorting

:::::: TO: Shile Zhang <shile.zhang@xxxxxxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

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