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

Anton Obermayr anton.obermayr at gmx.de
Sat Aug 23 05:45:12 PDT 2014


> Run it through its phases and report any bugs you find!

[ 1495s] CMake Warning (dev) at projects/dragonegg/CMakeLists.txt:34 (get_target_property):
[ 1495s]   Policy CMP0026 is not set: Disallow use of the LOCATION target property.
[ 1495s]   Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
[ 1495s]   command to set the policy and suppress this warning.
[ 1495s] 
[ 1495s]   The LOCATION property should not be read from target "TargetInfo".  Use the
[ 1495s]   target name directly with add_custom_command, or use the generator
[ 1495s]   expression $<TARGET_FILE>, as appropriate.
[ 1495s] 
[ 1495s] Call Stack (most recent call first):
[ 1495s]   projects/dragonegg/CMakeLists.txt:87 (add_backend_header)
[ 1495s] This warning is for project developers.  Use -Wno-dev to suppress it.
[ 1495s] 
[ 1495s] -- Target architecture is X86
[ 1495s] CMake Warning (dev) at projects/dragonegg/test/CMakeLists.txt:5 (get_property):
[ 1495s]   Policy CMP0026 is not set: Disallow use of the LOCATION target property.
[ 1495s]   Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
[ 1495s]   command to set the policy and suppress this warning.
[ 1495s] 
[ 1495s]   The LOCATION property should not be read from target "dragonegg".  Use the
[ 1495s]   target name directly with add_custom_command, or use the generator
[ 1495s]   expression $<TARGET_FILE>, as appropriate.
[ 1495s] 
[ 1495s] This warning is for project developers.  Use -Wno-dev to suppress it.
[ 1495s] 
[ 1495s] -- Found Isl: /usr/lib64/libisl.so
[ 1495s] -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 
[ 1495s] -- Clang version: 3.5.0
[ 1495s] -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
[ 1496s] -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
[ 1496s] -- Could NOT find Subversion (missing:  Subversion_SVN_EXECUTABLE) 
[ 1498s] -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.7") 
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS - Success
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS - Success
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER
[ 1498s] -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER - Success
[ 1498s] -- LLDB version: 3.5.0
[ 1498s] -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
[ 1500s] -- Configuring done
[ 1501s] CMake Warning (dev) at tools/lldb/source/CMakeLists.txt:305 (add_dependencies):
[ 1501s]   Policy CMP0046 is not set: Error on non-existent dependency in
[ 1501s]   add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
[ 1501s]   Use the cmake_policy command to set the policy and suppress this warning.
[ 1501s] 
[ 1501s]   The dependency target
[ 1501s]   "/home/abuild/rpmbuild/BUILD/llvm-3.5.0rc3.src/stage2/tools/lldb/scripts/LLDBWrapPython.cpp"
[ 1501s]   of target "liblldb" does not exist.
[ 1501s] This warning is for project developers.  Use -Wno-dev to suppress it.
[ 1501s] 
[ 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.


I would try to fix it but since you haven't got managed to push
- http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/171161 or
- regulary updated proper libdir ( lib64 / lib32 / lib ) inclusion patches for cmake builds on various linux distributions
for years sb. who gets things pushed shall fix it ...



More information about the llvm-dev mailing list