From 51501634c7d530d691f4345990a2434a00603ba2 Mon Sep 17 00:00:00 2001 From: David Friedman Date: Tue, 26 Nov 2013 14:32:22 -0800 Subject: [PATCH] NDK release notes for r9c for review Staged at http://boku.mtv.corp.google.co:9196/tools/sdk/ndk/index.html Change-Id: Id058d39e10ce64fff2def3dea746ac5e11eff2b4 --- docs/html/tools/sdk/ndk/index.jd | 143 ++++++++++++++++++++++++++------------- 1 file changed, 95 insertions(+), 48 deletions(-) diff --git a/docs/html/tools/sdk/ndk/index.jd b/docs/html/tools/sdk/ndk/index.jd index 87f8a871f12a..4e50d9833d3a 100644 --- a/docs/html/tools/sdk/ndk/index.jd +++ b/docs/html/tools/sdk/ndk/index.jd @@ -1,58 +1,34 @@ ndk=true page.template=sdk -ndk.mac64.legacy_download=android-ndk-r9b-darwin-x86_64-legacy-toolchains.tar.bz2 -ndk.mac64.legacy_bytes=122378495 -ndk.mac64.legacy_checksum=19c696a5b690b040409c68b21e9fcf46 -ndk.mac64_download=android-ndk-r9b-darwin-x86_64.tar.bz2 -ndk.mac64_bytes=354748937 -ndk.mac64_checksum=710d80b6ff807f03e585f9aacee3bf09 +ndk.mac64_download=android-ndk-r9c-darwin-x86_64.tar.bz2 +ndk.mac64_bytes=358350393 +ndk.mac64_checksum=154bc0248671b8609037218d3faa47f5 +ndk.mac32_download=android-ndk-r9c-darwin-x86.tar.bz2 +ndk.mac32_bytes=352900444 +ndk.mac32_checksum=0ba391eb12d4eed6bd7dbff5d8804e0f -ndk.mac32.legacy_download=android-ndk-r9b-darwin-x86-legacy-toolchains.tar.bz2 -ndk.mac32.legacy_bytes=119394536 -ndk.mac32.legacy_checksum=be0a07bcea3695f7d93cbd1b880d3f75 +ndk.linux64_download=android-ndk-r9c-linux-x86_64.tar.bz2 +ndk.linux64_bytes=371254928 +ndk.linux64_checksum=e9c3fd9881c811753bb57f701b3e05b1 -ndk.mac32_download=android-ndk-r9b-darwin-x86.tar.bz2 -ndk.mac32_bytes=349307548 -ndk.mac32_checksum=b5fa7aa3b9fca5a5b0c46bdd970d284b +ndk.linux32_download=android-ndk-r9c-linux-x86.tar.bz2 +ndk.linux32_bytes=365412557 +ndk.linux32_checksum=93d2aa9a40501b568037642cdb174643 +ndk.win64_download=android-ndk-r9c-windows-x86_64.zip +ndk.win64_bytes=483804820 +ndk.win64_checksum=9e84d0d59ce7d4a24370b619fb8799e4 -ndk.linux64.legacy_download=android-ndk-r9b-linux-x86_64-legacy-toolchains.tar.bz2 -ndk.linux64.legacy_bytes=127742633 -ndk.linux64.legacy_checksum=f41017d5888a8dc210d1703dcdf1def7 +ndk.win32_download=android-ndk-r9c-windows-x86.zip +ndk.win32_bytes=460676475 +ndk.win32_checksum=863b5ab371b63c3e9bf0d39e47903763 -ndk.linux64_download=android-ndk-r9b-linux-x86_64.tar.bz2 -ndk.linux64_bytes=366988131 -ndk.linux64_checksum=56c0999a2683d6711591843217f943e0 - - -ndk.linux32.legacy_download=android-ndk-r9b-linux-x86-legacy-toolchains.tar.bz2 -ndk.linux32.legacy_bytes=125676842 -ndk.linux32.legacy_checksum=bfc7a1e6baf856b4348d57abffc761d2 - -ndk.linux32_download=android-ndk-r9b-linux-x86.tar.bz2 -ndk.linux32_bytes=361394055 -ndk.linux32_checksum=d7f783deaeea6b60cb515d9427c01c2e - - -ndk.win64.legacy_download=android-ndk-r9b-windows-x86_64-legacy-toolchains.zip -ndk.win64.legacy_bytes=166961852 -ndk.win64.legacy_checksum=6eee9459986e8b7f1032d62831dd775b - -ndk.win64_download=android-ndk-r9b-windows-x86_64.zip -ndk.win64_bytes=479012553 -ndk.win64_checksum=1ba6be7ebf4e9272d77031dd70f81e94 - - -ndk.win32.legacy_download=android-ndk-r9b-windows-x86-legacy-toolchains.zip -ndk.win32.legacy_bytes=152568224 -ndk.win32.legacy_checksum=00c8373b53ad9475f1bab1de4219b877 - -ndk.win32_download=android-ndk-r9b-windows-x86.zip -ndk.win32_bytes=455928388 -ndk.win32_checksum=cfb9402ea08a1554186e85ed28cb4593 +ndk.debug_info_download=android-ndk-r9c-cxx-stl-libs-with-debugging-info.zip +ndk.debug_info_bytes=100364569 +ndk.debug_info_checksum=37911716e1fd2fe3abb8a410750d73e6 page.title=Android NDK @@ -288,16 +264,87 @@ $('#Downloads').after($('#download-table')); contains legacy NDK toolchains for that platform, which is only required if you are not using the current, recommended toolchain for your NDK builds.

