[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209241923.gbI5xw5F-lkp@intel.com>
Date: Sat, 24 Sep 2022 21:22:32 +0800
From: kernel test robot <lkp@...el.com>
To: Kees Cook <keescook@...omium.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [kees:devel/hardening 50/50] arc-elf-gcc: error: unrecognized
command-line option '-fstrict-flex-arrays=2'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git devel/hardening
head: 944d7b9181c632517d2460ebffc11510438c7927
commit: 944d7b9181c632517d2460ebffc11510438c7927 [50/50] [WIP] Prepare for -fstrict-flex-arrays
config: arc-defconfig
compiler: arc-elf-gcc (GCC) 12.1.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/kees/linux.git/commit/?id=944d7b9181c632517d2460ebffc11510438c7927
git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
git fetch --no-tags kees devel/hardening
git checkout 944d7b9181c632517d2460ebffc11510438c7927
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arc-elf-gcc: error: unrecognized command-line option '-fstrict-flex-arrays=2'
make[2]: *** [scripts/Makefile.build:249: scripts/mod/empty.o] Error 1
>> arc-elf-gcc: error: unrecognized command-line option '-fstrict-flex-arrays=2'
make[2]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1206: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:222: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (38866 bytes)
Powered by blists - more mailing lists