tree:
https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 8367d521b6ca9b77d18fbb56f936df6824f0843c
commit: 8367d521b6ca9b77d18fbb56f936df6824f0843c [2/2] Merge remote-tracking branch
'google-repo/android-4.19-stable' into 4.19/android_r
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/intel/linux-intel-lts/commit/8367d521b6ca9b77d18fbb56f...
git remote add intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-lts 4.19/android_r
git checkout 8367d521b6ca9b77d18fbb56f936df6824f0843c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/pgtable.h:1445,
from include/linux/memremap.h:7,
from include/linux/mm.h:27,
from include/linux/memcontrol.h:29,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
> include/asm-generic/pgtable.h:1125:2: error: #error Missing
MAX_POSSIBLE_PHYSMEM_BITS definition
1125 | #error Missing
MAX_POSSIBLE_PHYSMEM_BITS definition
| ^~~~~
arch/x86/kernel/asm-offsets.c:32:6: warning: no previous prototype for 'common'
[-Wmissing-prototypes]
32 | void common(void) {
| ^~~~~~
make[2]: *** [./Kbuild:56: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1220: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:146: sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +1125 include/asm-generic/pgtable.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 1117
d4fe42d646f277 Arnd Bergmann 2020-11-11 1118 #if !defined(MAX_POSSIBLE_PHYSMEM_BITS)
&& !defined(CONFIG_64BIT)
d4fe42d646f277 Arnd Bergmann 2020-11-11 1119 #ifdef CONFIG_PHYS_ADDR_T_64BIT
d4fe42d646f277 Arnd Bergmann 2020-11-11 1120 /*
d4fe42d646f277 Arnd Bergmann 2020-11-11 1121 * ZSMALLOC needs to know the highest PFN
on 32-bit architectures
d4fe42d646f277 Arnd Bergmann 2020-11-11 1122 * with physical address space extension,
but falls back to
d4fe42d646f277 Arnd Bergmann 2020-11-11 1123 * BITS_PER_LONG otherwise.
d4fe42d646f277 Arnd Bergmann 2020-11-11 1124 */
d4fe42d646f277 Arnd Bergmann 2020-11-11 @1125 #error Missing MAX_POSSIBLE_PHYSMEM_BITS
definition
d4fe42d646f277 Arnd Bergmann 2020-11-11 1126 #else
d4fe42d646f277 Arnd Bergmann 2020-11-11 1127 #define MAX_POSSIBLE_PHYSMEM_BITS 32
d4fe42d646f277 Arnd Bergmann 2020-11-11 1128 #endif
d4fe42d646f277 Arnd Bergmann 2020-11-11 1129 #endif
d4fe42d646f277 Arnd Bergmann 2020-11-11 1130
:::::: The code at line 1125 was first introduced by commit
:::::: d4fe42d646f277dfbc8a6cbc82bc4c8a12dd7798 arch: pgtable: define
MAX_POSSIBLE_PHYSMEM_BITS where needed
:::::: TO: Arnd Bergmann <arnd(a)arndb.de>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org