[cfe-users] Trouble building clang trunk from source

Nathan Ridge zeratul976 at hotmail.com
Tue Jun 18 13:26:47 PDT 2013


Hi,
 
I'm trying to build clang from source using the instructions
found here [1], but I'm getting the following error:
 
make[3]: Entering directory `/home/nr/llvm-build/tools/clang/runtime'
make[4]: Entering directory `/home/nr/llvm-build/tools/clang/runtime/compiler-rt'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'eprintf'
warning: clang_darwin.mk: dropping arch 'i386' from lib '10.4'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib '10.4'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'ios'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'osx'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'osx'
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext_ios5'
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext_ios5'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_osx'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_osx'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'profile_ios'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'asan_osx_dynamic'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'asan_osx_dynamic'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ubsan_osx'
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ubsan_osx'
make[5]: Entering directory `/home/nr/llvm/projects/compiler-rt'
make[5]: Nothing to be done for `clang_linux'.
make[5]: Leaving directory `/home/nr/llvm/projects/compiler-rt'
llvm[4]: Copying runtime library linux/full-x86_64 to build dir
cp: cannot stat `/home/nr/llvm-build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/libcompiler_rt.a': No such file or directory
make[4]: *** [/home/nr/llvm-build/Release+Asserts/lib/clang/3.4/lib/linux/libclang_rt.full-x86_64.a] Error 1
rm /home/nr/llvm-build/Release+Asserts/lib/clang/3.4/lib/linux/.dir
make[4]: Leaving directory `/home/nr/llvm-build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/home/nr/llvm-build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/nr/llvm-build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/nr/llvm-build/tools'
make: *** [all] Error 1
 
Any ideas as to what is going wrong?
 
Thanks,
Nate
 
[1] http://clang.llvm.org/get_started.html 		 	   		  



More information about the cfe-users mailing list