Re: [PATCH 2/2] lib: fortify_kunit: build without structleak plugin
From: Kees Cook
Date: Thu Dec 01 2022 - 12:07:49 EST
On Mon, Nov 28, 2022 at 03:20:13PM +0100, Anders Roxell wrote:
> On Mon, 28 Nov 2022 at 15:09, Kees Cook <kees@xxxxxxxxxx> wrote:
> >
> > On November 28, 2022 2:44:03 AM PST, Anders Roxell <anders.roxell@xxxxxxxxxx> wrote:
> > >Building fortify_kunit with strucleak plugin enabled makes the stack
> > >frame size to grow.
> > >
> > >lib/fortify_kunit.c:140:1: error: the frame size of 2368 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
(It seems like lkml never got this email? Or at least I didn't find it
on lore, so "b4" was unhappy...)
> > Under what config
>
> I saw this with a arm64 allmodconfig build [1],
>
> > and compiler version do you see these warnings?
>
> Toolchain
> aarch64-linux-gnu-gcc (Debian 11.3.0-6) 11.3.0
Thanks! I've applied this to my tree.
--
Kees Cook