[LLVMdev] tools/llvm-config/find-cycles.pl

reed kotler
Wed, 09 Nov 2011 02:38:04 -0000

We've had some problems with false complaints about circular
dependencies from tools/llvm-config/find-cycles.pl in the past but just
worked around them.

Sometimes if you have nested directories which include header files from
other enclosing directories you get this problem.

Today we realized that it seems to be Ubuntu related ( or perhaps the
version of perl on Ubuntu or some other tool used by llvm make).

lvm[1]: Checking for cyclic dependencies between LLVM libraries.
find-cycles.pl: Circular dependency between *.a files:
find-cycles.pl:   libLLVMMipsCodeGen.a libLLVMMipsDesc.a
llvm[1]: Building llvm-config script.
cat: /home/rkotler/jack/build/tools/llvm-config/FinalLibDeps.txt: No
such file or directory
make[1]: *** [/home/rkotler/jack/build/Debug+Asserts/bin/llvm-config]
Error 1
make[1]: Leaving directory `/home/rkotler/jack/build/tools/llvm-config'


But the same make on a red hat machine works just fine.

We could tar up our exact source tree and give it to whomever works on
this script.

I'm not interested in debugging this perl script myself.

????

Thoughts.

Reed