public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* clang/objtool failures on linux-next
@ 2026-03-06 12:41 Arnd Bergmann
  2026-03-06 17:30 ` Josh Poimboeuf
  2026-03-16 21:27 ` Arnd Bergmann
  0 siblings, 2 replies; 13+ messages in thread
From: Arnd Bergmann @ 2026-03-06 12:41 UTC (permalink / raw)
  To: Peter Zijlstra, Josh Poimboeuf, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

I came across two randconfig builds on linux-next that fail to build:

==> build/x86/0xCE0DD5F4_defconfig/log <==
drivers/input/misc/uinput.o: warning: objtool: uinput_str_to_user+0x165: undefined stack state
drivers/input/misc/uinput.o: warning: objtool: uinput_str_to_user+0x165: unknown CFA base reg -1

==> build/x86/0xAE77DEF6_defconfig/log <==
drivers/scsi/qla2xxx/qla_dbg.o: error: SIGSEGV: objtool stack overflow!
Segmentation fault

The first one happens with clang-18 through clang-22, the second one
with all versions of clang.

The crash seems worse at first, but I also noticed that
clang takes a long time to actually compile it, and the object
file is huge, so this is probably partially a compiler problem.

Please have a look at the attached object files along the configs
I used.

      Arnd

[-- Attachment #2: 0xAE77DEF6_qla_dbg.o.xz --]
[-- Type: application/x-xz, Size: 344820 bytes --]

[-- Attachment #3: 0xAE77DEF6_defconfig.xz --]
[-- Type: application/x-xz, Size: 40180 bytes --]

[-- Attachment #4: 0xCE0DD5F4_uinput.o.xz --]
[-- Type: application/x-xz, Size: 15580 bytes --]

[-- Attachment #5: 0xCE0DD5F4_defconfig.xz --]
[-- Type: application/x-xz, Size: 41940 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-03-17  0:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 12:41 clang/objtool failures on linux-next Arnd Bergmann
2026-03-06 17:30 ` Josh Poimboeuf
2026-03-06 18:29   ` Josh Poimboeuf
2026-03-06 21:02     ` Arnd Bergmann
2026-03-06 21:17       ` Josh Poimboeuf
2026-03-06 22:04         ` Arnd Bergmann
2026-03-07  1:35           ` Josh Poimboeuf
2026-03-09 21:15             ` Nathan Chancellor
2026-03-09 21:27               ` Arnd Bergmann
2026-03-07  1:37           ` Josh Poimboeuf
2026-03-06 23:25       ` Nathan Chancellor
2026-03-16 21:27 ` Arnd Bergmann
2026-03-17  0:29   ` Josh Poimboeuf

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