Messages in this thread | | | Date | Tue, 26 Oct 2021 17:15:33 +0800 | From | kernel test robot <> | 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] | |