arch/powerpc/mm/nohash/kaslr_booke.c:21:10: fatal error: generated/compile.h: No such file or directory

From: kbuild test robot
Date: Thu Feb 06 2020 - 20:52:22 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 90568ecf561540fa330511e21fcd823b0c3829c6
commit: 6a38ea1d7b94c6c84dbf3f5c969be5e3648d9a70 powerpc/fsl_booke/32: randomize the kernel image offset
date: 3 months ago
config: powerpc-randconfig-a001-20200207 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 6a38ea1d7b94c6c84dbf3f5c969be5e3648d9a70
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/nohash/kaslr_booke.c:21:10: fatal error: generated/compile.h: No such file or directory
#include <generated/compile.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

vim +21 arch/powerpc/mm/nohash/kaslr_booke.c

4
5 #include <linux/kernel.h>
6 #include <linux/errno.h>
7 #include <linux/string.h>
8 #include <linux/types.h>
9 #include <linux/mm.h>
10 #include <linux/swap.h>
11 #include <linux/stddef.h>
12 #include <linux/init.h>
13 #include <linux/delay.h>
14 #include <linux/memblock.h>
15 #include <linux/libfdt.h>
16 #include <linux/crash_core.h>
17 #include <asm/pgalloc.h>
18 #include <asm/prom.h>
19 #include <asm/kdump.h>
20 #include <mm/mmu_decl.h>
> 21 #include <generated/compile.h>
22 #include <generated/utsrelease.h>
23

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

Attachment: .config.gz
Description: application/gzip