Re: Linux 6.2-rc3

From: Guenter Roeck
Date: Mon Jan 09 2023 - 18:14:28 EST


On 1/9/23 14:18, Linus Torvalds wrote:
On Mon, Jan 9, 2023 at 11:47 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents':
include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]

Ok, I guess we'll have to disable this gcc warning for this version
again. I don't think anybody figured out why it happens. We had
several people look at it (Kees, Vlastimil, Jaegeuk) and I think
everybody ended up going "tis looks like a compiler thing".

Does anybody remember - what was the compiler version again and what
do we need to disable?


I currently run my build tests with gcc 11.3. There is "config CC_NO_ARRAY_BOUNDS"
which disables it for gcc 12.

Guenter