-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix: Set debug level compatible with -frwpi #767
Conversation
-g3 and -frwpi are not compatible when using global values. Using -g1 prevents the issue. Signed-off-by: Francisco Freitas <[email protected]>
Hi @0pendev ty for your feedback. Did you use our lastest app builder docker image and the last version of our Boilerplate app ?
|
@tdejoigny-ledger, yes this is actually an issue on my end. My environment uses clang 17 instead of cang 12 like the builder image. Closing this merge. Sorry for the inconvenience 😅 This might become an issue if the builder image gets updated though 🤔 The image is based on alpine 3.15 and alpine dropped support for 3.16 and prior versions. |
Description
While trying to do a debug build of the boilerplate-app I stumbled upon the following BUG:
I managed to repruce the issue with a minimalist example:
It seems that clang/lld does not support -g3 with -frwpi when using global variables.
The llvm project has an open issue related to this: llvm/llvm-project#89197
Bumping to -g1 allows to get a debug build with code information.
Changes include