Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [arm-integrator:b4/aarch64-dynamic-kernel-stacks 17/18] arch/arm64/kernel/entry.S:592:2: error: unrecognized instruction mnemonic
@ 2025-04-29  7:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-29  7:22 UTC (permalink / raw)
  To: Linus Walleij; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/aarch64-dynamic-kernel-stacks
head:   6f50dac461ca66220a13a927db438e4a75708444
commit: 9f8b2eeb16285187ca7653f6e4ad94fdb43c9096 [17/18] HACK: aarch64 dynamic stack
config: arm64-randconfig-002-20250429 (https://download.01.org/0day-ci/archive/20250429/202504291503.w9GAZmMA-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250429/202504291503.w9GAZmMA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504291503.w9GAZmMA-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> arch/arm64/mm/fault.c:914:6: warning: no previous prototype for function 'do_stack_abort' [-Wmissing-prototypes]
     914 | void do_stack_abort(unsigned long far, struct pt_regs *regs)
         |      ^
   arch/arm64/mm/fault.c:914:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     914 | void do_stack_abort(unsigned long far, struct pt_regs *regs)
         | ^
         | static 
   1 warning generated.
--
>> arch/arm64/kernel/entry.S:592:2: error: unrecognized instruction mnemonic
    kernel_ventry_el1_sync 1, t, 64, sync
    ^
   arch/arm64/kernel/entry.S:597:2: error: unrecognized instruction mnemonic
    kernel_ventry_el1_sync 1, h, 64, sync
    ^


vim +592 arch/arm64/kernel/entry.S

   582	
   583		.text
   584	
   585	/*
   586	 * Exception vectors.
   587	 */
   588		.pushsection ".entry.text", "ax"
   589	
   590		.align	11
   591	SYM_CODE_START(vectors)
 > 592		kernel_ventry_el1_sync	1, t, 64, sync		// Synchronous EL1t
   593		kernel_ventry	1, t, 64, irq		// IRQ EL1t
   594		kernel_ventry	1, t, 64, fiq		// FIQ EL1t
   595		kernel_ventry	1, t, 64, error		// Error EL1t
   596	
   597		kernel_ventry_el1_sync	1, h, 64, sync		// Synchronous EL1h
   598		kernel_ventry	1, h, 64, irq		// IRQ EL1h
   599		kernel_ventry	1, h, 64, fiq		// FIQ EL1h
   600		kernel_ventry	1, h, 64, error		// Error EL1h
   601	
   602		kernel_ventry	0, t, 64, sync		// Synchronous 64-bit EL0
   603		kernel_ventry	0, t, 64, irq		// IRQ 64-bit EL0
   604		kernel_ventry	0, t, 64, fiq		// FIQ 64-bit EL0
   605		kernel_ventry	0, t, 64, error		// Error 64-bit EL0
   606	
   607		kernel_ventry	0, t, 32, sync		// Synchronous 32-bit EL0
   608		kernel_ventry	0, t, 32, irq		// IRQ 32-bit EL0
   609		kernel_ventry	0, t, 32, fiq		// FIQ 32-bit EL0
   610		kernel_ventry	0, t, 32, error		// Error 32-bit EL0
   611	SYM_CODE_END(vectors)
   612	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-04-29  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29  7:22 [arm-integrator:b4/aarch64-dynamic-kernel-stacks 17/18] arch/arm64/kernel/entry.S:592:2: error: unrecognized instruction mnemonic kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox