tree: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kbuild head: 3f482040592dd9aec4578cb49af7664f4a8375d4 commit: b0600f0d9b549348ec6516be2596eb81cd04c55d [14/16] kbuild: check the minimum assembler version in Kconfig config: x86_64-randconfig-a015-20210329 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 821547cabb5819ed42245376a9afcd11cdee5ddd) 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 # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?id=b0600f0d9b549348ec6516be2596eb81cd04c55d git remote add kbuild https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git git fetch --no-tags kbuild kbuild git checkout b0600f0d9b549348ec6516be2596eb81cd04c55d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> Error: kernelrelease not valid - run 'make prepare' to update it -- clang -no-integrated-as --prefix=/usr/bin/ -Werror=unknown-warning-option: unknown assembler invoked scripts/Kconfig.include:50: Sorry, this assembler is not supported. make[3]: *** [scripts/kconfig/Makefile:63: syncconfig] Error 1 make[2]: *** [Makefile:617: syncconfig] Error 2 make[1]: *** [Makefile:726: 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:283: checkbin] Error 1 >> Error: kernelrelease not valid - run 'make prepare' to update it make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:215: __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