<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79538>79538</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
get_native_tool_path assumes LLVM_HOST_EXECUTABLE_SUFFIX is the same for the native and cross builds
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jrtc27
</td>
</tr>
</table>
<pre>
This dates back to https://github.com/llvm/llvm-project/commit/25ec252537bc70dd8a28726f893d45a6d2753570, and has been reported to cause cross-building for Windows on Linux (and presumably vice-versa) to fail, as there is a mismatch between what the native build will create and what the cross build expects it to create. I don't know if there's an easy way to figure out what the native build will do given it comes from CMAKE_EXECUTABLE_SUFFIX or whether we need some hack to force the native build to match the cross build's naming scheme.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUk0Fvu0YQxT_NchnFgsEY-8AhSW01qqMekrS5WbO7A2wCrLWzmPjbV5C0jdqq0v8EEqP5vffmQSKuGZgrVdyp4qeExtj6UL2FaLBMtLfX6rl1ApYiC2gy7xA9tDGeReW3Cg8KD42L7ahXxvcKD113-fNxcw7-jU1UeDC-7938ggUbLLDIS23K1Not4bbETb3d5XZd0MZiWeRFmSq8BxostCSgmQcIfPYhsp3xhkZhMMGL3OjRddYNDdQ-wO9usH4S8AMc3TB-gMLtvOUcWMaedHeFizN8c-EgpHA3L6vJdQtNILYcGJwAQe-kp2ha0BynmT-1FOcBGCi6C8PChcl1HZjAFHmR-9fUIu5riD_ObKKAi4v4ZXoFD2D9oLCM8D74CVz9iVdYCtAATHKFia6LRNeMgcGP8f9kWA-Nu_Awc4zvWaAOvof7x9tf9qf96_7-5fn27rg_Pb0cDg-v4ANMLc9MmBgGZgvie4b268a1D4b_jYoePoP5h8tF90D9fAoxLfe8SmyV212-o4SrrEw3mK8zxKStbL7Z4NYUta7XemN1Vlg0rPXa5GWpKUtchSmu0ww3aVYUiKudKbFOKSsNZpp2W7VOuSfXreaerXxoEicyclXuinybdKS5k6XSiANPsHxUiHPDQ7V0U4-NqHXaOYny95boYsdVw_H0afoUve9OZ4otkMg4h3o8_vZ4-vnXp-f_yNQtHQKhnpc-fktvbse3uCQZQ1f98H-0GBGFh8XoHwEAAP__OeZDhQ">