<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60517>60517</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Backport cf93a3dd512e4912181f05790992c760378c8893 (remove use of internal glibc macros in libc++) to release/16.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++,
release:backport
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tahonermann
</td>
</tr>
</table>
<pre>
Commit [cf93a3dd512e4912181f05790992c760378c8893](https://github.com/llvm/llvm-project/commit/cf93a3dd512e4912181f05790992c760378c8893) removes use of internal glibc macros (`__GLIBC_USE`, `__GLIBC_USE(ISOC2X)`) that were added via commit [7e7013c5d4b1b3996c8dba668c5a94bb33b2999b](https://github.com/llvm/llvm-project/commit/7e7013c5d4b1b3996c8dba668c5a94bb33b2999b) during LLVM 16 development. These macros have no stability commitments across glibc releases and are not intended to be used outside of glibc source files. Use of these macros therefore creates the potential for inconsistent behavior across future glibc releases.
This issue tracks backporting the commit that removes use of these internal macros so that libc++ in LLVM 16 is not dependent on them.
/cherry-pick cf93a3dd512e4912181f05790992c760378c8893
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyklE9v4zYQxT8NdRmsQY3-8qBD7NTFAil62N2it4B_RhYbiTRIym2-fUHZzm5zKFL0IgnUUPP4e28kY7QnRzSwZs-ax0KuafJhSHLyjsIinSuUN6_DwS-LTcCavR5FJStjmhKpFiWWfTnyphNcCNRdy6uu130vKtY8MuynlM6RVQ8MjwyPJ5umVe20Xxge5_lyv306B_8H6cTwqLdG-eGjfVBAoMVfKMIaCfwI1iUKTs5wmq3SsEgdfASGPWv58_PPT5_3h-dvX35iLWd4gHeL2H_-8usBf2cotgIBaZIJ_qRAII0hAxcrQb_x6KjjZaUbU6tSVUK0ujdKtm2vGylqpapKoRBC_V8eH-6DAswarDvB09Nvv0DZgqELzf68kEs7-DpRpDuTSV4InIeYpLKzTa-3g-XSCFtNvFEMNJOMFEE6AzLkbWkj7TKT5EFR5m_Arylasxlx3Rn9GjTBaGeKO_h29Sj9KCNNFGj0gUAHkom2FTj7RC5ZOcPoA1invYs25jVQNMmL9eEucVzTGuid0h3jj4w_XK9fJxvBxrgSpCD1SwQl9cvZh5RJ5XY3Sze33wXqKvYtVjfV0V-Lc1OGe4Z7sO4Nuo0bIUPnTMgl8C5_Z_mHqmzwRCG8fjpb_QIfzXxhhsqISsiChrLtmrrmTd0X09C0StRdN1a8U6JGrboeDY49GeJGGVPYATlWHHlVtlzwZic5aV7JpullqTVXrOa0SDvvcg53PpyKDdrQ8qbsilkqmuP2s0D8fm6GyPDAEG_oWfVwp5tfNY9FGLZcq_UUWc1nG1P83iHZNNOwv-34MIU80Vej_n3wrYMfpYoc1rtQPJbt7q9iDfPwn0dzAxMZHjc2fwcAAP__vmmvwg">