-
Notifications
You must be signed in to change notification settings - Fork 121
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
Uninitialised variable in ec_GFp_mont_batch_get_window
#1185
Comments
Thanks for reporting. I'll try to resolve the warning/error. We'll also consider the possibility of removing the enforcement of |
Hello -- I discussed with the team adding a build flag to allow compiler warnings to be ignored (i.e., allow warnings to NOT be errors). Our current consensus is that we prefer compiler warnings to always prevent our build from succeeding. Such warnings are important in helping us and our customers become aware of potential bugs and/or security concerns. Please let us know any time you have a problem building AWS-LC. Thanks again for your report of this issue! |
Similar issues here: aws#1185 Causes CI fails
Similar issues here: aws#1185 Causes CI fails
Previous discussion here: #1185 Similar issues here: 305ec03 Similar issues here: d0501c5#diff-6fde57725bf74f073ccac9d404387d74a39824fbc2465a02cfe37e86e679bbe8R34 Causes CI fails ### Issues: Resolves #P188618529 ### Description of changes: Zero variables before use. ### Call-outs: The fail only occurs for gcc-12 with ubuntu2204 on x86_64. Only variables `|ftmp2|` and `|fourbeta|` are caught as maybe uninitialized `error: 'var_name' may be used uninitialized [-Werror=maybe-uninitialized]`. ### Testing: CI tests. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
Problem:
When building v1.15.0 targeting 32-bit ARM architectures like armv6l or armv7l I get:
Relevant details
AWS-LC commit: (aa90e50)
System information: for linux, below info can be collected by running
uname -srvmp
Build log:
Side note, it'd be very much appreciated if
-Werror
wasn't enforced, or at very least if it was possible to easily disable it without having to manually hack the CMake file.The text was updated successfully, but these errors were encountered: