[ammarfaizi2-block:axboe/linux-block/perf-wip 17/17] cc1: error: bad value ('alderlake') for '-march=' switch

From: kernel test robot
Date: Sun Mar 20 2022 - 23:53:46 EST


tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/perf-wip
head: 9f86e73b1575cedbbce029cc1dc45e8fe6f5a586
commit: 9f86e73b1575cedbbce029cc1dc45e8fe6f5a586 [17/17] x86: add modern Intel and AMD CPUs
config: x86_64-randconfig-r025-20220321 (https://download.01.org/0day-ci/archive/20220321/202203211136.zyGiUsJS-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/9f86e73b1575cedbbce029cc1dc45e8fe6f5a586
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/perf-wip
git checkout 9f86e73b1575cedbbce029cc1dc45e8fe6f5a586
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 prepare

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

All errors (new ones prefixed by >>):

>> cc1: error: bad value ('alderlake') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake tigerlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native; did you mean 'tigerlake'?
make[2]: *** [scripts/Makefile.build:288: scripts/mod/empty.o] Error 1
>> cc1: error: bad value ('alderlake') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake tigerlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native; did you mean 'tigerlake'?
make[2]: *** [scripts/Makefile.build:121: scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1190: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.

--
0-DAY CI Kernel Test Service
https://01.org/lkp