| Issue |
113701
|
| Summary |
error build: [lib/Demangle/CMakeFiles/LLVMDemangle.dir/build.make:178: lib/libLLVMDemangle.a] Error 2
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
aragon5956
|
the command display this :
```
CMake Warning:
Ignoring extra path from command line:
"/home/alexandre/llvm-project/build/DLLVM_PARALLEL_LINK_JOBS=2"
CMake Deprecation Warning at /home/alexandre/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:8 (include)
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is enabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- LLVM host triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Targeting X86
CMake Deprecation Warning at /home/alexandre/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
/home/alexandre/llvm-project/lld/CMakeLists.txt:7 (include)
-- LLD version: 20.0.0
CMake Deprecation Warning at /home/alexandre/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
/home/alexandre/llvm-project/clang/CMakeLists.txt:7 (include)
-- Clang version: 20.0.0git
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v0.0.0, normalized to 0.0.0
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/home/alexandre/llvm-project/third-party/benchmark/include
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done (7.2s)
-- Generating done (3.6s)
-- Build files have been written to: /home/alexandre/llvm-project/build
alexandre@ubuntu:~/llvm-project/build$
```
and after, this :
```
alexandre@ubuntu:~/llvm-project/build$ make
[ 0%] Linking CXX static library ../libLLVMDemangle.a
Error running link command: No such file or directory
make[2]: *** [lib/Demangle/CMakeFiles/LLVMDemangle.dir/build.make:178: lib/libLLVMDemangle.a] Error 2
make[1]: *** [CMakeFiles/Makefile2:12574: lib/Demangle/CMakeFiles/LLVMDemangle.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
alexandre@ubuntu:~/llvm-project/build$
```
could you help me ?
Regards
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs