[mingo-tip:master 2225/2375] include/linux/mm_types_task.h:11:10: fatal error: generated/bounds.h: No such file or directory
From: kernel test robot
Date: Mon Jan 10 2022 - 04:39:38 EST
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 391ce485ced0e47bf8d2ce8bc32bb87887e16656
commit: 86c0c813105219163a284f01933d35a9a34f36d8 [2225/2375] headers/deps: mm: Optimize <linux/mm_api.h> dependencies, remove <linux/mm_page_address.h> inclusion
config: sparc-randconfig-r016-20220109 (https://download.01.org/0day-ci/archive/20220110/202201101751.rDcZKbLH-lkp@xxxxxxxxx/config)
compiler: sparc-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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=86c0c813105219163a284f01933d35a9a34f36d8
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout 86c0c813105219163a284f01933d35a9a34f36d8
# 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=sparc prepare
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 include/linux/mm_types.h:7,
from include/linux/mm_page_address.h:5,
from include/asm-generic/memory_model.h:14,
from arch/sparc/include/asm/page_32.h:137,
from arch/sparc/include/asm/page.h:10,
from arch/sparc/include/asm/string_32.h:13,
from arch/sparc/include/asm/string.h:7,
from include/linux/string.h:20,
from include/linux/uuid.h:12,
from include/linux/mod_devicetable.h:13,
from scripts/mod/devicetable-offsets.c:3:
>> include/linux/mm_types_task.h:11:10: fatal error: generated/bounds.h: No such file or directory
11 | #include <generated/bounds.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:121: scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1196: prepare0] 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 +11 include/linux/mm_types_task.h
2e58f173ab89b2 Ingo Molnar 2017-02-04 4
9e7d2e44dd88ba Ingo Molnar 2017-02-04 5 /*
9e7d2e44dd88ba Ingo Molnar 2017-02-04 6 * Here are the definitions of the MM data types that are embedded in 'struct task_struct'.
9e7d2e44dd88ba Ingo Molnar 2017-02-04 7 *
9e7d2e44dd88ba Ingo Molnar 2017-02-04 8 * (These are defined separately to decouple sched.h from mm_types.h as much as possible.)
9e7d2e44dd88ba Ingo Molnar 2017-02-04 9 */
9e7d2e44dd88ba Ingo Molnar 2017-02-04 10
c869d2d00b80c5 Ingo Molnar 2021-11-24 @11 #include <generated/bounds.h>
c869d2d00b80c5 Ingo Molnar 2021-11-24 12
:::::: The code at line 11 was first introduced by commit
:::::: c869d2d00b80c5c84a6c5b655fb865fa1db70b52 headers/deps: mm: Optimize <linux/mm_types.h> dependencies
:::::: TO: Ingo Molnar <mingo@xxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx