lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[vgupta-arc:topic-zol-remove 66/186] arceb-elf-gcc: error: unrecognized command-line option '-mcmodel=medium'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head: 703ac4a3b0cb0ccfa928dd06edadcc8e2183806f
commit: 46556c2ab95f91de6a17ddd5d4713bd9e5009847 [66/186] ARCv3: with gcc fix, switch to -mcmodel=medium
config: arc-randconfig-r016-20211022 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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/vgupta/arc.git/commit/?id=46556c2ab95f91de6a17ddd5d4713bd9e5009847
git remote add vgupta-arc https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git
git fetch --no-tags vgupta-arc topic-zol-remove
git checkout 46556c2ab95f91de6a17ddd5d4713bd9e5009847
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc prepare

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

All errors (new ones prefixed by >>):

>> arceb-elf-gcc: error: unrecognized command-line option '-mcmodel=medium'
>> arceb-elf-gcc: error: unrecognized command-line option '-mcmodel=medium'
make[2]: *** [scripts/Makefile.build:121: scripts/mod/devicetable-offsets.s] Error 1
>> arceb-elf-gcc: error: unrecognized command-line option '-mcmodel=medium'
make[2]: *** [scripts/Makefile.build:277: scripts/mod/empty.o] 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:219: __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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-26 11:16    [W:0.028 / U:2.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site