Re: vmlinux.o: warning: objtool: snd_rme96_capture_getrate+0x84: return with modified stack frame
From: Josh Poimboeuf
Date: Wed Mar 19 2025 - 02:59:24 EST
On Mon, Mar 17, 2025 at 03:36:46PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 4701f33a10702d5fc577c32434eb62adde0a1ae1
> commit: 3724062ca2b1364f02cf44dbea1a552227844ad1 objtool: Ignore dangling jump table entries
> date: 5 weeks ago
> config: x86_64-randconfig-r051-20250316 (https://download.01.org/0day-ci/archive/20250317/202503171547.LlCTJLQL-lkp@xxxxxxxxx/config)
> compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250317/202503171547.LlCTJLQL-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202503171547.LlCTJLQL-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
LTO+UBSAN fun.
> vmlinux.o: warning: objtool: SiS_GetCRT2Ptr+0x1ad: stack state mismatch: cfa1=4+8 cfa2=5+16
> vmlinux.o: warning: objtool: .text.nvmet_ctrl_state_show: unexpected end of section
> vmlinux.o: warning: objtool: .text.cyapa_update_fw_store: unexpected end of section
I have fixes for these, will post soon.
> vmlinux.o: warning: objtool: ___bpf_prog_run+0x1f: sibling call from callable instruction with modified stack frame
> >> vmlinux.o: warning: objtool: snd_rme96_capture_getrate+0x84: return with modified stack frame
> >> vmlinux.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
Haven't been able to recreate these yet, will try clang 20.
--
Josh