Re: [PATCH v2 49/62] kbuild,objtool: Defer objtool validation step for CONFIG_LIVEPATCH

2025-06-05 Thread Josh Poimboeuf
On Wed, May 28, 2025 at 10:45:22AM -0400, Joe Lawrence wrote: > > - if is_enabled CONFIG_LTO_CLANG || is_enabled CONFIG_X86_KERNEL_IBT; then > > + if is_enabled CONFIG_LTO_CLANG || is_enabled CONFIG_X86_KERNEL_IBT || > > + is_enabled CONFIG_LIVEPATCH; then > > # Use vmlinux.o i

Re: [PATCH v2 49/62] kbuild,objtool: Defer objtool validation step for CONFIG_LIVEPATCH

2025-05-28 Thread Joe Lawrence
On 5/9/25 4:17 PM, Josh Poimboeuf wrote: > In preparation for the objtool klp diff subcommand, defer objtool > validation for CONFIG_LIVEPATCH until the final pre-link archive (e.g., > vmlinux.o, module-foo.o) is built. This will simplify the process of > generating livepatch modules. > > Delayed

[PATCH v2 49/62] kbuild,objtool: Defer objtool validation step for CONFIG_LIVEPATCH

2025-05-09 Thread Josh Poimboeuf
In preparation for the objtool klp diff subcommand, defer objtool validation for CONFIG_LIVEPATCH until the final pre-link archive (e.g., vmlinux.o, module-foo.o) is built. This will simplify the process of generating livepatch modules. Delayed objtool is generally preferred anyway, and is alread