objtool: static_call: can't find static_call_key symbol: __SCK__WARN_trap

From: Arnd Bergmann

Date: Mon Feb 02 2026 - 11:22:15 EST


Hi,

I see a new objtool related build failure on current linux-next
with clang-21:

samples/livepatch/livepatch-shadow-fix1.o: error: objtool: static_call: can't find static_call_key symbol: __SCK__WARN_trap

I couldn't figure out what exactly is going on there, this seems fine
with gcc, and so far only one of hundreds of configs has this issue.

See the attachments for .config and the object file.

Arnd

Attachment: livepatch-shadow-objtool-warning.config.gz
Description: application/gzip

Attachment: livepatch-shadow-fix1.o.gz
Description: application/gzip