tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: f6d2f336816428b2abedbaed3ce2713763b0e68c
commit: e7e403962735ee554bd93e3050bad212fd8c665d [120/151] BACKPORT: FROMLIST: mm:
multigenerational lru: Kconfig
config: i386-randconfig-a015-20210712 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout e7e403962735ee554bd93e3050bad212fd8c665d
# 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 include/linux/mmzone.h:19,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:9:
> include/linux/page-flags-layout.h:104:2: error: #error "Not
enough bits in page flags"
104 | #error "Not enough bits in page
flags"
| ^~~~~
--
In file included from include/linux/mmzone.h:19,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:9:
> include/linux/page-flags-layout.h:104:2: error: #error "Not
enough bits in page flags"
104 | #error "Not enough bits in page
flags"
| ^~~~~
make[2]: *** [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1218: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from include/linux/mmzone.h:19,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:9:
> include/linux/page-flags-layout.h:104:2: error: #error "Not
enough bits in page flags"
104 | #error "Not enough bits in page
flags"
| ^~~~~
make[2]: *** [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1218: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +104 include/linux/page-flags-layout.h
75980e97daccfc Peter Zijlstra 2013-02-22 101
5d9f844e96a7e1 Yu Zhao 2021-01-25 102 #if
SECTIONS_WIDTH+ZONES_WIDTH+LRU_GEN_WIDTH+LRU_USAGE_WIDTH+NODES_WIDTH+LAST_CPUPID_WIDTH+KASAN_TAG_WIDTH
\
2813b9c0296259 Andrey Konovalov 2018-12-28 103 > BITS_PER_LONG - NR_PAGEFLAGS
ee38d94a0ad898 Arnd Bergmann 2019-08-02 @104 #error "Not enough bits in page
flags"
2813b9c0296259 Andrey Konovalov 2018-12-28 105 #endif
2813b9c0296259 Andrey Konovalov 2018-12-28 106
:::::: The code at line 104 was first introduced by commit
:::::: ee38d94a0ad89890b770f6c876263cf9fcbfde84 page flags: prioritize kasan bits over
last-cpuid
:::::: TO: Arnd Bergmann <arnd(a)arndb.de>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org