Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unable to find library -latomic for ohos #2338

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

1 participant