NDK r8d / GCC 4.7 now required for building

Jim Chen nchen at mozilla.com
Mon May 19 10:37:21 PDT 2014

Hi all,

Bug 992357 landed some changes that require GCC 4.7, which is the
version used by buildbots. With an older version, you will see errors in
widget/android/NativeJSContainer.cpp when building.

GCC 4.7 was first added in NDK r8d, so you should be using at least that
version. Everything should work by default; if not, you can specify the
GCC version in your mozconfig by adding this line,

> ac_add_options --with-android-gnu-compiler-version=4.7

Let me know if you have questions. Sorry for the inconvenience.


More information about the mobile-firefox-dev mailing list