Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4100660pxt; Tue, 10 Aug 2021 20:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKdKz+l7D9AyXNnPoUWF7cPjhXsUUjJgfeMtTgHYj63iJei+R/LtCDYBN9hhPj9S+H7vkz X-Received: by 2002:a02:1d04:: with SMTP id 4mr4557297jaj.98.1628652068352; Tue, 10 Aug 2021 20:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628652068; cv=none; d=google.com; s=arc-20160816; b=IuXVqGWIIv2F+ct1p3/Z93NUjq3wlKDcTtbn150uy4J+DnjFU7RExEgefP/WqyIPXP J8npYTsWJQT0xNwWBpguQbxkTnPorKISkmsxT1pGLFvTMwOM1vAo5tqRk2v+OIb6ibEL 93yn62QgXybaUsvzVfLkvYXIaucv2PXXQcL8mZKw2uHJX4flYTZ6io/qwOLClUedZ1fq EdbHJlF5ZuaPiTXn/3TYHbiNQ4opZE8clYLOXS7uosUFphEDl1gVTEnwbJWJFbONrdmK +xhDUyDVMlXg5wMpIzs0/+TMRqFRpKwEH8crnyoDMiJ12xVxUP97U8fVR1xtZOB6NVXz O7JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Tl+eS+6QMjkohlSBI4f3Acc4gkhJqzhh4NWop3vmxOA=; b=O1Km/OJDEkw6yDkgzULefgiWdeMoYcFdmuIzPMVvBYffV6ZhufWRVFD6IjrETd+Mrc 20jxprPF7MIvyeqU4GDTznxqPvBMJOex+teKz6VEiknrHB/RKLC14iq2P6zRruBdEkWL qAytSkRP8EgNpzhSGdeN1zWBuxpVpzlusxSN9TtHaRQVRjosuQ8zLS67wZM416Mai0gl s/KtDE6Uc072qk9jV9NA+os+ESgLGL964whjqQ42ZnyNV5Lty8ybHTh91vDM8gfEx01R BR4yNFO2bPmHxRf+UT3tkImam+VVQVPnnZHM43N8C+Wl2rU+Bd2dR+KNKVPqMCdwor1q zclg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yScrgdsQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z30si12413208iow.5.2021.08.10.20.20.57; Tue, 10 Aug 2021 20:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yScrgdsQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232730AbhHKDTz (ORCPT + 99 others); Tue, 10 Aug 2021 23:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232102AbhHKDTx (ORCPT ); Tue, 10 Aug 2021 23:19:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC75DC061765 for ; Tue, 10 Aug 2021 20:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=Tl+eS+6QMjkohlSBI4f3Acc4gkhJqzhh4NWop3vmxOA=; b=yScrgdsQyGOfeJVHq+sehDJorp DMq/Z89ddUb1PgK+R4/0FYVKtixh7ZXy1oKYzn5oXfHsuCbg3ORAEYlqWAGI+HCyoBrItjgiU9ZHZ SwNAqLnDvvid+Fnz1dwUPJmhGLXVtQAMaDZmmcvtmtCFC51i1fjtWMLmPx1EPtzUzuSX75IXxQ3+y 8KefKKW4AZ1j0xAGwxfv+Cjj4jNnWvazdbCQyQhxkH6qEWxMdrsaL9GdAd/Ipdu1BS9lbxwE2J/hF g9tdlLspnx5K15zsxqdZeIkiBnx8o2lll7y5XjB7YehtWlyHhEK8sIa3sKsa1bJ9yelcBo5p1qMnb 2da5zSQw==; Received: from [2601:1c0:6280:3f0:e65e:37ff:febd:ee53] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDem8-005RvP-NM; Wed, 11 Aug 2021 03:19:28 +0000 Subject: Re: Error: kernelrelease not valid - run 'make prepare' to update it To: kernel test robot , Masahiro Yamada Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Nathan Chancellor References: <202108111155.RvN9J3Hs-lkp@intel.com> From: Randy Dunlap Message-ID: <5ec75ad9-a861-4402-9c16-ae7cb0aaeaba@infradead.org> Date: Tue, 10 Aug 2021 20:19:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <202108111155.RvN9J3Hs-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/10/21 8:16 PM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 9e723c5380c6e14fb91a8b6950563d040674afdb > commit: ba64beb17493a4bfec563100c86a462a15926f24 kbuild: check the minimum assembler version in Kconfig > date: 4 months ago > config: riscv-randconfig-r025-20210810 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d39ebdae674c8efc84ebe8dc32716ec353220530) > 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/torvalds/linux.git/commit/?id=ba64beb17493a4bfec563100c86a462a15926f24 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout ba64beb17493a4bfec563100c86a462a15926f24 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=riscv prepare > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> Error: kernelrelease not valid - run 'make prepare' to update it > -- > clang --target=riscv64-linux-gnu -no-integrated-as --prefix=riscv64-linux-gnu- -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'. >>> 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. Yes, I have noticed this one and a few other ('static') make targets that should not need a .config file. I have a note to myself to ask about these, so thanks for bringing it up. -- ~Randy