Re: [PATCH v2 24/28] KVM: arm64: disable LTO for the nVHE directory

2020-09-03 Thread Kees Cook
On Thu, Sep 03, 2020 at 01:30:49PM -0700, 'Sami Tolvanen' via Clang Built Linux wrote: > We use objcopy to manipulate ELF binaries for the nvhe code, > which fails with LTO as the compiler produces LLVM bitcode > instead. Disable LTO for this code to allow objcopy to be used. > > Signed-off-by: S

[PATCH v2 24/28] KVM: arm64: disable LTO for the nVHE directory

2020-09-03 Thread Sami Tolvanen
We use objcopy to manipulate ELF binaries for the nvhe code, which fails with LTO as the compiler produces LLVM bitcode instead. Disable LTO for this code to allow objcopy to be used. Signed-off-by: Sami Tolvanen --- arch/arm64/kvm/hyp/nvhe/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 d