0

安卓 Ndk 9, mac

MBA-Anton:tools asmirnov$ ./download-toolchain-sources.sh /softdev/ndk9-sources
Using git clone prefix: https://android.googlesource.com/toolchain
Cloning git repository for toolchain/build
Cloning git repository for toolchain/gmp
Cloning git repository for toolchain/mpfr
Cloning git repository for toolchain/mpc
Cloning git repository for toolchain/cloog
Cloning git repository for toolchain/isl
Cloning git repository for toolchain/ppl
Cloning git repository for toolchain/expat
Cloning git repository for toolchain/binutils
Cloning git repository for toolchain/gcc
Cloning git repository for toolchain/gdb
Cloning git repository for toolchain/python
Cloning git repository for toolchain/perl
Cloning git repository for toolchain/clang
Cloning git repository for toolchain/llvm
Cloning git repository for toolchain/compiler-rt
Cloning git repository for toolchain/mclinker
Patching toolchain sources
ERROR: Could not patch sources.
4

2 回答 2

1

您可以尝试在启用调试的情况下直接运行 patch-sources.sh。运气好的话,它会给你一些线索。

bash -x patch-sources.sh \ 
/tmp/ndk-USER/android-ndk-toolchain-DATE \
/PATH/TO/YOUR/NDK/build/tools/toolchain-patches

您也可以对 download-toolchain-sources.sh 脚本执行相同操作 - 这就是我获得 patch-sources.sh 参数的方式。

您也可以将“--verbose”传递给任一脚本。

于 2013-10-30T14:59:27.087 回答
0

由谷歌在 ndk-9b 中修复,现在补丁没有问题

于 2013-11-13T09:38:58.347 回答