Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel build fails: -Werror=frame-larger-than=
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 141

PostPosted: Thu Jul 14, 2022 5:29 pm    Post subject: Kernel build fails: -Werror=frame-larger-than= Reply with quote

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
Back to top
View user's profile Send private message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 141

PostPosted: Thu Jul 14, 2022 5:32 pm    Post subject: Reply with quote

CONFIG_WERROR=N fixed it. Never mind.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum