<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] libcxx_tsan_x86_64: projects/compiler-rt/lib/tsan/libcxx_tsan_x86_64-bins/cxx/__config_site does not respect LIBCXX_* variables"
href="https://bugs.llvm.org/show_bug.cgi?id=48618">48618</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[CMake] libcxx_tsan_x86_64: projects/compiler-rt/lib/tsan/libcxx_tsan_x86_64-bins/cxx/__config_site does not respect LIBCXX_* variables
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>build-problem
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>tsan
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>i@maskray.me
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>(With <a href="https://reviews.llvm.org/D93848">https://reviews.llvm.org/D93848</a> , `ninja tsan` will build on musl)
cmake -GNinja -Hllvm -BRelease -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_PROJECTS='clang;lld;libunwind;compiler-rt;libcxx;libcxxabi'
-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-alpine-linux-musl
-DLLVM_TARGETS_TO_BUILD=X86 -DLIBCXX_HAS_MUSL_LIBC=On -DLLVM_APPEND_VC_REV=OFF
Note that
Release/projects/compiler-rt/lib/tsan/libcxx_tsan_x86_64-bins/cxx/__config_site
does not define __LIBCPP_HAS_MUSL_LIBC
As a result, `ninja libcxx_tsan_x86_64` will fail to build (dependency of
`ninja check-tsan).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>