- -

Revisions

The following sections provide information about releases of the NDK.

+

+ Android NDK, Revision 9c (December 2013) +

+
+

This is a bug-fix-only release.

+
+
Important bug fixes:
+
+
    +
  • Fixed a problem with GCC 4.8 ARM, in which the stack pointer is restored too early. This problem prevented the frame pointer from reliably accessing a variable in the stack frame. For more information, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854.
  • +
  • - Fixed a problem with GCC 4.8 libstdc++, in which a bug in std::nth_element was causing generation of code that produced a random segfault. For more information, see https://code.google.com/p/android/issues/detail?id=62910.
  • +
  • Fixed GCC 4.8 ICE in cc1/cc1plus with -fuse-ld=mcld, so that the following error no longer occurs: +
    cc1: internal compiler error: in common_handle_option, at opts.c:1774
  • +
  • Fixed -mhard-float support for __builtin math functions. For ongoing information on fixes for -mhard-float with STL, please follow http://b.android.com/61784.
  • +
+
+ +
Other bug fixes:
+
+
    +
  • Header fixes: +
      +
    • Changed prototype of poll to poll(struct pollfd *, nfds_t, int); in poll.h.
    • +
    • Added utimensat to libc.so in API levels 12 and 19. It is now present in levels 12-19.
    • +
    • Introduced futimens into libc.so, as of API level 19.
    • +
    • Added missing clock_settime() and clock_nanosleep() to time.h for API 8 and higher.
    • +
    • Added CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_COARSE, CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, and CLOCK_BOOTTIME_ALARM in time.h.
    • +
    • Removed obsolete CLOCK_REALTIME_HR and CLOCK_MONOTONIC_HR.
    • +
    +
  • +
  • Refactored samples Teapot, MoreTeapots, and source/android/ndk_helper as follows: +
      +
    • They now use a hard-float abi for armeabi-v7a.
    • +
    • Android-19 now has immersive mode.
    • +
    • Fixed a problem with Check_ReleaseStringUTFChars in /system/lib/libdvm.so that was causing crashes on x86 devices.
    • +
    +
  • +
  • Fixed ndk-build fails that happen in cygwin when the NDK package is referenced via symlink.
  • +
  • Fixed ndk-build.cmd fails that happen in windows cmd.exe when LOCAL_SRC_FILES contains absolute paths. See https://android-review.googlesource.com/#/c/69992.
  • +
  • Fixed ndk-stack to proceed even when it can't parse a frame due to inability to find a routine, filename, or line number. In any of those cases, it prints "??".
  • +
  • Fixed ndk-stack windows-x64_64 so that it no longer erroneously matches a frame line with a line in the stack: + section that doesn't contain pc, eip, or ip. For example: +
    I/DEBUG   ( 1151):     #00  5f09db68  401f01c4  /system/lib/libc.so
  • +
  • Fixed gabi++ so that it: +
      +
    • Does not use malloc() to allocate C++ thread-local + objects.
    • +
    • Avoids deadlocks in gabi++ in cases where libc.debug.malloc is non-zero in + userdebug/eng Android platform builds.
    • +
    +
+
+ +
Other changes:
+
+
    +
  • Added LOCAL_EXPORT_LDFLAGS.
  • +
  • Introduced the NDK_PROJECT_PATH=null setting for use in an integrated build system where options are explicitly passed to ndk-build. With this setting, ndk-build makes no attempt to look for NDK_PROJECT_PATH. This setting also prevents variables from deriving default settings from NDK_PROJECT_PATH. As a result, the following variables must now be explicitly specified (with their default values if such exist): NDK_OUT, NDK_LIBS_OUT, APP_BUILD_SCRIPT, NDK_DEBUG (optional, default to 0), and other APP_*'s contained in Application.mk.
  • +
  • APP_ABI can now be enumerated in a comma-delimited list. For example: +
    APP_ABI := "armeabi,armeabi-v7a"
  • +
  • Provided the ability (option -g) to rebuild all of STL with debugging info in an optional, separate package called android-ndk-r9c-cxx-stl-libs-with-debugging-info.zip. This option helps ndk-stack to provide better a stack dump across STL. This change should not affect the code/size of the final, stripped file.
  • +
  • Enhanced hello-jni samples to report APP_ABI at compilation.
  • +
  • Used the ar tool in Deterministic mode (option -D) to build static libraries. For more information, see http://b.android.com/60705.
  • +
+
+ +
+
+
+ +

Android NDK, Revision 9b (October 2013)

-- 2.11.0