Re: [PATCH v2 10/13] kbuild: rebuild modules when objtool is updated for CONFIG_LTO_CLANG
From: Kees Cook <hidden>
Date: 2021-08-31 17:40:45
Also in:
lkml
From: Kees Cook <hidden>
Date: 2021-08-31 17:40:45
Also in:
lkml
On Tue, Aug 31, 2021 at 04:40:01PM +0900, Masahiro Yamada wrote:
We rebuilt objects when objtool was updated, but only for non LTO builds. For CONFIG_LTO_CLANG, the objtool step is postponed by the link time, and nothing happens even if objtool is updated. Add the proper objtool dependency to the pre-modpost module link for CONFIG_LTO_CLANG. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Kees Cook <redacted> -- Kees Cook