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 793980 - libav: disable neon optimizations for arm/armv7 on android
libav: disable neon optimizations for arm/armv7 on android
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Windows
: Normal normal
: 1.14.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-02 07:46 UTC by Matthew Waters (ystreet00)
Modified: 2018-03-14 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
recipes/gst-libav: disable neon on arm/armv7 (1.35 KB, patch)
2018-03-02 07:47 UTC, Matthew Waters (ystreet00)
committed Details | Review

Description Matthew Waters (ystreet00) 2018-03-02 07:46:45 UTC
Apparently it's an issue in the linkers available on android and relies on a upstream binutils fix.  NDK issue is at https://github.com/android-ndk/ndk/issues/337

We can workaround it by disabling all neon optimizations which probably has a performance penalty.
Comment 1 Matthew Waters (ystreet00) 2018-03-02 07:47:57 UTC
Created attachment 369170 [details] [review]
recipes/gst-libav: disable neon on arm/armv7
Comment 2 Sebastian Dröge (slomo) 2018-03-02 07:58:01 UTC
Well, slow is probably better than not compiling? :)
Comment 3 Matthew Waters (ystreet00) 2018-03-14 12:05:48 UTC
commit 41556c415739fbc3a72c7eaee7e70a565b719b2f
Author: Matthew Waters <matthew@centricular.com>
Date:   Fri Mar 2 18:42:10 2018 +1100

    recipes/gst-libav: disable neon on arm/armv7
    
    Works around linking android apps with libav.
    
    NDK bug report: https://github.com/android-ndk/ndk/issues/337
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793980