From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A883CC43334 for ; Fri, 15 Jul 2022 20:10:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbiGOUKL (ORCPT ); Fri, 15 Jul 2022 16:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbiGOUKK (ORCPT ); Fri, 15 Jul 2022 16:10:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA8A4B0F4 for ; Fri, 15 Jul 2022 13:10:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0816AB82E4C for ; Fri, 15 Jul 2022 20:10:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37A72C341C0; Fri, 15 Jul 2022 20:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657915805; bh=HJoPFEFLh4BbRDqJRXWZVqcGp9gCtdCVTUp8CpfJo00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e9jtgz8TBxYvw4iLTMWuVKyJqUZQlf1rMd3lHZeDy9NOj7+AjOr0DQBgGiLocunWW T1wdkDyQrlbYzIM28qPdLQn3yBt2YHC+/XVOstYOgBF4oUtiliRLinfsNZOUP+60nM yYCtzrLVDM8yxKWNS7ldpXaLXzplYV1JQkumDFQC0CfWv16eZXeNcB9wVopjaCnswv tRFRZuWmoGbGLOO2TYemv38NF3+VupdTxCmnbj1h7Av9QLIosoXDcW7q9GUJ6KWG3m 5ea5qBAGcVw6nWX6Er71OXbwY3h7k/TtlyhudFqUkFe2NA26bu1/H4WvopUnZWtWuV zWc3+xRZG1vyQ== Date: Fri, 15 Jul 2022 13:10:03 -0700 From: Nathan Chancellor To: kernel test robot Cc: Peter Zijlstra , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Borislav Petkov , Josh Poimboeuf Subject: Re: :3:3: error: invalid instruction mnemonic 'annotate_unret_safe' Message-ID: References: <202207160308.NAwtZPxG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202207160308.NAwtZPxG-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 16, 2022 at 03:22:46AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 9b59ec8d50a1f28747ceff9a4f39af5deba9540e > commit: 9bb2ec608a209018080ca262f771e6a9ff203b6f objtool: Update Retpoline validation > date: 3 weeks ago > config: i386-randconfig-a011-20220704 (https://download.01.org/0day-ci/archive/20220716/202207160308.NAwtZPxG-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 2da550140aa98cf6a3e96417c87f1e89e3a26047) > 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=9bb2ec608a209018080ca262f771e6a9ff203b6f > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 9bb2ec608a209018080ca262f771e6a9ff203b6f > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > >> :3:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :11:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :19:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :27:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :35:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :43:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :51:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :59:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :67:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :75:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :83:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :91:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :99:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :107:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :115:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :123:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) > ^ > :131:3: error: invalid instruction mnemonic 'annotate_unret_safe' > ANNOTATE_UNRET_SAFE > ^~~~~~~~~~~~~~~~~~~ > arch/x86/kernel/../../x86/xen/xen-head.S:26:2: note: while in macro instantiation > .rept ((1 << 12) / 32) Looks like https://git.kernel.org/tip/3131ef39fb03bbde237d0b8260445898f3dfda5b should take care of this (not clang specific, GCC errors too with the same configuration). Cheers, Nathan