GNOME Bugzilla – Bug 797042
openssl: linkage step fails on x86 architecture
Last modified: 2018-11-03 16:13:35 UTC
Linkage step fails on x86 architecture when building using CMake on Android Studio: /home/tadas/Android/Gstreamer/1.14.2/x86/lib/libssl.a /home/tadas/Android/Gstreamer/1.14.2/x86/lib/libcrypto.a -latomic -lm && : /home/tadas/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: warning: shared library text segment is not shareable /home/tadas/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: treating warnings as errors If this warning is ignored while building, Android OS fails to load library, because of this: https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23 Builds fine on armv7 architecture. The solution is that OpenSSL must be compiled with "no-asm" flag.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/17.