shimbob Tux's lil' helper
Joined: 13 Sep 2003 Posts: 141
|
Posted: Thu Jul 14, 2022 5:29 pm Post subject: Kernel build fails: -Werror=frame-larger-than= |
|
|
For a while now I have not been able to compile any newer kernel, with the error message being:
Code: | CC drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/dcn20_fpu.o
/usr/src/linux-5.18.11-xanmod/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/dcn20_fpu.c: In function 'dcn21_update_bw_bounding_box':
/usr/src/linux-5.18.11-xanmod/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/dcn20_fpu.c:2040:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
2040 | }
| ^
cc1: all warnings being treated as errors
|
I thought the larger frame size would be related to KASAN being enabled, but it's not enabled.
I'm aware they recently made all warnings be treated as error, to much consternation. But like, c'mon man, now it doesn't compile.
Compiling xanmod-sources-5.18.11 with GCC 12 |
|