-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install error #1
Comments
It's possible that your machine or virtual machine doesn't have enough RAM. ld, the linker, was killed before the build finished. This could be because the system ran out of memory and killed it. |
Oh, yeah, the problem is I don't have enough RAM, Thanks a lot. |
Another question, when I use make, I get : llvm[4]: Compiling driver.cpp for Debug+Asserts build Am I installing it in a wrong way ? |
But may I ask...how could you know it was because lacking of RAM or not when you were dealing with your first issue...Actually I'm suffering almost the same situation and I'm totally a beginner. :( |
I'm guessing it is because @withzombies deals with building clang frequently. Clang takes extensive resources to build, which frequently show up as SIGSEGV errors in the various build tools. |
I use these commands:
mkdir build
cd build
cmake ..
make
and then I get this error:
[ 97%] Linking CXX executable ../../../../bin/clang
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
tools/clang/tools/driver/CMakeFiles/clang.dir/build.make:351: recipe for target 'bin/clang-3.4' failed
make[2]: *** [bin/clang-3.4] Error 1
make[2]: *** Deleting file 'bin/clang-3.4'
CMakeFiles/Makefile2:16927: recipe for target 'tools/clang/tools/driver/CMakeFiles/clang.dir/all' failed
make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Did I install it in a wrong way, or something else?
Please tell me how to install it, Thank you.
The text was updated successfully, but these errors were encountered: