-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[libsodium] Build error on arm64-android #37423
Comments
@strelokndv Thanks for posting this issue, you can refer to this : android/ndk#1945 (comment) |
Sorry, I don't have clang's compiler environment. I use gcc not clang.
|
If you have a suitable NDK, you have clang.
This is the not compiler used when building for android. See config or install log. FTR the error is reproducible with NDK r26. |
This is a known issue for aarch64 Reference: jedisct1/libsodium#1314 if [ "$TARGET_PLATFORM_ARCH" = aarch64 ] ; then
export CFLAGS="$CFLAGS -march=armv8-a+crypto"
fi @rezzeted If you are still stuck on this issue, you can use https://github.com/leleliu008/ndk-pkg-package-manually-build to build it temporarily. |
NDK 26 changes are in https://github.com/microsoft/vcpkg/pull/35851/files#diff-1d3397a9ad385d93a7908c830ec9d866c13f541ee798db5047efccad81c57316. |
Package: libsodium:arm64-android@1.0.19#1
Host Environment
vcpkg-scripts version: unknown
To Reproduce
vcpkg install
Failure logs
D:\sandbox\sandbox\toolchain\vcpkg\buildtrees\libsodium\build-arm64-android-dbg-err.log
D:\sandbox\sandbox\toolchain\vcpkg\buildtrees\libsodium\build-arm64-android-dbg-out.log
The text was updated successfully, but these errors were encountered: