After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 797042 - openssl: linkage step fails on x86 architecture
openssl: linkage step fails on x86 architecture
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.14.2
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-08-29 09:01 UTC by Tadas
Modified: 2018-11-03 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tadas 2018-08-29 09:01:15 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.
Comment 1 GStreamer system administrator 2018-11-03 16:13:35 UTC
-- 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.