<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64227>64227</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-17.0.0-rc1: compiler_rt results in link errors on macOS 10.12.6
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
debohman
</td>
</tr>
</table>
<pre>
This was found while building `python-3.11.4` using `clang-17`.
The change which introduced this problem is [Declare _availability_version_check as weak_import instead of looking it](https://reviews.llvm.org/D150397).
Reverting this change and rebuilding `compiler_rt` allows `python` to build and run.
It appears that this change came directly from Apple. It seems that this change needs some more consideration, or the project needs to say that llvm-17 is not supported on macOS / Darwin before versions `such-and-such`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskkGPozgQhX-NuZSCbBOgOXBIbxSpTyvt9j0q7CL2xtjINony71ckzHS3NBeMwFXv1fcKU7IXT9Sz-p3VxwKXbELsNQ3BTOiLIehH_2lsgjsmGMPiNdyNdQTDYp22_gKs4fMjm-B3VSlEuWcNhyVtf5RDf9mJljW8ZPzI-OH1_DQEyqC_0NpOGbA-x6AXRRryKjfHMDiawCZg9fuRlMNIcMYbWoeDdTY_zjeKyQZ_VobUFTDBnfB6ttMcYgbrUybUEEZwIVxXPzaz-sjkm8l5Tqw6MHli8hTpZumeSuduUxnihcnTUdS86lomux-m_6Ebxbx2elrc_KPXEOk7DhWm2TqK55hXGOhcuKcvTuu3HF4AX9WL33TgdXxkwHkmjAmywfxDTuFEoG0kld0DxhgmOMyzoxI-MiSi6Q81nkgnSGEimEIkUMEnqylitsEz-ReECNnQCv0_Unm7nwMkfLy6rXB2ol3j8CFDWuYVMmkIHiZUf_8LTJ7giPFuPQw0ripbPM_J06LMDr3erS_rMhS6r3RXdVhQL5qON23H921hesHrUVaCOq0HFJoEDfW-kTRUOCrFu8L2ksuKtxXngu95W-qx1hJHEoQjvlUN23Oa0LrfiRY2pYX6Zi9lWzgcyKVf-x7752TDcklsz51N-WsRimyzo34bveQl30UlWHWAbwFDpLS4nMB6cNZfgWIMMX1xEbwUsmyKJbr-5-JdbDbLUKowMXlaVbZjt8XA5OlpPDF5enr_PwAA__9a5zkP">