[llvm-commits] Cyclic dependencies between LLVM libraries with debug builds

Chris Lattner clattner at apple.com
Thu Jun 18 11:38:44 PDT 2009


On Jun 18, 2009, at 3:19 AM, Duncan Sands wrote:

> If I configure without any options (equivalent to --disable-optimized
> --enable-assertions) on x64-64 linux then the build fails with:
>
> llvm[1]: Checking for cyclic dependencies between LLVM libraries.
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl:   libLLVMSparcAsmPrinter.a libLLVMSparcCodeGen.a
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl:   libLLVMCellSPUAsmPrinter.a libLLVMCellSPUCodeGen.a
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl:   libLLVMAlphaAsmPrinter.a libLLVMAlphaCodeGen.a
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl:   libLLVMIA64AsmPrinter.a libLLVMIA64CodeGen.a
>
> Any ideas?

I'm not seeing that.  Can you go into tools/llvm-config and run an  
appropriately path-adjusted version of this:

/usr/bin/perl /Users/sabre/llvm/utils/GenLibDeps.pl -flat -why /Users/ 
sabre/llvm/Debug/lib "/usr/bin/nm -p" > out.txt

and send me out.txt?

Thanks,

-Chris



More information about the llvm-commits mailing list