Re: [PATCH v2 8/8] LoongArch: Add ORC unwinder support

From: kernel test robot
Date: Tue Oct 10 2023 - 09:47:39 EST


Hi Tiezhu,

kernel test robot noticed the following build errors:

[auto build test ERROR on masahiroy-kbuild/for-next]
[also build test ERROR on masahiroy-kbuild/fixes linus/master v6.6-rc5 next-20231010]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Tiezhu-Yang/objtool-LoongArch-Enable-objtool-to-be-built/20231009-210700
base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
patch link: https://lore.kernel.org/r/1696856590-30298-9-git-send-email-yangtiezhu%40loongson.cn
patch subject: [PATCH v2 8/8] LoongArch: Add ORC unwinder support
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231010/202310102113.bw7w3ZVv-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231010/202310102113.bw7w3ZVv-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310102113.bw7w3ZVv-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from scripts/sorttable.c:201:
>> scripts/sorttable.h:96:10: fatal error: 'asm/orc_types.h' file not found
#include <asm/orc_types.h>
^~~~~~~~~~~~~~~~~
1 error generated.


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

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki