GNOME Bugzilla – Bug 795455
android: arm64-v8a abi build failure
Last modified: 2018-04-23 07:08:14 UTC
With NDK r16b and GStreamer 1.14.0 android binaries: Error while executing process /Users/philn/dev/android/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/philn/dev/gst-build/gst-examples/playback/player/android/app/src/main/jni/Android.mk NDK_APPLICATION_MK=/Users/philn/dev/gst-build/gst-examples/playback/player/android/app/src/main/jni/Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/Users/philn/dev/gst-build/gst-examples/playback/player/android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/Users/philn/dev/gst-build/gst-examples/playback/player/android/app/build/intermediates/ndkBuild/debug/lib NDK_APPLICATION_MK=src/main/jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src/main/java GSTREAMER_ROOT_ANDROID=/Users/philn/dev/libgstreamer_android_gen/gst-android-1.14/ GSTREAMER_ASSETS_DIR=src/main/assets /Users/philn/dev/gst-build/gst-examples/playback/player/android/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/libgstplayer.so} GStreamer : [GEN] => gst-build-arm64-v8a/gstreamer_android.c GStreamer : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c GStreamer : [LINK] => gst-build-arm64-v8a/libgstreamer_android.so /Users/philn/dev/libgstreamer_android_gen/gst-android-1.14//arm64/lib/libcrypto.a(sha1-armv8.o): In function `sha1_block_data_order': /home/jan/devel/gstreamer/cerbero/build/sources/android_universal/arm64/openssl-1.1.0g/crypto/sha/sha1-armv8.s:12: multiple definition of `sha1_block_data_order' /Users/philn/dev/libgstreamer_android_gen/gst-android-1.14//arm64/lib/libgnutls.a(sha1-armv8.o):/home/jan/devel/gstreamer/cerbero/build/sources/android_universal/arm64/gnutls-3.5.18/lib/accelerated/aarch64/lib/accelerated/aarch64/elf/sha1-armv8.s.tmp.S:52: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [buildsharedlibrary_arm64-v8a] Error 1
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed in the code repository. *** This bug has been marked as a duplicate of bug 794599 ***