[Bug 790753] Update to Android NDK r16

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 21 04:25:58 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=790753

--- Comment #2 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
I have a branch available from https://github.com/ystreet/cerbero/commits/ndk16
that updates to NDK r16.

The NDK has moved to unified headers which means updating
sysroot/isysroot/isystem flags to follow the new directory layout.  It also
means that some functions weren't actually available until much later API
versions than we were compiling against and some things autotools doesn't quite
detect properly like mmap() usage with gcc in lower API versions.

The only really contentious issue is the broken c++ compilation with gcc in the
NDK where I couldn't find a set of CXXFLAGS that would allow gcc to find it's
own crtbegin_so.o and crtend_so.o so there is a workaround in place for all the
c++ modules to fix this.

libav still fails to link into a GStreamer app but that existed before this
branch.  NDK bug is at https://github.com/android-ndk/ndk/issues/337

This doesn't move to clang yet although that is going to be a requirement soon.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list