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

From: kernel test robot
Date: Tue Oct 10 2023 - 10:43:33 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-randconfig-014-20231010 (https://download.01.org/0day-ci/archive/20231010/202310102212.HoI1aH5d-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231010/202310102212.HoI1aH5d-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/202310102212.HoI1aH5d-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: No such file or directory
96 | #include <asm/orc_types.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.host:114: scripts/sorttable] Error 1 shuffle=2318162869
make[3]: Target 'scripts/' not remade because of errors.
make[2]: *** [Makefile:1186: scripts] Error 2 shuffle=2318162869
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2318162869
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2 shuffle=2318162869
make: Target 'prepare' not remade because of errors.


vim +96 scripts/sorttable.h

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

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