"GStreamer" (GNOME Bugzilla)
2018-08-29 09:01:15 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=797042
Bug ID: 797042
Summary: openssl: linkage step fails on x86 architecture
Classification: Platform
Product: GStreamer
Version: 1.14.2
OS: Linux
Status: NEW
Severity: blocker
Priority: Normal
Component: don't know
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@interactio.io
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
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.
Bug ID: 797042
Summary: openssl: linkage step fails on x86 architecture
Classification: Platform
Product: GStreamer
Version: 1.14.2
OS: Linux
Status: NEW
Severity: blocker
Priority: Normal
Component: don't know
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@interactio.io
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.