All of lore.kernel.org
 help / color / mirror / Atom feed
* [luto:x86/kentry 11/11] include/linux/instrumentation.h:71: Error: unknown mnemonic `static' -- `static inline void kentry_assert_may_instrument(void){}'
@ 2021-05-26 22:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-26 22:52 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-26 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 22:52 [luto:x86/kentry 11/11] include/linux/instrumentation.h:71: Error: unknown mnemonic `static' -- `static inline void kentry_assert_may_instrument(void){}' kernel test robot

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.