mainline build failure due to e240e53ae0ab ("mm, slub: add CONFIG_SLUB_TINY")

From: Sudip Mukherjee (Codethink)
Date: Tue Dec 13 2022 - 05:26:29 EST


Hi All,

The latest mainline kernel branch fails to build xtensa allmodconfig
with gcc-11 with the error:

kernel/kcsan/kcsan_test.c: In function '__report_matches':
kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
257 | }
| ^

git bisect pointed to e240e53ae0ab ("mm, slub: add CONFIG_SLUB_TINY")


I will be happy to test any patch or provide any extra log if needed.

Note:
This is only seen with gcc-11, gcc-12 builds are ok.

--
Regards
Sudip