All of lore.kernel.org
 help / color / mirror / Atom feed
* [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; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2026-06-18  8:46 UTC | newest]

Thread overview: 4+ 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
2026-06-17 18:47   ` Dmitry Voytik
2026-06-18  8:46     ` Alexander Potapenko

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.