| Issue |
176757
|
| Summary |
Setting option CLANG_DEFAULT_CXX_STDLIB=libc++ prevents compiler-rt build
|
| Labels |
libc++
|
| Assignees |
|
| Reporter |
pkl97
|
When compiling clang (e.g. 22.1.0-rc1) like this under Red Hat Enterprise Linux 10 with gcc, the build runs fine but compiler-rt is never built:
```
cmake -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-DLLVM_ENABLE_PROJECTS="clang" \
-DLLVM_ENABLE_RUNTIMES="compiler-rt" \
-DCLANG_DEFAULT_CXX_STDLIB=libc++ \
../llvm-project/llvm
cmake --build . > output_compile.txt 2>&1
```
It turns out that removing CLANG_DEFAULT_CXX_STDLIB=libc++ from the command line leads to the expected compiler-rt build.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs