All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [luto:x86/kentry 11/11] include/linux/instrumentation.h:71: Error: unknown mnemonic `static' -- `static inline void kentry_assert_may_instrument(void){}'
Date: Thu, 27 May 2021 06:52:24 +0800	[thread overview]
Message-ID: <202105270618.4ct6lPjE-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/kentry
head:   aef17509a4103715234cd87c7912ccb934d7e540
commit: aef17509a4103715234cd87c7912ccb934d7e540 [11/11] kentry: Verify kentry state in instrumentation_begin/end()
config: arm64-randconfig-r023-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?id=aef17509a4103715234cd87c7912ccb934d7e540
        git remote add luto https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
        git fetch --no-tags luto x86/kentry
        git checkout aef17509a4103715234cd87c7912ccb934d7e540
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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 >>):

   include/linux/instrumentation.h: Assembler messages:
>> include/linux/instrumentation.h:71: Error: unknown mnemonic `static' -- `static inline void kentry_assert_may_instrument(void){}'
   clang-13: error: assembler command failed with exit code 1 (use -v to see invocation)


vim +71 include/linux/instrumentation.h

    70	
  > 71	static inline void kentry_assert_may_instrument(void) {}
    72	

---
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: 35642 bytes --]

                 reply	other threads:[~2021-05-26 22:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202105270618.4ct6lPjE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.