You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's my config.log starting from line 340. Any ideas?
configure:10521: checking C++ compiler aarch64-linux-android-g++ -O2 -g -pedantic -fomit-frame-pointer -Wa,--noexecstack -ffunction-sections -funwind-tables -no-canonical-prefixes -fno-strict-aliasing -fstack-protector-strong -finline-limit=300 -funswitch-loops
Test compile:
configure:10535: aarch64-linux-android-g++ -O2 -g -pedantic -fomit-frame-pointer -Wa,--noexecstack -ffunction-sections -funwind-tables -no-canonical-prefixes -fno-strict-aliasing -fstack-protector-strong -finline-limit=300 -funswitch-loops conftest.cc >&5
clang80++: warning: optimization flag '-finline-limit=300' is not supported [-Wignored-optimization-argument]
clang80++: warning: optimization flag '-funswitch-loops' is not supported [-Wignored-optimization-argument]
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find crtbegin_dynamic.o: No such file or directory
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lc++
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find crtend_android.o: No such file or directory
clang80++: error: linker command failed with exit code 1 (use -v to see invocation)
configure:10538: $? = 1
failed program was:
int main (void) { return 0; }
configure:10650: result: no
configure:10521: checking C++ compiler aarch64-linux-android-g++ -g -O2
Test compile:
configure:10535: aarch64-linux-android-g++ -g -O2 conftest.cc >&5
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find crtbegin_dynamic.o: No such file or directory
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lc++
/home/hongwu/devel/2020/Android/my-toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find crtend_android.o: No such file or directory
clang80++: error: linker command failed with exit code 1 (use -v to see invocation)
configure:10538: $? = 1
failed program was:
int main (void) { return 0; }
configure:10650: result: no
configure:10666: error: C++ compiler not available, see config.log for details
The text was updated successfully, but these errors were encountered:
Sorry its taken so long to respond. I suspect you're missing something in your development environment. I just rebuilt GMP 6.2.0 with NDK 21 and things worked fairly smoothly -- only a couple of changes to the build scripts were required.
If you're not using Ubuntu then I suggest installing a VM with 19.10. Install the meta-package build-essential and download gmp-6.2.0 in /tmp (so the unpacked GMP path is /tmp/gmp-6.2.0). Now under the Android NDK under /tmp, enter /tmp/gmp-6.2.0 and run compile-gmp-arm.sh.
Here's my config.log starting from line 340. Any ideas?
The text was updated successfully, but these errors were encountered: