Re: [PATCH v2 11/28] kbuild: lto: postpone objtool

2020-09-08 Thread Sami Tolvanen
On Thu, Sep 03, 2020 at 03:19:43PM -0700, Kees Cook wrote: > On Thu, Sep 03, 2020 at 01:30:36PM -0700, Sami Tolvanen wrote: > > With LTO, LLVM bitcode won't be compiled into native code until > > modpost_link, or modfinal for modules. This change postpones calls > > to objtool until after these ste

Re: [PATCH v2 11/28] kbuild: lto: postpone objtool

2020-09-03 Thread Kees Cook
On Thu, Sep 03, 2020 at 01:30:36PM -0700, Sami Tolvanen wrote: > With LTO, LLVM bitcode won't be compiled into native code until > modpost_link, or modfinal for modules. This change postpones calls > to objtool until after these steps. > > Signed-off-by: Sami Tolvanen For a "fail fast" style of

[PATCH v2 11/28] kbuild: lto: postpone objtool

2020-09-03 Thread Sami Tolvanen
With LTO, LLVM bitcode won't be compiled into native code until modpost_link, or modfinal for modules. This change postpones calls to objtool until after these steps. Signed-off-by: Sami Tolvanen --- arch/Kconfig | 2 +- scripts/Makefile.build| 2 ++ scripts/Makefile.modfinal