-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Description
Description
While compiling a project with the gstreamer SDK:
Bug /home/al/tools/android/android-ndk/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)
Environment Details
- NDK Version: Pkg.Revision = 14.0.3770861
- Build sytem: ndk-build & ant
- Host OS: Ubuntu Linux 16.04 (ndk was installed using ubuntu-make)
- Compiler: Clang (not reproducible with GCC)
- ABI: armeabi-v7a
To reproduce:
- Install android ndk.
- Get gstreamer sdk 1.9.2 for armv7 and unpack it somewhere: https://gstreamer.freedesktop.org/data/pkg/android/1.9.2/
- Clone the test case: https://github.com/ali1234/ndk-test-case
- Edit gstbuild so the paths match your environment.
- Run gstbuild. (Watch out, if successful it will try to sideload the built apk onto any connected device).
Uncommenting the toolchain line in jni/Application.mk to switch to GCC makes the error go away.
Note that you can pretty much ignore all of my code, as the error is coming from trying to link the gstreamer sdk libraries.
Reactions are currently unavailable