Groups
Sign in
Groups
Clang Built Linux
Conversations
About
Send feedback
Help
[kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it
534 views
Skip to first unread message
kernel test robot
unread,
Mar 28, 2021, 5:47:42 PM
3/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Masahiro Yamada, kbuil...@lists.01.org, clang-bu...@googlegroups.com, linux-...@vger.kernel.org, Nathan Chancellor
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 <
l...@intel.com
>
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/kbuil...@lists.01.org
.config.gz
Masahiro Yamada
unread,
Mar 28, 2021, 7:18:51 PM
3/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kernel test robot, kbuil...@lists.01.org, clang-built-linux, Linux Kbuild mailing list, Nathan Chancellor
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
clang-built-li...@googlegroups.com
.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/clang-built-linux/202103290524.GyaqJAZU-lkp%40intel.com
.
I will fix as follows:
Author: Masahiro Yamada <
masa...@kernel.org
>
Date: Mon Mar 29 08:17:03 2021 +0900
fix
Signed-off-by: Masahiro Yamada <
masa...@kernel.org
>
diff --git a/scripts/as-version.sh b/scripts/as-version.sh
index 11f1e7b24bff..8b9410e329df 100755
--- a/scripts/as-version.sh
+++ b/scripts/as-version.sh
@@ -45,7 +45,7 @@ orig_args="$@"
# Get the first line of the --version output.
IFS='
'
-set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o
/dev/null 2>&1)
+set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o
/dev/null 2>/dev/null)
# Split the line on spaces.
IFS=' '
--
Best Regards
Masahiro Yamada
Reply all
Reply to author
Forward
0 new messages