[ammarfaizi2-block:google/android/kernel/common/android12-5.10-2021-11 239/9999] drivers/android/debug_symbols.c:11:10: fatal error: asm/stacktrace.h: No such file or directory

From: kernel test robot
Date: Mon Feb 21 2022 - 22:47:56 EST


Hi Prasad,

FYI, the error/warning still remains.

tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10-2021-11
head: 6207e9121a093289b249b66385af719b68c4b889
commit: 3fcbb15c1a91a318fb9367bee24603af24648a2d [239/9999] ANDROID: android: Create debug_symbols driver
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220222/202202221136.tCMedR7t-lkp@xxxxxxxxx/config)
compiler: ia64-linux-gcc (GCC) 11.2.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://github.com/ammarfaizi2/linux-block/commit/3fcbb15c1a91a318fb9367bee24603af24648a2d
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-2021-11
git checkout 3fcbb15c1a91a318fb9367bee24603af24648a2d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

>> drivers/android/debug_symbols.c:11:10: fatal error: asm/stacktrace.h: No such file or directory
11 | #include <asm/stacktrace.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_VMASTER
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_PCM_IEC958
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_SOC_CONFIGS
WARNING: unmet direct dependencies detected for SND_JACK
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
Depends on SOUND && !UML && SND && SND_JACK
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_PCM_ELD
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_INTEL_NHLT
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS && ACPI


vim +11 drivers/android/debug_symbols.c

2
3 /*
4 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
5 */
6
7 #include <linux/types.h>
8 #include <linux/kernel.h>
9 #include <linux/module.h>
10 #include <linux/android_debug_symbols.h>
> 11 #include <asm/stacktrace.h>
12 #include <asm/sections.h>
13

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx