-
Notifications
You must be signed in to change notification settings - Fork 15
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
arm64 ld.lld: warning: stack frame size (2256) exceeds limit (2048) in function 'wlc_phy_txpwr_srom_read_ppr_nphy' #1554
Comments
If you run this on the vmlinux, it might be able to help us spot if there's a large stack allocation, or lots of little ones. |
Thank you. I will try to provide further info. by https://github.com/ClangBuiltLinux/frame-larger-than |
@nickdesaulniers It didn't work as
|
@emojifreak right, you're running the script on a .o file which actually is LLVM bitcode (should be a .bc file). Since it's not an ELF object, an ELF parser will fail to find the ELF magic number at the expected location of an ELF object header. That's why I suggested running it on vmlinux, which will take longer, but is a fully linked ELF object. |
Thanks. The configuration causes this warning fails before making |
Does |
All built-in configuration similar to #1550 gives a build warning at the final stage
This probably causes build failure with
CONFIG_WERROR=y
..config
and a reproducing script are attached. It is unclear to me why it is not caught by clang.config.txt.gz
clang-build-arch30.sh.gz
The text was updated successfully, but these errors were encountered: