This repository was archived by the owner on Jan 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Failed to build #2
Copy link
Copy link
Open
Labels
Description
C compiler cannot create executables
MBA-Anton:libclang-ios asmirnov$ ./llvm-ios/scripts/magic.sh
Cloning the necessary projects...
Cloning into '/Volumes/Transcend/dev/src/libclang-ios/llvm-ios/scripts/../source/llvm'...
remote: Counting objects: 16290, done.
remote: Compressing objects: 100% (15034/15034), done.
remote: Total 16290 (delta 1982), reused 12796 (delta 1130)
Receiving objects: 100% (16290/16290), 20.37 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (1982/1982), done.
Checking connectivity... done
Checking out files: 100% (15818/15818), done.
Cloning into '/Volumes/Transcend/dev/src/libclang-ios/llvm-ios/scripts/../source/llvm/tools/clang'...
remote: Counting objects: 10131, done.
remote: Compressing objects: 100% (9205/9205), done.
remote: Total 10131 (delta 524), reused 8723 (delta 281)
Receiving objects: 100% (10131/10131), 12.75 MiB | 1.44 MiB/s, done.
Resolving deltas: 100% (524/524), done.
Checking connectivity... done
Checking out files: 100% (10241/10241), done.
Cloning into '/Volumes/Transcend/dev/src/libclang-ios/llvm-ios/scripts/../source/llvm/projects/compiler-rt'...
remote: Counting objects: 1774, done.
remote: Compressing objects: 100% (1423/1423), done.
remote: Total 1774 (delta 507), reused 1211 (delta 325)
Receiving objects: 100% (1774/1774), 2.29 MiB | 754.00 KiB/s, done.
Resolving deltas: 100% (507/507), done.
Checking connectivity... done
Checking out files: 100% (1692/1692), done.
Applyig the needed patches...
patching file llvm/utils/unittest/googletest/src/gtest-death-test.cc
patching file llvm/lib/LineEditor/LineEditor.cpp
patching file llvm/unittests/Support/ProgramTest.cpp
patching file llvm/lib/Support/Unix/Program.inc
Building libclang...
/Volumes/Transcend/dev/src/libclang-ios/llvm-ios/build
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for arm-apple-darwin11-clang... clang -arch armv7 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -arch armv7 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os accepts -g... yes
checking for clang -arch armv7 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -arch armv7 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os accepts -g... yes
checking how to run the C preprocessor... clang -arch armv7 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os -E
checking whether GCC or Clang is our host compiler... clang
checking build system type... i386-apple-darwin14.5.0
checking host system type... arm-apple-darwin11
checking target system type... arm-apple-darwin11
checking type of operating system we're going to host on... Darwin
checking type of operating system we're going to target... Darwin
checking target architecture... ARM
checking for executable suffix on build platform... checking for -gcc... no
checking for gcc... gcc
blank
checking for -g++... no
checking for g++... g++
checking whether Clang is new enough... yes
checking whether Clang will select a modern C++ standard library... no
configure: error:
We detected a missing feature in the standard C++ library that was known to be
missing in libstdc++4.6 and implemented in libstdc++4.7. There are numerous
C++11 problems with 4.6's library, and we don't support GCCs or libstdc++ older
than 4.7. You will need to update your system and ensure Clang uses the newer
standard library.
If this error is incorrect or you need to force things to work, you may pass
'--disable-compiler-version-checks' to configure to bypass this test.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/Volumes/Transcend/dev/src/libclang-ios/llvm-ios/build
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for arm-apple-darwin11-clang... clang -arch arm64 -mios-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -stdlib=libc++ -Os
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.