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 795243 - libav: re-enable neon optimizations for arm/armv7 on android
libav: re-enable neon optimizations for arm/armv7 on android
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-13 23:18 UTC by Rahul Chaudhry
Modified: 2018-11-03 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to ffmpeg for avoiding conditional branch to PLT in THUMB-2 (1.28 KB, patch)
2018-04-13 23:18 UTC, Rahul Chaudhry
none Details | Review

Description Rahul Chaudhry 2018-04-13 23:18:21 UTC
Created attachment 370915 [details] [review]
patch to ffmpeg for avoiding conditional branch to PLT in THUMB-2

Neon optimizations are disabled for libav (see https://bugzilla.gnome.org/show_bug.cgi?id=793980).

See https://github.com/android-ndk/ndk/issues/337 for background.

The current workaround is to disable neon during gstreamer build.

The commit to disable the optimizations is https://github.com/freedesktop/gstreamer-cerbero/commit/41556c415739fbc3a72c7eaee7e70a565b719b2f

I've sent a patch to upstream ffmpeg that should resolve the linker issue (conditional branch to PLT in THUMB-2).
The patch is here: http://ffmpeg.org/pipermail/ffmpeg-devel/2018-April/228246.html (also attached with this bug).

Once this patch makes it into the copy of ffmpeg used in gstreamer build, neon optimizations can be re-enabled.
Comment 1 Rahul Chaudhry 2018-04-20 18:53:22 UTC
The patch has been merged upstream as commit b22db4f465c9adb2cf1489e04f7b65ef6bb55b8b: https://github.com/FFmpeg/FFmpeg/commit/b22db4f465c9adb2cf1489e04f7b65ef6bb55b8b
Comment 2 GStreamer system administrator 2018-11-03 10:22:47 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/cerbero/issues/51.