COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt No rule to make target 'arch/c6x/Makefile'.

From: kernel test robot
Date: Wed Mar 03 2021 - 19:08:20 EST


Hi Arnd,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f69d02e37a85645aa90d18cacfff36dba370f797
commit: a579fcfa8e49cc77ad59211bb18bc5004133e6a0 c6x: remove architecture
date: 6 weeks ago
config: c6x-randconfig-r026-20210303 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=a579fcfa8e49cc77ad59211bb18bc5004133e6a0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a579fcfa8e49cc77ad59211bb18bc5004133e6a0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x

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

All errors (new ones prefixed by >>):

Makefile:681: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'include/config/auto.conf'.
make[1]: Target '__all' not remade because of errors.
--
Makefile:681: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'distclean' not remade because of errors.
--
Makefile:681: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
>> Makefile:1293: *** Headers not exportable for the c6x architecture. Stop.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'headers_install' not remade because of errors.
--
Makefile:681: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
Makefile:595: arch/c6x/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/c6x/Makefile'.
make[2]: Failed to remake makefile 'arch/c6x/Makefile'.
arch/Kconfig:10: can't open file "arch/c6x/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
make[2]: *** [Makefile:602: syncconfig] Error 2
make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'include/config/auto.conf'.
>> make[1]: *** No rule to make target 'modules_prepare'.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
Makefile:595: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
arch/Kconfig:10: can't open file "arch/c6x/Kconfig"
make[2]: *** [scripts/kconfig/Makefile:71: olddefconfig] Error 1
make[1]: *** [Makefile:602: olddefconfig] Error 2
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'olddefconfig' not remade because of errors.
--
Makefile:681: arch/c6x/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/c6x/Makefile'.
Makefile:595: arch/c6x/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/c6x/Makefile'.
make[2]: Failed to remake makefile 'arch/c6x/Makefile'.
arch/Kconfig:10: can't open file "arch/c6x/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
make[2]: *** [Makefile:602: syncconfig] Error 2
make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
make[1]: Failed to remake makefile 'arch/c6x/Makefile'.
make[1]: Failed to remake makefile 'include/config/auto.conf'.
Error: kernelrelease not valid - run 'make prepare' to update it
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip