[soc:arm/platform-removal-complete 5/64] Makefile:681: arch/c6x/Makefile: No such file or directory
kernel test robot
lkp at intel.com
Sun Jan 24 15:12:12 EST 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git arm/platform-removal-complete
head: e8026b66a407c42721302f57b0674ab75eacc786
commit: a579fcfa8e49cc77ad59211bb18bc5004133e6a0 [5/64] c6x: remove architecture
config: c6x-randconfig-r004-20210124 (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/soc/soc.git/commit/?id=a579fcfa8e49cc77ad59211bb18bc5004133e6a0
git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
git fetch --no-tags soc arm/platform-removal-complete
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 at intel.com>
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.
--
>> arch/Kconfig:10: can't open file "arch/c6x/Kconfig"
--
>> 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.
vim +681 Makefile
669e06b19de8f844 Masahiro Yamada 2019-03-26 680
315bab4e972d9795 Masahiro Yamada 2018-06-08 @681 include arch/$(SRCARCH)/Makefile
^1da177e4c3f4152 Linus Torvalds 2005-04-16 682
:::::: The code at line 681 was first introduced by commit
:::::: 315bab4e972d9795529b764718d475492db40c0f kbuild: fix endless syncconfig in case arch Makefile sets CROSS_COMPILE
:::::: TO: Masahiro Yamada <yamada.masahiro at socionext.com>
:::::: CC: Masahiro Yamada <yamada.masahiro at socionext.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 23351 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210125/c5c6b77b/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list