Open nathanchance opened 2 months ago
This warning appears with Fedora's PowerPC configuration:
$ curl -LSso .config https://src.fedoraproject.org/rpms/kernel/raw/rawhide/f/kernel-ppc64le-fedora.config $ make -skj"$(nproc)" ARCH=powerpc LLVM=1 olddefconfig drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.o drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:714:12: error: stack frame size (2272) exceeds limit (2048) in 'vcn_v5_0_0_start' [-Werror,-Wframe-larger-than] 714 | static int vcn_v5_0_0_start(struct amdgpu_device *adev) | ^ 1 error generated.
I am reducing via cvise, this appears to be related to -fsanitize=bounds (via CONFIG_UBSAN_BOUNDS=y in Fedora's configuration), so this could be a code generation issue.
cvise
-fsanitize=bounds
CONFIG_UBSAN_BOUNDS=y
I forgot to mention that I filed an issue for this upstream: https://github.com/llvm/llvm-project/issues/98367
This warning appears with Fedora's PowerPC configuration:
I am reducing via
cvise
, this appears to be related to-fsanitize=bounds
(viaCONFIG_UBSAN_BOUNDS=y
in Fedora's configuration), so this could be a code generation issue.