From 1c20cfa2f3c8cef98f29715eb14f3e9613dcdaea Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Tue, 11 Dec 2012 13:25:20 -0800 Subject: docs: NDK r8d Release Notes Change-Id: I93aba7b95b2e6a69a7cd3aca605470d568f1ecd1 --- docs/html/tools/sdk/ndk/index.jd | 183 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 173 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/html/tools/sdk/ndk/index.jd b/docs/html/tools/sdk/ndk/index.jd index ad4fd7c..f3c9a44 100644 --- a/docs/html/tools/sdk/ndk/index.jd +++ b/docs/html/tools/sdk/ndk/index.jd @@ -1,19 +1,18 @@ ndk=true -ndk.win_download=android-ndk-r8c-windows.zip -ndk.win_bytes=233787657 -ndk.win_checksum=3ff1570fa4ea865b7702507ea43dbae4 +ndk.win_download=android-ndk-r8d-windows.zip +ndk.win_bytes=327014028 +ndk.win_checksum=d78ec3d4ec15ad3b18b9f488a5763c23 -ndk.mac_download=android-ndk-r8c-darwin-x86.tar.bz2 -ndk.mac_bytes=214270840 -ndk.mac_checksum=74a23e9e058512121835e0d6932e72d5 +ndk.mac_download=android-ndk-r8d-darwin-x86.tar.bz2 +ndk.mac_bytes=308328942 +ndk.mac_checksum=5cd9ef9fb7e03943ee8c9e147e42e571 -ndk.linux_download=android-ndk-r8c-linux-x86.tar.bz2 -ndk.linux_bytes=179945337 -ndk.linux_checksum=b0851346ff90c9266bc050016a228319 +ndk.linux_download=android-ndk-r8d-linux-x86.tar.bz2 +ndk.linux_bytes=254644383 +ndk.linux_checksum=e1fa0379a3feb59f2f0865f1a90bd382 page.title=Android NDK - @jd:body @@ -250,6 +249,170 @@ the NDK, as denoted by revision number.

Android NDK, Revision 8d (December 2012) +

+ +
+
+
Important changes:
+
+
    +
  • Added the GNU Compiler Collection (GCC) 4.7 compiler to the NDK. The GCC 4.6 compiler + is still the default, so you must to explicitly enable the new version as follows: +
      +
    • For {@code ndk-build}, export the {@code NDK_TOOLCHAIN_VERSION=4.7} variable + or add it to {@code Application.mk}.
    • +
    • For standalone builds, add the {@code --toolchain=} option to + {@code make-standalone-toolchain.sh}, for example: +
      --toolchain=arm-linux-androideabi-4.7
    • +
    +

    + Note: This feature is experimental. Please try it and + report any issues.

    +
  • +
  • Added {@code stlport} exception support via gabi++. Note that the new gabi++ + depends on {@code dlopen} and related code, meaning that: +
      +
    • You can no longer build a static executable using the {@code -static} + option or include {@code libstlport_static.a} using + {@code APP_STL := stlport_static}. (You can still use the {@code -static} option + with a standalone toolchain.) Compiling a dynamic executable using + {@code include $(BUILD_EXECUTABLE)} continues to work because the compiler + automatically adds the {@code -ldl} option.
    • +
    • If your project links using {@code -nostdlib} and {-Wl,--no-undefined}, you + must manually include the {@code -ldl} option.
    • +
    + For more information, see {@code CPLUSPLUS-SUPPORT.html}. + +

    + Note: This feature is experimental and works better with the GCC + 4.6/4.7 compilers than with GCC 4.4.3 or Clang 3.1. Please try it and + report any issues.

    +
  • +
  • Added a {@code -mstack-protector-guard=} option for x86 to choose between a + global default path which is compatible with older Android C library (bionic) + and a new tls path (%gs:20) for {@code -fstack-protector}, + {@code -fstack-protector-all} and {@code -fstack-protector-strong} using the GCC 4.6 + and higher compilers. + +

    + Note: The {@code -mstack-protector-guard} setting itself does not + enable any {@code -fstack-protector*} options.

    +
  • +
  • Added {@code android_setCpu()} function to + {@code sources/android/cpufeatures/cpu-features.c} for use when auto-detection via + {@code /proc} is not possible in Android 4.1 and higher. + (Chromium Issue + 164154)
  • +
+
+ +
Important bug fixes:
+
+
    +
  • Fixed unnecessary rebuild of object files when using the {@code ndk-build} script. + (Issue 39810)
  • +
  • Fixed a linker failure with the NDK 8c release for Mac OS X 10.6.x that produced the + following error: +
    +dyld: lazy symbol binding failed: Symbol not found: _memmem
    +Referenced from: ...../arm-linux-androideabi/bin/ld
    +Expected in: /usr/lib/libSystem.B.dylib
    + This problem was caused by building on Mac OS X 10.7, which produced binaries that were + not compatible with Mac OS 10.6.x and the NDK. +
  • +
  • Removed the {@code -x c++} options from the Clang++ standalone build script. + (Issue 39089)
  • +
  • Fixed issues using the {@code NDK_TOOLCHAIN_VERSION=clang3.1} option in Cygwin. + (Issue 39585)
  • +
  • Fixed the {@code make-standalone-toolchain.sh} script to allow generation of a + standalone toolchain using the Cygwin or MinGW environments. The resulting toolchain + can be used in Cygwin, MingGW or CMD.exe environments. + (Issue 39915, + Issue 39585)
  • +
  • Added missing {@code SL_IID_ANDROIDBUFFERQUEUESOURCE} option in android-14 builds for + ARM and X86. + (Issue 40625)
  • +
  • Fixed x86 CPU detection for the {@code ANDROID_CPU_X86_FEATURE_MOVBE} feature. + (Issue 39317)
  • +
  • Fixed an issue preventing the Standard Template Library (STL) from using C++ + sources that do not have a {@code .cpp} file extension.
  • +
  • Fixed GCC 4.6 ARM internal compiler error at reload1.c:1061. + (Issue 20862)
  • +
  • Fixed GCC 4.4.3 ARM internal compiler error at emit-rtl.c:1954. + (Issue 22336)
  • +
  • Fixed GCC 4.4.3 ARM internal compiler error at postreload.c:396. + (Issue 22345)
  • +
  • Fixed problem with GCC 4.6/4.7 skipping lambda functions. + (Issue 35933)
  • +
+
+ +
Other bug fixes:
+
+
    +
  • NDK header file fixes: +
      +
    • Fixed {@code __WINT_TYPE__} and {@code wint_t} to be the same type.
    • +
    • Corrected typo in {@code android/bitmap.h}. + (Issue 15134) +
    • +
    • Corrected typo in {@code errno.h}.
    • +
    • Added check for the presence of {@code __STDC_VERSION__} in {@code sys/cdefs.h}. + (Issue 14627) +
    • +
    • Reorganized headers in {@code byteswap.h} and {@code dirent.h}.
    • +
    • Fixed {@code limits.h} to include {@code page.h} which provides {@code PAGE_SIZE} + settings. + (Issue 39983) +
    • +
    • Fixed return type of {@code glGetAttribLocation()} and + {@code glGetUniformLocation()} from {@code int} to {@code GLint}.
    • +
    • Fixed {@code __BYTE_ORDER} constant for x86 builds. + (Issue 39824) +
    • +
    +
  • +
  • Fixed {@code ndk-build} script to not overwrite {@code -Os} with {@code -O2} for ARM + builds.
  • +
  • Fixed build scripts to allow overwriting of {@code HOST_AWK}, {@code HOST_SED}, and + {@code HOST_MAKE} settings.
  • +
  • Fixed issue for {@code ld.gold} on {@code fsck_msdos} builds linking objects built by + the Intel C/C++ compiler (ICC).
  • +
  • Fixed ARM EHABI support in Clang to conform to specifications.
  • +
  • Fixed GNU Debugger (GDB) to shorten the time spent on walking the target's link map + during {@code solib} events. + (Issue 38402)
  • +
  • Fixed missing {@code libgcc.a} file when linking shared libraries.
  • +
+
+ +
Other changes:
+
+
    +
  • Backported 64-bit built-in atomic functions for ARM to GCC 4.6.
  • +
  • Added documentation for audio output latency, along with other documentation and + fixes.
  • +
  • Fixed debug builds with Clang so that non-void functions now raise a {@code SIGILL} + signal for paths without a return statement.
  • +
  • Updated {@code make-standalone-toolchain.sh} to accept the suffix {@code -clang3.1} + which is equivalent to adding {@code --llvm-version=3.1} to the GCC 4.6 toolchain.
  • +
  • Updated GCC and Clang bug report URL to: + http://source.android.com/source/report-bugs.html
  • +
  • Added ARM ELF support to {@code llvm-objdump}.
  • +
  • Suppressed treating c input as c++ warning for Clang builds.
  • +
  • Updated build so that only the 32-bit version of {@code libiberty.a} is built and + placed in {@code lib32/}.
  • +
+
+
+
+
+ + +
+

+ Android NDK, Revision 8c (November 2012)

-- cgit v1.1