- 08 Aug, 2013 2 commits
-
-
Andrew Hsieh authored
-
Lai Wei-Chih authored
Change-Id: Ia63ab248b91906c0c3b782faf92569f6e1fd3926
-
- 07 Aug, 2013 15 commits
-
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Ray Donnelly authored
.. in build/tools/prebuilt-common.sh, --ldflags is passed without the $ in-front of HOST_LDFLAGS so that ends up as the first parameter the wrapper passes to the real ld.
-
Andrew Hsieh authored
-
Andrew Hsieh authored
Now it is possile to test llvm-libc++ in a batch each for different device, eg. ADB="adb -s emulator-5554" \ PATH=$PATH:/t/ndk-arm/bin:/t/ndk-mips/bin:/t/ndk-x86/bin \ ./testit_android --abi=armeabi-v7a ADB="adb -s emulator-5556" \ PATH=$PATH:/t/ndk-arm/bin:/t/ndk-mips/bin:/t/ndk-x86/bin \ ./testit_android --abi=x86 ADB="adb -s emulator-5558" \ PATH=$PATH:/t/ndk-arm/bin:/t/ndk-mips/bin:/t/ndk-x86/bin \ ./testit_android --abi=mips Change-Id: I10634fc9b8b119848cfa159cfe607f87321f9dc0
-
Andrew Hsieh authored
1. Fixed to create bin/$TOOLCHAIN_PREFIX-clang[++] in addition to bin/clang[++] 2. Fixed to rebuild stlport inside /tmp/ndk-$USER 3. Adjusted gcc local patch after 4.8.1 and mclinker rebase 4. Uncomment "@echo off" in find-win-host.cmd 5. Cleanup compiler-rt subdir 6. Use wine 1.7 for 64-bit testing standalone toolchain Change-Id: I7e74c4b67c81b2f7276e466c2899037cd100d73a
-
WenHan Gu authored
Change-Id: I7e447b787870e0cb11f75fc2d8bdd2706779c179
-
Andrew Hsieh authored
Previously GCC disable --eh-frame-hdr for static executable. Android needs --eh-frame-hdr at least for X86 and MIPS which use eh frames. See 1. example: 23e3137e 2. patch for 4.8 https://android-review.googlesource.com/#/c/63181 3. backport to 4.6/4.7: https://android-review.googlesource.com/#/c/63182 Change-Id: I07e0d6a6388068c573f873e2cf2f9a687d271b13
-
Andrew Hsieh authored
-
Andrew Hsieh authored
Also add a comment about using 2.23 even for x86_64-4.7 which allow gold to be built Change-Id: Ie40b7bbefa5a4b02765fe403b72827f35add32af
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
- 06 Aug, 2013 3 commits
-
-
Pavel Chupin authored
Build is fixed now and bootstrap libraries available after: https://android-review.googlesource.com/#/c/62981 Also fix target library packaging in build-host-gcc so libgomp files copied. Change-Id: Iae275196596162a6207cf4ecb7eb5f661b61b05d Signed-off-by:
Pavel Chupin <pavel.v.chupin@intel.com>
-
Andrew Hsieh authored
Option "-Wl,--eh-frame-hdr" is needed for "-static" in Android, at least for X86 and MIPS which use eh frames. But since f43a290c1ba37bcc42bc6415c369385df2b0ace4 and e5c9f8ec5addd6100e78730fabf41b4d10151ac0 which compile crt*o from C code, the trick in the previous *_static.S file to iterate all eh frames and record ranges is gone. Note that in the upstream GCC, --eh-frame-hdr is disabled for "-static". The more bullet-proof fix is to enable --eh-frame-hdr unconditionally for Android's GCC (CL later). Change-Id: I9f14d3ea8cb540e57c144397151b0ac00946ccaf
-
Andrew Hsieh authored
-
- 05 Aug, 2013 3 commits
-
-
Andrew Hsieh authored
Previously default gcc is used to compile all sort of prebuilt libraries except for gnu-libstdc++. Adding --gcc-version= to optionally use specific gcc version. Change-Id: Ibf5b6f149544239224f9665693354cb0dcbb9cb4
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
- 03 Aug, 2013 2 commits
-
-
Andrew Hsieh authored
Some binaries in toolchains are symlink to save space. Unfortunately it's not understood by Windows' CreateProcess() and fail run-tests with WINE. Note that running this won't affect *tar.bz2 file used for packaging, and for windows package "zip" by default (ie. w/o --symlinks) compress the real file. Change-Id: I02c4a07eef3f20798b7fceed09f45c2404362511
-
Andrew Hsieh authored
Previously find-ndk-root-win-host.cmd set both env. vars: NDK_ROOT and NDK_WIN_HOST with the following compound statement endlocal && set "NDK_ROOT=%TEMP1%" && set "NDK_WIN_HOST=%TEMP2%" Unfortunately, the "cmd" in WINE appends " " to all but the last "set", causing error message reads: Can't recognize '"Z:\tmp\android-ndk-r9\prebuilt/windows-x86_64 /bin/make.exe" -f "Z:\tmp\android-ndk-r9\build/core/build-local.mk" SHELL=cmd as an internal or external command, or batch script. Rename to find-win-host.cmd and recompute NDK_ROOT in both callers Change-Id: I1c22ca905db74a09b3b99c06d70ef89b66732397
-
- 02 Aug, 2013 1 commit
-
-
Andrew Hsieh authored
GCC may generate thumb1 jumptable helper calls (eg. __gnu_thumb1_case_sqi in libgcc.a) for switch/case. The reason is for the following binaries (in armeabi only) to be independent of libgcc.a which provide __gnu_thumb1_case_* helper don't exist in compiler-rt. The library sizes increases very little. libgabi++_static.a 176286 -> 176538 +0.1% libstlport_static.a 1406346 -> 1413318 +0.5% libc++_static.a 2426814 -> 2439074 +0.5% Other ABI (armeabi-v7a, x86, and mips) aren't affected Need https://android-review.googlesource.com/#/c/62903 Change-Id: Id7234769f5340c55cdb0b3433bc0a18eb066cfe3
-
- 01 Aug, 2013 3 commits
-
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
- 31 Jul, 2013 11 commits
-
-
Andrew Hsieh authored
Change-Id: I5d6eb035cbece3f39be529eacc10f0f203c8f51d
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
See https://android-review.googlesource.com/#/c/62770 and http://gcc.gnu.org/ml/gcc/2013-07/msg00424.html Change-Id: Ibfecbfda46a9793fd2c896ed4dff040b8eaa04a8
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-