Issue 203647
Summary libclang_rt.nsan.a missing for `check-compiler-rt` from scratch
Labels new issue
Assignees
Reporter fmayer
    ```
% git clone [[email protected]](mailto:[email protected]):llvm/llvm-project.git llvm2 
Cloning into 'llvm2'...
% cd llvm2
% mkdir build 
% cd build
% cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_ENABLE_PROJECTS="clang;lldb;lld;polly;clang-tools-extra" "-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind;compiler-rt" -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19  -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_USE_LINKER=lld -DLLVM_INCLUDE_TESTS=On  -DLLVM_CCACHE_BUILD=ON -DLLVM_BUILD_TESTS=On -DBUILD_SHARED_LIBS=ON -DLLVM_BUILD_TESTS=ON -DCOMPILER_RT_ENABLE_INTERNAL_SYMBOLIZER=ON ../llvm
% ninja check-compiler-rt
[2921/3289] Generating Nsan-x86_64-Test
FAILED: [code=1] compiler-rt/lib/nsan/tests/Nsan-x86_64-Test /usr/local/google/home/fmayer/llvm2/build/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests/Nsan-x86_64-Test 
cd /usr/local/google/home/fmayer/llvm2/build/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests && /usr/local/google/home/fmayer/llvm2/build/./bin/clang++ NsanTestObjects.NSanUnitTest.cpp.x86_64.o NsanTestObjects.nsan_unit_test_main.cpp.x86_64.o [NsanTestObjects.gtest-all.cc](http://nsantestobjects.gtest-all.cc/).x86_64.o -o /usr/local/google/home/fmayer/llvm2/build/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests/./Nsan-x86_64-Test -fuse-ld=lld -Wl,--color-diagnostics -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -resource-dir=/usr/local/google/home/fmayer/llvm2/build/./lib/../lib/clang/23 -lstdc++ -fsanitize=numerical -m64
ld.lld: error: cannot open /usr/local/google/home/fmayer/llvm2/build/./lib/../lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.nsan.a: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to