All of lore.kernel.org
 help / color / mirror / Atom feed
* [kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it
@ 2021-03-28 21:47 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-28 21:47 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: kbuild-all, clang-built-linux, linux-kbuild, Nathan Chancellor

[-- Attachment #1: Type: text/plain, Size: 2314 bytes --]

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@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/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25056 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it
@ 2021-03-28 21:47 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-28 21:47 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2356 bytes --]

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@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/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25056 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it
  2021-03-28 21:47 ` kernel test robot
@ 2021-03-28 23:17   ` Masahiro Yamada
  -1 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2021-03-28 23:17 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, clang-built-linux, Linux Kbuild mailing list,
	Nathan Chancellor

On Mon, Mar 29, 2021 at 6:47 AM kernel test robot <lkp@intel.com> wrote:
>
> 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@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/kbuild-all@lists.01.org
>
> --
> 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-linux+unsubscribe@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 <masahiroy@kernel.org>
Date:   Mon Mar 29 08:17:03 2021 +0900

    fix

    Signed-off-by: Masahiro Yamada <masahiroy@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it
@ 2021-03-28 23:17   ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2021-03-28 23:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3592 bytes --]

On Mon, Mar 29, 2021 at 6:47 AM kernel test robot <lkp@intel.com> wrote:
>
> 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@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/kbuild-all(a)lists.01.org
>
> --
> 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-linux+unsubscribe(a)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 <masahiroy@kernel.org>
Date:   Mon Mar 29 08:17:03 2021 +0900

    fix

    Signed-off-by: Masahiro Yamada <masahiroy@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-28 23:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 21:47 [kbuild:kbuild 14/16] Error: kernelrelease not valid - run 'make prepare' to update it kernel test robot
2021-03-28 21:47 ` kernel test robot
2021-03-28 23:17 ` Masahiro Yamada
2021-03-28 23:17   ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.