-
Notifications
You must be signed in to change notification settings - Fork 51
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
Compilation Errors on x86_64-pc-windows-gnu
Target due to Uninitialized Variables in aws-lc
#397
Comments
I suspect the reason we're not seeing this failure in our CI is that we're not performing a I'd need to investigate what workarounds are available for this type of issue. I'm not sure that |
I'm able to reproduce this error in our CI: https://github.com/aws/aws-lc-rs/actions/runs/8723216911/job/23930952090?pr=399 |
### Issues: Resolves: * aws/aws-lc-rs#397 ### Description of changes: * Perform "release" build for MinGW in the CI. * Address several GCC 12/13 warnings 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.
I can confirm that debug builds compile successfully. I'll stick with that for now pending the fix. Thank you. |
As of our v1.7.1 release, I believe this issue to be resolved. Feel free to reopen or create a new issue if you are still having a problem building aws-lc-rs. Thanks! |
Problem:
I encountered a compilation issue when building my project that depends on
aws-lc-rs v1.7.0
for thex86_64-pc-windows-gnu
target. The compilation process fails with errors related to potentially uninitialized variables in theaws-lc
C code. I tried to suppress the warnings by setting theCFLAGS=-Wno-maybe-uninitialized
variable.I am using github actions CI for the build process:
Relevant details
AWS-LC for Rust versions: v1.7.0
System information: Github hosted windows runner
Build log:
The text was updated successfully, but these errors were encountered: