[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error

Renato Golin renato.golin at linaro.org
Sat Aug 23 13:17:41 PDT 2014


On 23 August 2014 13:45, Anton Obermayr <anton.obermayr at gmx.de> wrote:
> [ 1501s] CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
> [ 1501s]   "lldPasses" of type SHARED_LIBRARY
> [ 1501s]     depends on "lldNative" (weak)
> [ 1501s]     depends on "lldYAML" (weak)
> [ 1501s]   "lldNative" of type SHARED_LIBRARY
> [ 1501s]     depends on "lldYAML" (weak)
> [ 1501s]     depends on "lldPasses" (weak)
> [ 1501s]   "lldYAML" of type SHARED_LIBRARY
> [ 1501s]     depends on "lldNative" (weak)
> [ 1501s]     depends on "lldPasses" (weak)
> [ 1501s] At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.

This is a known issue. LLD doesn't work on CMake with shared libraries.

cheers,
--renato



More information about the llvm-dev mailing list