Skip to content

Conversation

@niuhuan
Copy link

@niuhuan niuhuan commented Dec 16, 2024

build has failed for target armv7-unknown-linux-ohos

This has build logs for ohos

  = note: ld.lld: error: unable to find library -latomic
          clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

I found this issue, it seems to be to solve the issue with the Android link
openssl/openssl#14083 (Android x86: undefined reference to _atomic* (Alpha11))

After I removed -latomic, rust-openssl compilation passed and ran well for ohos.

Maybe ohos doesn't need this library

    Finished `release` profile [optimized] target(s)

#2339

@richerfu
Copy link

Related PR: #2239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants