Re: [PATCH v3 4/5] Makefile: Enable -Warray-bounds

From: Guenter Roeck
Date: Tue Aug 31 2021 - 16:49:46 EST


On 8/31/21 1:18 PM, Kees Cook wrote:
On Tue, Aug 31, 2021 at 12:40:53PM -0700, Guenter Roeck wrote:
The configuration doesn't matter; it fails for me for all configurations,
including defconfig, alllnoconfig, and allmodconfig.
Key is to use gcc 11.2. The image builds just fine with gcc 9.4 and 10.3.

Ah! Yes, heh. That would be my problem; I've got 10.3 for my builders.
Thanks! I will give 11.2 a spin.

In case you don't have gcc 11.2 available - I tested with 11.1 as well;
that also fails.

Guenter