tree:
https://android.googlesource.com/kernel/common android-4.14-stable
head: 29af89acb271ea6d4e0094e84d6fc54b14b3482b
commit: a7eda6eddca559c1c3a897a35692f9d49d46c9dd [21099/25402] BACKPORT: security: allow
using Clang's zero initialization for stack variables
config: i386-randconfig-a001-20211122 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.14-stable
git checkout a7eda6eddca559c1c3a897a35692f9d49d46c9dd
# 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 >>):
> gcc-7: error: unrecognized command line option
'-ftrivial-auto-var-init=pattern'
make[2]: *** [./Kbuild:22:
kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1214: 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.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org