aws / aws-lc-rs

aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.
Other
318 stars 49 forks source link

aws-lc-rs fails to build fips feature with fortification and hardening #614

Open xnox opened 2 days ago

xnox commented 2 days ago

Problem:

Build fails with gcc-14

Relevant details

AWS-LC for Rust versions or commit: (6b1bce0...)

Building using hardened compiler with all of the https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html options

as in gcc -O2 -fhardened using gcc-14

Build log: