Re: [PATCH] efi/libstub: Only disable stackleak plugin for arm64

2018-07-31 Thread Will Deacon
On Mon, Jul 30, 2018 at 11:31:18AM -0700, Laura Abbott wrote: > arm64 uses the full KBUILD_CFLAGS for building libstub as opposed > to x86 which doesn't. This means that x86 doesn't pick up > the gcc-plugins. We need to disable the stackleak plugin but > doing this unconditionally breaks x86 build

Re: [PATCH] efi/libstub: Only disable stackleak plugin for arm64

2018-07-30 Thread Kees Cook
On Mon, Jul 30, 2018 at 11:31 AM, Laura Abbott wrote: > arm64 uses the full KBUILD_CFLAGS for building libstub as opposed > to x86 which doesn't. This means that x86 doesn't pick up > the gcc-plugins. We need to disable the stackleak plugin but > doing this unconditionally breaks x86 build since i

[PATCH] efi/libstub: Only disable stackleak plugin for arm64

2018-07-30 Thread Laura Abbott
arm64 uses the full KBUILD_CFLAGS for building libstub as opposed to x86 which doesn't. This means that x86 doesn't pick up the gcc-plugins. We need to disable the stackleak plugin but doing this unconditionally breaks x86 build since it doesn't have any plugins. Switch to disabling the stackleak p