Anton Obermayr
2014-Aug-23 12:45 UTC
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error
> 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 ...
Johannes Obermayr
2014-Aug-23 15:36 UTC
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error
Sorry, I forgot to change to right identity in KMail (Now resending with right ...) PS: I could fix lld build here ...> 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 ...
Johannes Obermayr
2014-Aug-23 18:33 UTC
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - 2nd build error in clang
2nd build error in clang: [ 2831s] Linking CXX executable ToolingTests [ 2834s] CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o: In function `std::default_delete<clang::FrontendAction>::operator()(clang::FrontendAction*) const': [ 2834s] /usr/include/c++/4.8/bits/unique_ptr.h:67: undefined reference to `clang::SyntaxOnlyAction::~SyntaxOnlyAction()' [ 2834s] collect2: error: ld returned 1 exit status [ 2834s] tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/build.make:290: recipe for target 'tools/clang/unittests/Tooling/ToolingTests' failed [ 2834s] make[2]: *** [tools/clang/unittests/Tooling/ToolingTests] Error 1 [ 2834s] CMakeFiles/Makefile2:17836: recipe for target 'tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/all' failed [ 2834s] make[1]: *** [tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/all] Error 2
Renato Golin
2014-Aug-23 20:17 UTC
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error
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