* [BUG] CONFIG_KMSAN breaks objtool and building of the kernel
@ 2026-06-16 22:14 Dmitry Voytik
2026-06-17 7:48 ` Peter Zijlstra
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Voytik @ 2026-06-16 22:14 UTC (permalink / raw)
To: glider, jpoimboe; +Cc: kasan-dev, linux-kernel, peterz
Enabling CONFIG_KMSAN=y triggers the following build error:
make LLVM=1 -j(nproc)
SYNC include/config/auto.conf
DESCEND objtool
INSTALL libsubcmd_headers
LD vmlinux.o
vmlinux.o: warning: objtool: intel_pt_interrupt+0xde9: undefined stack state
vmlinux.o: warning: objtool: folio_zero_user+0x7cc: undefined stack state
vmlinux.o: error: objtool: intel_pt_interrupt+0xde4: unknown cfa base reg -1
make[2]: *** [scripts/Makefile.vmlinux_o:76: vmlinux.o] Error 255
make[2]: *** Deleting file 'vmlinux.o'
↪ git log --oneline | head -n1
062871f1371b (HEAD -> master, origin/master, origin/HEAD) Merge tag
'pinctrl-v7.1-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
↪ clang --version
clang version 22.1.6
Target: x86_64-pc-linux-gnu
Please let me know if you need my .config (basically, it's the default
Arch Linux config + make oldconfg)
--
Best Regards,
Dmitry Voytik.
voytikd@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] CONFIG_KMSAN breaks objtool and building of the kernel
2026-06-16 22:14 [BUG] CONFIG_KMSAN breaks objtool and building of the kernel Dmitry Voytik
@ 2026-06-17 7:48 ` Peter Zijlstra
0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2026-06-17 7:48 UTC (permalink / raw)
To: Dmitry Voytik; +Cc: glider, jpoimboe, kasan-dev, linux-kernel
On Wed, Jun 17, 2026 at 12:14:26AM +0200, Dmitry Voytik wrote:
> Enabling CONFIG_KMSAN=y triggers the following build error:
> make LLVM=1 -j(nproc)
> SYNC include/config/auto.conf
> DESCEND objtool
> INSTALL libsubcmd_headers
> LD vmlinux.o
> vmlinux.o: warning: objtool: intel_pt_interrupt+0xde9: undefined stack state
> vmlinux.o: warning: objtool: folio_zero_user+0x7cc: undefined stack state
> vmlinux.o: error: objtool: intel_pt_interrupt+0xde4: unknown cfa base reg -1
> make[2]: *** [scripts/Makefile.vmlinux_o:76: vmlinux.o] Error 255
> make[2]: *** Deleting file 'vmlinux.o'
>
> ↪ git log --oneline | head -n1
> 062871f1371b (HEAD -> master, origin/master, origin/HEAD) Merge tag
> 'pinctrl-v7.1-3' of
> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
>
> ↪ clang --version
> clang version 22.1.6
> Target: x86_64-pc-linux-gnu
>
> Please let me know if you need my .config (basically, it's the default
> Arch Linux config + make oldconfg)
Using v7.1-2765-g6b5a2b7d9bc1, clang-22.1.0 (debian) and defconfig+KMSAN, I
cannot reproduce :/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-17 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 22:14 [BUG] CONFIG_KMSAN breaks objtool and building of the kernel Dmitry Voytik
2026-06-17 7:48 ` Peter Zijlstra
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.