Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lld-19] drivers/net/ethernet/mellanox/mlx5/core/eq.c:1078:0: stack frame size (2208) exceeds limit (2048) in function 'mlx5_comp_eqn_get' #2049

Open
cgzones opened this issue Sep 8, 2024 · 1 comment

Comments

@cgzones
Copy link

cgzones commented Sep 8, 2024

When building v6.10.9 with LLVM 19 and LTO and CFI and UBSAN enabled lld warns:

ld.lld-19: warning: <build-dir>/drivers/net/ethernet/mellanox/mlx5/core/eq.c:1078:0: stack frame size (2208) exceeds limit (2048) in function 'mlx5_comp_eqn_get'
@cgzones
Copy link
Author

cgzones commented Sep 10, 2024

Disappears when disabling CONFIG_UBSAN_SIGNED_WRAP:

CONFIG_ARCH_HAS_UBSAN=y
CONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not set
CONFIG_CC_HAS_UBSAN_ARRAY_BOUNDS=y
CONFIG_UBSAN_BOUNDS=y
CONFIG_UBSAN_ARRAY_BOUNDS=y
CONFIG_UBSAN_SHIFT=y
# CONFIG_UBSAN_SIGNED_WRAP is not set
CONFIG_UBSAN_BOOL=y
CONFIG_UBSAN_ENUM=y
# CONFIG_UBSAN_ALIGNMENT is not set
# CONFIG_TEST_UBSAN is not set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant