<div dir="ltr">Hi<div><br></div><div>I'm trying to build clean checkout of clang on VirtualBox with Xubuntu installed on it. I use the following script do do it:</div><div><div><br></div><div>#!/bin/bash</div><div>svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk">http://llvm.org/svn/llvm-project/llvm/trunk</a> llvm</div>
<div>cd llvm/tools</div><div>svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk">http://llvm.org/svn/llvm-project/cfe/trunk</a> clang</div><div>cd clang/tools</div><div>svn co <a href="http://llvm.org/svn/llvm-project/clang-tools-extra/trunk">http://llvm.org/svn/llvm-project/clang-tools-extra/trunk</a> extra</div>
<div>cd ../../../..   </div><div>cd llvm/projects</div><div>svn co <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk">http://llvm.org/svn/llvm-project/compiler-rt/trunk</a> compiler-rt</div><div>cd ../..      </div>
<div>mkdir build</div><div>cd build</div><div>../llvm/configure</div><div>make </div><div>sudo make install</div></div><div><br></div><div>I get the following error:</div><div><br></div><div>...</div><div><div>llvm[4]: Linking Debug+Asserts executable clang</div>
<div>collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped</div><div>make[4]: *** [/home/grbartos/clang/build/Debug+Asserts/bin/clang] Error 1</div><div>make[4]: Leaving directory `/home/grbartos/clang/build/tools/clang/tools/driver'</div>
<div>make[3]: *** [driver/.makeall] Error 2</div><div>make[3]: Leaving directory `/home/grbartos/clang/build/tools/clang/tools'</div><div>make[2]: *** [all] Error 1</div><div>make[2]: Leaving directory `/home/grbartos/clang/build/tools/clang'</div>
<div>make[1]: *** [clang/.makeall] Error 2</div><div>make[1]: Leaving directory `/home/grbartos/clang/build/tools'</div><div>make: *** [all] Error 1</div></div><div><br></div><div>I did it a few times before and never had such problems. Thanks for any help.</div>
<div>Grzegorz</div><div><br></div></div>