rust-crypto
rust-crypto copied to clipboard
Symbol rust_crypto_util_fixed_time_eq_asm missing for aarch64 builds
I might have the wrong place, but I think I've narrowed a failing build down to this helper function not being compiled for arm64.
I'm trying to build a project that depends on rust-crypto for multiple Apple iOS targets and combine the archives using lipo. Everything seems to go well until building the final product with XCode:
undefined symbols for architecture arm64:
"_rust_crypto_util_fixed_time_eq_asm", referenced from:
crypto::util::fixed_time_eq::hd6fee48f285f2cc2 in libcomm.a(crypto-b53f4f52658d6577.0.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I remove arm64 from my XCode targets (leaving arm7 and arm7s) it works fine. Is it possible that this function only compiles for 32-bit ARM architecture?
I think I may have a fix for this. Opening a PR.
I stumbled upon the same issue. Is there any reason, why pr with the fix is not merged?
@debris
rust-crypto
is no longer maintained. RustCrypto aims to succeed it.