tree:
https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
cc-check
head: 0ca912ef36d6aa510e6376231b57b391fe8c6dd8
commit: 0ca912ef36d6aa510e6376231b57b391fe8c6dd8 [1/1] kbuild: check the minimum compiler
version in Kconfig
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.gi...
git remote add kbuild
https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
git fetch --no-tags kbuild cc-check
git checkout 0ca912ef36d6aa510e6376231b57b391fe8c6dd8
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> Error: kernelrelease not valid - run 'make prepare' to
update it
--
> sh: 1: scripts/cc-version.sh: not found
scripts/Kconfig.include:44: Sorry, this compiler is unsupported.
--
> sh: 1: scripts/cc-version.sh: not found
scripts/Kconfig.include:44: Sorry, this compiler is unsupported.
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 '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.
--
> sh: 1: scripts/cc-version.sh: not found
scripts/Kconfig.include:44: Sorry, this compiler is unsupported.
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.
--
> sh: 1: scripts/cc-version.sh: not found
scripts/Kconfig.include:44: Sorry, this compiler is unsupported.
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 'include/config/auto.conf'.
make[1]: *** [arch/x86/Makefile:278: checkbin] Error 1
> 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@lists.01.org