Could not build gabi++ , -mthumb : bad variable name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Could not build gabi++ , -mthumb : bad variable name

I download ndk source tree by git last week. When  I use script "" to rebuild ndk, some error happen at build gabi++. 

My command :
 $NDK/build/tools/ --verbose --systems=linux-x86 ~/tmp/

The error message is below:
Building armeabi,armeabi-v7a,x86,mips gabi++ binaries...
## COMMAND: /home/kevin/Lab/gitNDK/ndk/build/tools/ --verbose --package-dir="/tmp/ndk-kevin/prebuilt-20121130" -j8 --ndk-dir="/home/kevin/Lab/gitNDK/ndk" --abis=armeabi,armeabi-v7a,x86,mips
Creating temporary build Makefile: /tmp/ndk-kevin/tmp/build-32640/build-gabi++/Makefile
/home/kevin/Lab/gitNDK/ndk/build/tools/ 90: local: -mthumb: bad variable name
ERROR: Could not build gabi++!
ERROR: Could not build target prebuilts!

I don't know how to solve it. I have been try to upgrade my tools (like gcc, gawk, make, binutils, gcc-arm-linux-gnueabi...).
But I still can't pass this script. (I can pass it by remove all builder_cflags parameter in But it is a wrong way.)

Please help me to solve this problem, I have been fix it for a week...)
Thank you very much.

Kevin Fnag

You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at