Age | Commit message (Collapse) | Author |
|
Fixes for mips64 and/or r6 are only backported to 2.25
Change-Id: I9f5ddb48fa880489144a7a15e04810dff9e53b90
|
|
|
|
Change-Id: I4b00361fd66e67e8e59349e5705f13b7c18463ac
|
|
|
|
|
|
APP_PROJECT_PATH is documented as an absolute path to project root
directory but it doesn't work as intended because currently ndk-build
uses NDK_PROJECT_PATH instead. NDK_PROJECT_PATH cannot be replaced with
APP_PROJECT_PATH because SDK integration (where NDK_PROJECT_PATH=null
tells ndk-build to stop searching for Android.mk because SDK always explicitly
provides it via APP_BUILD_SCRIPT) This CL simpliy sets empty NDK_PROJECT_PATH
to APP_PROJECT_PATH, and check consistency when both are set.
Change-Id: I373f333f0787ad0a5d2ceddd4f18262ab085425d
|
|
Change-Id: Iedc1f0792ab31a20f9cd1c9cb4a67aa43198acb8
|
|
Otherwise HelloComputeNDK compiled by r10c/r10d's llvm-rs-cc
(whose target-api is set to 21) may crash on device running API 19.
E/bcinfo (28302): Invalid API version: 21 is out of range ('11' - '19')
E/RenderScript(28302): Failed to translate bitcode from version: 21
E/rsC++ (28302): Internal error: Object id 0.
BUG=19093878
Also see http://stackoverflow.com/questions/28057049/targeting-pre-lollipop-devices-using-renderscript-from-ndk-c
Change-Id: I790bce551be957114a60986a9e4b9b9e9f9eeb67
|
|
To apply to both C and C++ code
Needed by https://android-review.googlesource.com/#/c/123330
Change-Id: Ieb61c28d3bc9dbea4ffb90b37d97235715ccd5a8
|
|
Change-Id: I994283f8182a0162f9a02be6a9087735ec8195ff
|
|
Change-Id: I49c03b691eadfbcf4bc98865ac2077964c259c1f
|
|
The 32-bit r6 should really be named as mips32r6
Note that r6 is the default for mips64
See comment in https://android-review.googlesource.com/#/c/116410/3/core/binary.mk
for details
Change-Id: I2bd095d226413ae9f91f054c43f3c35a9ebaeea2
|
|
Fix build broken for abcc and use gcc-4.9 to
compile 32bit/64bit device toolchains.
Change-Id: If0a1054a6379a86e01659af0f539fb45b6a36330
|
|
|
|
|
|
prebuilt/*/bin/sed* aren't used, not even in user-facing scripts
like ndk-gdb and build/awk/gen-cygwin-deps-converter.awk
BUG=18590813
Change-Id: I2f05d3152c5e12f69e677547a25b050c9c6b57e1
|
|
Change-Id: I7ca87f29bd18e129c37a6b26d1d1482798866ccf
|
|
Change-Id: I840e7a2183e956e27e5dd93357ef2a2dd49fd40b
|
|
Outputs of commands wrapped in run() can be suppressed if no --verbose
is specified nor environment variable NDK_LOGFILE, including
error messages caused by disk full.
Run() is perfect in tracking toolchain build, but not for user-facing
script like make-standalone-toolchain.sh
BUG=18597324
Change-Id: I33d3a1496f44c768d2cc211ec4b18246d037bfbb
|
|
This way we will not need any local patches for ifuncs when
pulling gcc-5.x.
Change-Id: I98bed3a405c8e72e734285e170801c05c42fc416
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
Use GCC 4.8 (Current default) instead of the first GCC 4.6 which is
deprecated. The only downside observed so far is inconsistent DIV Tag
between A15 (via -mcpu=cortex-a15) object by GCC4.6/binutils-2.21
and crt*.o by GCC4.8/binutils-2.24.
Change-Id: Ibc9db06a4bd8b1ae1d8a7d3846eb8c28c47ff4e7
|
|
Change-Id: Id8d211ae7ca41276ad0a3fbd0fd31097c0d6f7e3
|
|
1. corrected path of 2 files filtered out
2. Since now pattern contain two '/', fix filter_out to replace all '/'
with '\/', not just the first
Change-Id: I52d132074cce53ff1dc8289705ab56599e8118b5
|
|
Change-Id: If1523598f790f48d4352980bcbde71ccbe696748
|
|
Turn off integrated-as by default for clang >= 3.5 due to ill-formed object it
produces involving inline-assembly .pushsection/.popsection which crashes ld.gold
Unless clang3.5 or above is used to compile compiler-rt
BUG=18589643
Change-Id: I1fb62337dbbb11b458c633821bb615babddce26e
|
|
This is internal-only ABI for -mips32r6 enough to generate
mips32r6 STL libraries in prebuilts/ndk. "mips" (r1) remains the
only supported 32-bit ABI for MIPS
Change-Id: I2ede51fccd57680d1405749da80ad837e2816795
|
|
Change-Id: Ib7939450525986360cb45dc61afba592f2a748e1
|
|
Change-Id: Ia4a92eaa529a1bd9e58b07b097a9ab2f5e74c360
|
|
This won't break correctness.
Change-Id: Ie7c9c4707aa73f2da2f59f8ad0c695e4d05aad67
|
|
Change-Id: Idf06ce5685bb3e14a5b532ade1d2d9026731fa2e
|
|
Change-Id: Ic93b532a3a20266f7fa94233b829072dedcfa969
|
|
1. Remove hack for server where android-13,15,17 were missing
2. Remove --disable-libquadmath
3. Fixed build-gnu-libstdc++.sh thumb build where
"-ffunction-sections -fdata-sections" were dropped
4. Fixed llvm clang3.5/windows build where mingw-64 complains about -fPIC
5. Fixed bashism in make-standalone-toolchain.sh
6. Fixed "package-release.sh --separate-64"
7. Relaxed patch-sources.sh against non-existance patch directory
8. Refresh build/tools/toolchain-patches/gcc/0010-Fix-PR-target-63209.patch
9. Fixed warning about unused vars in cpu-features.c
10. Fixed sources/android/support/Android.mk about -fvisibility-inlines-hidden
is only foo C++
11. Fixed tests/build/check-armeabi-v7a-prebuilts/build.sh on MacOSX 10.6.8
12. Fixed tests/build/issue64679-prctl/build.sh to include GLES2/gl2ext.h
which can be compiled alone now
13. Excluded tests/device/b8708181-Vector4/jni/Vector4.cpp from clang3.4
14. Removed some comments in tests/device/test-libc++-*-full/jni/Android.mk
15. misc run-test.sh fixes
16. Disable integrated-as for clang in tests/build/issue79115-confusing-ld.gold-warning
Change-Id: I0afb2c00642dd61d81fd4842532d1b3c4029655b
|
|
The function actually perform larger-or-equal
Also remove unused bh_version_is_greater_than() and dependencies
Change-Id: I0dbb966acef8e72bd8fd9cffb1fb291e3331ba41
|
|
Move to a new function dereference_symlink
Change-Id: Id775d345639ecdf79ea5d3db07d1b3012fb26068
|
|
Cherry-pick from https://code.google.com/p/android/issues/detail?id=25412#c19
by darkcube
See b.android.com/77575
Change-Id: I6f0a324ec6dd5f70b6f2e8114f08014ba056e676
|
|
Add get_first_gcc_version_for_arch and set to GCC 4.6 for 32-bit ABIs
while it's still around (deprecated but will be removed in 1-2 release)
Change-Id: I035c3b46ffb6c5aacf92893b920623acbae1719c
|
|
|
|
The XCode 'ar' tool doesn't support the 'D' flag, which is
specific to GNU binutils (and used to generate 'deterministic'
archives which are nice-to-have but not mandatory).
Change-Id: I8f2879df4ba91a1554383bd89bf2af06bddea09e
|
|
|
|
Fix regression from
"Handle gcc version specification for libstdc++ build".
Erroneously skipped compiler versions matching the default.
Change-Id: If2cfdb9d0c7cf5a2de9530a7288a4795fe809b47
|
|
|
|
|
|
build"
|
|
|
|
|
|
Although the built ndk might not run on the host,
this will allow us to test compilation of ndk on more machines.
Change-Id: I8490a0597c0f9da185f036c9b422617fd4037407
|
|
|
|
In NDK r9d, make-standalone-toolchain.sh ran correctly with /bin/dash.
In r10, a new "here string" was introduced, and it produces the following
error:
$ dash /opt/android-ndk-r10/build/tools/make-standalone-toolchain.sh --platform=android-14 --arch=arm --install-dir=arm/toolchain
WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.
Auto-config: --toolchain=arm-linux-androideabi-4.6
Copying prebuilt binaries...
Copying sysroot headers and libraries...
Copying c++ runtime headers and libraries...
/opt/android-ndk-r10/build/tools/make-standalone-toolchain.sh: 701: /opt/android-ndk-r10/build/tools/make-standalone-toolchain.sh: Syntax error: redirection unexpected
See b.android.com/74145
Change-Id: Iea77c716b3efd9425a2a6ca77160e8d66571f992
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
|
|
After aosp/toolchain/gcc ba21122c63b06a70b620c8990c517b87198ad05b and
39dbe572beead93798002c03b4897afaf018cd04 which break it
Change-Id: I9f66dd7ae29414e5a4f25019223dac648da05875
|
|
Previously make-standalone-toolchain.sh default to "--arch arm" if one
of the conditions is met
1. --arch XYZ where XYZ isn't known supported arch
2. --toolchain=XYZ points to unknown toolchain
Fixed to abort with supported archs printed, instead of assuming it's arm.
Otherwise easy mistake like "--arch aarch64 --toolchain=aarch64-linux-android-4.9"
may copy arm's headers/libs and create a broken arm64 standalone toolchain
See b.android.com/74377
Change-Id: Ieeddd5696884703a6df3714a3ff54590be80d30f
|