[cfe-dev] Segementation fault when linking clang
Grzegorz Bartoszek
grze.bartoszek at gmail.com
Wed Feb 19 23:18:50 PST 2014
Hi
I'm trying to build clean checkout of clang on VirtualBox with Xubuntu
installed on it. I use the following script do do it:
#!/bin/bash
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
cd clang/tools
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
cd ../../../..
cd llvm/projects
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
cd ../..
mkdir build
cd build
../llvm/configure
make
sudo make install
I get the following error:
...
llvm[4]: Linking Debug+Asserts executable clang
collect2: error: ld terminated with signal 11 [Segmentation fault], core
dumped
make[4]: *** [/home/grbartos/clang/build/Debug+Asserts/bin/clang] Error 1
make[4]: Leaving directory
`/home/grbartos/clang/build/tools/clang/tools/driver'
make[3]: *** [driver/.makeall] Error 2
make[3]: Leaving directory `/home/grbartos/clang/build/tools/clang/tools'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/grbartos/clang/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/grbartos/clang/build/tools'
make: *** [all] Error 1
I did it a few times before and never had such problems. Thanks for any
help.
Grzegorz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140220/c708da4b/attachment.html>
More information about the cfe-dev
mailing list