[Bug 759737] android: Update to clang toolchain

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 14 14:00:46 UTC 2017


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

--- Comment #6 from Nicola <lists at svrinformatica.it> ---
(In reply to Arun Raghavan from comment #5)
> We might have to do this sooner, rather than later, anyway. With NDK r13, I
> see the following linker error:
> 
> GStreamer      : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c
> GStreamer      : [LINK] => gst-build-armeabi-v7a/libgstreamer_android.so
> /home/arun/code/android/android-ndk-r13/toolchains/arm-linux-androideabi-4.9/
> prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-
> linux-androideabi/bin/ld.gold: error: conditional branch to PLT in THUMB-2
> not supported yet.
> libswresample/arm/audio_convert_neon.S:137: error: unexpected opcode while
> processing relocation R_ARM_THM_JUMP19
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> /home/arun/code/gstreamer/cerbero/build/dist/android_universal/armv7/share/
> gst-android/ndk-build//gstreamer-1.0.mk:230: recipe for target
> 'buildsharedlibrary_armeabi-v7a' failed

a workaround is to set

NDK_TOOLCHAIN_VERSION := 4.9

in Application.mk, the defaul value is clang, maybe this could be documented
until the switch to clang

-- 
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