All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:x86/wip.ibt 23/24] arch/x86/kernel/alternative.c:757:48: error: expected ')' before 'ANNOTATE_NOENDBR'
@ 2022-02-17 22:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-17 22:31 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
head:   20f0cd68b8d42470e0a0459aa5db23d7dae8f83d
commit: 55d18ec3a2c0a2b4890ed79db60259d5623a59ca [23/24] x86/ibt: fixes
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220218/202202180629.eWa6TvBL-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=55d18ec3a2c0a2b4890ed79db60259d5623a59ca
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.ibt
        git checkout 55d18ec3a2c0a2b4890ed79db60259d5623a59ca
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

>> arch/x86/kernel/alternative.c:757:48: error: expected ')' before 'ANNOTATE_NOENDBR'
     757 | " .pushsection .init.text, \"ax\", @progbits\n"
         |                                                ^
         |                                                )
   ......
     760 |  ANNOTATE_NOENDBR
         |  ~~~~~~~~~~~~~~~~                               
   arch/x86/kernel/alternative.c:756:5: note: to match this '('
     756 | asm (
         |     ^
--
   arch/x86/lib/retpoline.S: Assembler messages:
>> arch/x86/lib/retpoline.S:15: Error: no such instruction: `annotate_noendbr'


vim +757 arch/x86/kernel/alternative.c

ecc606103837b9 Peter Zijlstra 2019-07-08  755  
ecc606103837b9 Peter Zijlstra 2019-07-08  756  asm (
ecc606103837b9 Peter Zijlstra 2019-07-08 @757  "	.pushsection	.init.text, \"ax\", @progbits\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  758  "	.type		int3_magic, @function\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  759  "int3_magic:\n"
55d18ec3a2c0a2 Peter Zijlstra 2022-02-17  760  	ANNOTATE_NOENDBR
ecc606103837b9 Peter Zijlstra 2019-07-08  761  "	movl	$1, (%" _ASM_ARG1 ")\n"
b17c2baa305ccc Peter Zijlstra 2021-12-04  762  	ASM_RET
ecc606103837b9 Peter Zijlstra 2019-07-08  763  "	.size		int3_magic, .-int3_magic\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  764  "	.popsection\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  765  );
7457c0da024b18 Peter Zijlstra 2019-05-03  766  

:::::: The code at line 757 was first introduced by commit
:::::: ecc606103837b98a2b665e8f14e533a6c72bbdc0 x86/alternatives: Fix int3_emulate_call() selftest stack corruption

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [peterz-queue:x86/wip.ibt 23/24] arch/x86/kernel/alternative.c:757:48: error: expected ')' before 'ANNOTATE_NOENDBR'
@ 2022-02-17 22:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-17 22:31 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
head:   20f0cd68b8d42470e0a0459aa5db23d7dae8f83d
commit: 55d18ec3a2c0a2b4890ed79db60259d5623a59ca [23/24] x86/ibt: fixes
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220218/202202180629.eWa6TvBL-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=55d18ec3a2c0a2b4890ed79db60259d5623a59ca
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.ibt
        git checkout 55d18ec3a2c0a2b4890ed79db60259d5623a59ca
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

>> arch/x86/kernel/alternative.c:757:48: error: expected ')' before 'ANNOTATE_NOENDBR'
     757 | " .pushsection .init.text, \"ax\", @progbits\n"
         |                                                ^
         |                                                )
   ......
     760 |  ANNOTATE_NOENDBR
         |  ~~~~~~~~~~~~~~~~                               
   arch/x86/kernel/alternative.c:756:5: note: to match this '('
     756 | asm (
         |     ^
--
   arch/x86/lib/retpoline.S: Assembler messages:
>> arch/x86/lib/retpoline.S:15: Error: no such instruction: `annotate_noendbr'


vim +757 arch/x86/kernel/alternative.c

ecc606103837b9 Peter Zijlstra 2019-07-08  755  
ecc606103837b9 Peter Zijlstra 2019-07-08  756  asm (
ecc606103837b9 Peter Zijlstra 2019-07-08 @757  "	.pushsection	.init.text, \"ax\", @progbits\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  758  "	.type		int3_magic, @function\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  759  "int3_magic:\n"
55d18ec3a2c0a2 Peter Zijlstra 2022-02-17  760  	ANNOTATE_NOENDBR
ecc606103837b9 Peter Zijlstra 2019-07-08  761  "	movl	$1, (%" _ASM_ARG1 ")\n"
b17c2baa305ccc Peter Zijlstra 2021-12-04  762  	ASM_RET
ecc606103837b9 Peter Zijlstra 2019-07-08  763  "	.size		int3_magic, .-int3_magic\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  764  "	.popsection\n"
ecc606103837b9 Peter Zijlstra 2019-07-08  765  );
7457c0da024b18 Peter Zijlstra 2019-05-03  766  

:::::: The code at line 757 was first introduced by commit
:::::: ecc606103837b98a2b665e8f14e533a6c72bbdc0 x86/alternatives: Fix int3_emulate_call() selftest stack corruption

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-17 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17 22:31 [peterz-queue:x86/wip.ibt 23/24] arch/x86/kernel/alternative.c:757:48: error: expected ')' before 'ANNOTATE_NOENDBR' kernel test robot
2022-02-17 22:31 ` 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.