[jirislaby:lto 18/48] /bin/bash: line 1: -r: command not found

From: kernel test robot
Date: Mon Jun 27 2022 - 08:08:40 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git lto
head: b5ee1c28376713353cb5355716949d9c6d9b416b
commit: 6357dd11e3450635e52cd27b0edbdb257906a01f [18/48] Kbuild, lto: Add Link Time Optimization support
config: hexagon-randconfig-r041-20220627 (https://download.01.org/0day-ci/archive/20220627/202206272055.jF8UUVJK-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 016342e319fd31e41cf5ed16a6140a8ea2de74dd)
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/jirislaby/linux.git/commit/?id=6357dd11e3450635e52cd27b0edbdb257906a01f
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby lto
git checkout 6357dd11e3450635e52cd27b0edbdb257906a01f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> /bin/bash: line 1: -r: command not found

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