Skip to content

Symbol rust_crypto_util_fixed_time_eq_asm missing for aarch64 builds #383

Open
@zacstewart

Description

@zacstewart

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions