[ 73%] Regenerating /Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt.tmp [ 73%] Updating /Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt if necessary... [ 73%] Checking for cyclic dependencies between LLVM libraries. find-cycles.pl: Circular dependency between *.a files: find-cycles.pl: libLLVMAsmPrinter.a libLLVMXCoreAsmPrinter.a find-cycles.pl: Circular dependency between *.a files: find-cycles.pl: libLLVMSupport.a libLLVMSystem.a make[2]: *** [tools/llvm-config/FinalLibDeps.txt] Error 2 make[1]: *** [tools/llvm-config/CMakeFiles/llvm-config.target.dir/all] Error 2 make: *** [all] Error 2 That is the error I get when building with make -j2 on my Mac Mini. (It is a Core 2 Duo with 2 GB of RAM.) I have been able to build LLVM with XCode projects created with CMake 2.8-3 before but when building Clang also, the build scripts take up too much RAM. (About 2.6 GB virtual memory not counting the usage by GCC to execute the build.) I thought I'd try building with Make instead to alleviate some memory problems. Is there something wrong with the bundled version of PERL that comes with MacOSX 10.6.6? Will building from the configure script fix matters at all? Thanks for answering my questions, --Sam Crow
Óscar Fuentes
2011-Jan-13 22:49 UTC
[LLVMdev] Circular Deps from CMake build using makefile
Samuel Crow <samuraileumas at yahoo.com> writes:> [ 73%] Regenerating > /Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt.tmp > > [ 73%] Updating > /Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt > if necessary... > [ 73%] Checking for cyclic dependencies between LLVM libraries. > find-cycles.pl: Circular dependency between *.a files: > find-cycles.pl: libLLVMAsmPrinter.a libLLVMXCoreAsmPrinter.aHmmm...> find-cycles.pl: Circular dependency between *.a files: > find-cycles.pl: libLLVMSupport.a libLLVMSystem.aThis one is very odd.> make[2]: *** [tools/llvm-config/FinalLibDeps.txt] Error 2 > make[1]: *** [tools/llvm-config/CMakeFiles/llvm-config.target.dir/all] Error 2 > make: *** [all] Error 2 > > That is the error I get when building with make -j2 on my Mac Mini. (It is a > Core 2 Duo with 2 GB of RAM.)Cannot reproduce on Linux. Please try this: make clean make -j2 If that fails, make clean make> I have been able to build LLVM with XCode projects created with CMake 2.8-3 > before but when building Clang also, the build scripts take up too much RAM. > (About 2.6 GB virtual memory not counting the usage by GCC to execute the > build.) I thought I'd try building with Make instead to alleviate some memory > problems. Is there something wrong with the bundled version of PERL that comes > with MacOSX 10.6.6? Will building from the configure script fix matters at all?If the above fails, it would be helpful to know if configure&&make works (on a new build directory).
Hello Óscar, The single-threaded build failed the same place as the double threaded build failed which is the same place I just indicated in my previous post. The ../llvm/configure script version failed with OCaml building with about 600 assembler errors since I built it in AMD64 mode. (Oops.) Should I disable OCaml from the configure script and try again? Assembler error, input left in file /var/folders/5x/5xY2twDzGEKM1pioemi4uE+++TM/-Tmp-/camlasma657d2.s make[3]: *** [/Users/samuraicrow/Documents/workspace/trunk-build2/bindings/ocaml/llvm/Debug+Asserts/llvm.cmx] Error 2 make[2]: *** [all] Error 1 make[1]: *** [ocaml/.makeall] Error 2 Thanks for helping, --Sam ----- Original Message ----> From: Óscar Fuentes <ofv at wanadoo.es> > To: Samuel Crow <samuraileumas at yahoo.com> > Cc: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> > Sent: Thu, January 13, 2011 4:49:56 PM > Subject: Re: Circular Deps from CMake build using makefile > > Samuel Crow <samuraileumas at yahoo.com> writes: > > > [ 73%] Regenerating > > >/Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt.tmp > > > > > [ 73%] Updating > > >/Users/samuraicrow/Documents/workspace/llvm-trunk-build/tools/llvm-config/LibDeps.txt > > > if necessary... > > [ 73%] Checking for cyclic dependencies between LLVM libraries. > > find-cycles.pl: Circular dependency between *.a files: > > find-cycles.pl: libLLVMAsmPrinter.a libLLVMXCoreAsmPrinter.a > > Hmmm... > > > find-cycles.pl: Circular dependency between *.a files: > > find-cycles.pl: libLLVMSupport.a libLLVMSystem.a > > This one is very odd. > > > make[2]: *** [tools/llvm-config/FinalLibDeps.txt] Error 2 > > make[1]: *** [tools/llvm-config/CMakeFiles/llvm-config.target.dir/all] Error >2 > > make: *** [all] Error 2 > > > > That is the error I get when building with make -j2 on my Mac Mini. (It is >a > > > Core 2 Duo with 2 GB of RAM.) > > Cannot reproduce on Linux. > > Please try this: > > make clean > make -j2 > > If that fails, > > make clean > make > > > I have been able to build LLVM with XCode projects created with CMake 2.8-3> > before but when building Clang also, the build scripts take up too much RAM. > > > (About 2.6 GB virtual memory not counting the usage by GCC to execute the > > build.) I thought I'd try building with Make instead to alleviate some >memory > > > problems. Is there something wrong with the bundled version of PERL that >comes > > > with MacOSX 10.6.6? Will building from the configure script fix matters at >all? > > If the above fails, it would be helpful to know if configure&&make works > (on a new build directory). >
Seemingly Similar Threads
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Latest trunk fails to build on Mac using CMake and Eclipse
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile