Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [arm-integrator:b4/aarch64-dynamic-kernel-stacks 17/18] arch/arm64/kernel/entry.S:592:2: error: unrecognized instruction mnemonic
Date: Tue, 29 Apr 2025 15:22:29 +0800	[thread overview]
Message-ID: <202504291503.w9GAZmMA-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-04-29  7:23 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=202504291503.w9GAZmMA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox