[mark:linkage/alias-rework 5/5] arch/x86/crypto/aesni-intel_asm.S:1755:1: error: invalid instruction mnemonic 'sym_func_start_local_alias'

From: kernel test robot
Date: Sat Dec 04 2021 - 20:03:13 EST


Hi Mark,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git linkage/alias-rework
head: bd779ad653870d718d0df57731b1637dae509337
commit: bd779ad653870d718d0df57731b1637dae509337 [5/5] linkage: remove START/END ALIAS macros
config: x86_64-randconfig-a013-20211203 (https://download.01.org/0day-ci/archive/20211205/202112050817.Dak5O481-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5f1d1854eb1450d352663ee732235893c5782237)
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/mark/linux.git/commit/?id=bd779ad653870d718d0df57731b1637dae509337
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark linkage/alias-rework
git checkout bd779ad653870d718d0df57731b1637dae509337
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/x86/crypto/aesni-intel_asm.S:1755:1: error: invalid instruction mnemonic 'sym_func_start_local_alias'
SYM_FUNC_START_LOCAL_ALIAS(_key_expansion_128)
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/crypto/aesni-intel_asm.S:1767:1: error: invalid instruction mnemonic 'sym_func_end_alias'
SYM_FUNC_END_ALIAS(_key_expansion_128)
^~~~~~~~~~~~~~~~~~


vim +/sym_func_start_local_alias +1755 arch/x86/crypto/aesni-intel_asm.S

0bd82f5f635577 Tadeusz Struk 2010-11-04 1753
0bd82f5f635577 Tadeusz Struk 2010-11-04 1754
e9b9d020c4873d Jiri Slaby 2019-10-11 @1755 SYM_FUNC_START_LOCAL_ALIAS(_key_expansion_128)
74d8b90a889022 Jiri Slaby 2019-10-11 1756 SYM_FUNC_START_LOCAL(_key_expansion_256a)
54b6a1bd5364ac Huang Ying 2009-01-18 1757 pshufd $0b11111111, %xmm1, %xmm1
54b6a1bd5364ac Huang Ying 2009-01-18 1758 shufps $0b00010000, %xmm0, %xmm4
54b6a1bd5364ac Huang Ying 2009-01-18 1759 pxor %xmm4, %xmm0
54b6a1bd5364ac Huang Ying 2009-01-18 1760 shufps $0b10001100, %xmm0, %xmm4
54b6a1bd5364ac Huang Ying 2009-01-18 1761 pxor %xmm4, %xmm0
54b6a1bd5364ac Huang Ying 2009-01-18 1762 pxor %xmm1, %xmm0
0d258efb6a58fe Mathias Krause 2010-11-27 1763 movaps %xmm0, (TKEYP)
0d258efb6a58fe Mathias Krause 2010-11-27 1764 add $0x10, TKEYP
54b6a1bd5364ac Huang Ying 2009-01-18 1765 ret
74d8b90a889022 Jiri Slaby 2019-10-11 1766 SYM_FUNC_END(_key_expansion_256a)
e9b9d020c4873d Jiri Slaby 2019-10-11 @1767 SYM_FUNC_END_ALIAS(_key_expansion_128)
54b6a1bd5364ac Huang Ying 2009-01-18 1768

:::::: The code at line 1755 was first introduced by commit
:::::: e9b9d020c4873d5e90d9986cfd137afbafbc5bfa x86/asm: Annotate aliases

:::::: TO: Jiri Slaby <jslaby@xxxxxxx>
:::::: CC: Borislav Petkov <bp@xxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx