Re: Error when compiling kernel with option KUBSAN

2024-09-02 Thread Janne Johansson
Den mån 2 sep. 2024 kl 10:59 skrev hahahahacker2009 : > > Hello, > I can compile the GENERIC kernel without any error. But > compiling a custom kernel with option KUBSAN failed with this error: > > /usr/src/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c:1854:13: > error: stack frame

Error when compiling kernel with option KUBSAN

2024-09-02 Thread hahahahacker2009
Hello, I can compile the GENERIC kernel without any error. But compiling a custom kernel with option KUBSAN failed with this error: /usr/src/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c:1854:13: error: stack frame size (2120) exceeds limit (2047) in 'DISPCLKDPPCLKDCFCLKDeepSleepP