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 when building rustls-ffi #615

Open xnox opened 2 days ago

xnox commented 2 days ago

Problem:

Trying to build https://github.com/rustls/rustls-ffi v0.14.0 commit 326bb76f64db954a92663e87fcf620f2a615ec99

Trying to build it with FIPS

      cargo add rustls -F fips
      cargo capi build --release

Build fails

Is capi builds, creating c libraries not allowed / not possible / not supported? Is my toolchain buggy?

2024/11/23 00:55:59 WARN   error while processing "\t.section\t.data.rel.ro.local,\"aw\"\n" on line 444986: ".data section found in module"

Relevant details

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

Build log: