-
Notifications
You must be signed in to change notification settings - Fork 56
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
Compile failure targeting RPi2 armv7ve in [email protected] #681
Comments
Hello! Thanks for reporting this! I put up a draft PR for AWS-LC (aws/aws-lc#2164) to address this build failure. However, I don't have a good way to test whether this fully resolves the build issue you're having. Would you be able to verify the fix by patching it locally? Or perhaps provide some guidance on how to reproduce this problem on a different platform? Thanks again. 😊 |
Tested and working with the patch.
|
### Issues: Addresses: aws/aws-lc-rs#681 ### Description of changes: On some platforms ARM's `HWCAP2_XXX` macros might be defined in system header files, causing compilation failure due to their being redefined here. ``` .../aws-lc/crypto/fipsmodule/cpucap/cpu_arm_linux.h:35:9: error: 'HWCAP2_AES' redefined [-Werror] 35 | #define HWCAP2_AES (1 << 0) | ^~~~~~~~~~ In file included from .../armv7ve-libreelec-linux-gnueabihf/sysroot/usr/include/bits/hwcap.h:53:9: note: this is the location of the previous definition 53 | #define HWCAP2_AES 1 | ^~~~~~~~~~ ``` 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:
A short description of the problem you are facing. Please include any build output, reproduction steps and environment.
Compile failure on arm32 target. Compile targeting 64bit works correctly.
Relevant details
AWS-LC for Rust versions or commit: [email protected]
System information: for linux, below info can be collected by running
uname -srvmp
Build log:
The text was updated successfully, but these errors were encountered: