tag | 6cc2747e68e370bcba235f8ed96b83d50aceaca1 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Oct 12 10:57:31 2018 -0700 |
object | 81788f3d99d2c5952fa9a6d673e8d6a53b76d511 |
Android NDK r18b (build 5063045)
commit | 81788f3d99d2c5952fa9a6d673e8d6a53b76d511 | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Wed May 09 15:37:24 2018 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Mon May 21 23:03:29 2018 -0700 |
tree | 3e862c668a71a00e479fc9facb6c8f54ed1848f5 | |
parent | ac6128e0a17a52f011797f33ac3e7d6273a9368d [diff] |
Delay emutls deallocation for one round With Android/Bionic, delay deallocation to round 2 of 4. It must run after C++ thread_local destructors have been called, but before the final 2 rounds, because emutls calls free, and jemalloc then needs another 2 rounds to free its thread-specific data. Bug: https://github.com/android-ndk/ndk/issues/687 Bug: b/78022094 Test: manual Test: ./run_tests.py --rebuild --filter emutls-dealloc Change-Id: I01bd634d97b7d22161b5cc8ca71b3cb94064a03e
The following process is used to build the GCC that is used by both the Android platfrom and the NDK.
Both Linux and Windows toolchains are built on Linux machines. Windows host binaries are built with mingw. Building binaries for Mac OS X should be built using 10.8 to ensure compatibility with Android's minimum supported hosts.
Check out the branch gcc
repo init -u https://android.googlesource.com/platform/manifest -b gcc # Googlers, use repo init -u \ persistent-https://android.git.corp.google.com/platform/manifest \ -b gcc
Additional Linux Dependencies (available from apt):
Mac OS X also requires Xcode.
# Additional options and toolchain names will be show with --help. $ python build.py --toolchain TOOLCHAIN_NAME
$ python build.py --system windows TOOLCHAIN_NAME