Re: [PATCH v2 19/28] scripts/mod: disable LTO for empty.c
From: Kees Cook <hidden>
Date: 2020-09-03 22:43:26
Also in:
linux-arch, linux-kbuild, linux-pci, lkml
From: Kees Cook <hidden>
Date: 2020-09-03 22:43:26
Also in:
linux-arch, linux-kbuild, linux-pci, lkml
On Thu, Sep 03, 2020 at 01:30:44PM -0700, Sami Tolvanen wrote:
With CONFIG_LTO_CLANG, clang generates LLVM IR instead of ELF object files. As empty.o is used for probing target properties, disable LTO for it to produce an object file instead. Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <redacted> -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel