tag | 68ba29673de88ceef4dd41350b339e491fd20f1c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu May 18 10:56:48 2017 -0700 |
object | 32c89c19b042a12b5a1bf0153299154ea5435c03 |
NDK Release 15 Beta 1 (3869609)
commit | 32c89c19b042a12b5a1bf0153299154ea5435c03 | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Sat Jan 28 11:06:17 2017 -0800 |
committer | Caroline Tice <cmtice@google.com> | Sun Jan 29 20:50:54 2017 -0800 |
tree | 63f7c3583b755ddfe5fd77bfa5f448db385fa4e5 | |
parent | c82a2517402214b5c2fd9dd32554f568c60b1eeb [diff] |
Fix GCC bug PR 46639, for kernel security The kernel security team asked us to fix this bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639 This CL does that. Note: This CL depends on https://android-review.googlesource.com/329799 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639 Test: Ran build.py for all toolchain versions; used resulting compilers to build bullhead, angler and fugu plaform images. Ran checkbuild.py. Change-Id: I1e1abf594cff56c6ed6dc228a1d084da18c11420
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