<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54973>54973</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
compiler-rt compilation error
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
thuanpv
</td>
</tr>
</table>
<pre>
Hi there,
I have tried to compile compiler-rt from source and I got the following error message:
```
CMake Error in /home/ubuntu/llvm-project/libcxx/src/CMakeLists.txt:
Target "cxx_static" requires the language dialect "CXX20" . But the
current compiler "GNU" does not support this, or CMake does not know the
flags to enable it.
```
I have done a quick search on Google but there is no luck. Do you have any suggestions? It seems to me that the issue is related to an experimental feature because I see a warning before the error saying that
```
CMake Warning at /home/ubuntu/llvm-project/libcxx/CMakeLists.txt:415 (message):
LIBCXX_ENABLE_STATIC_ABI_LIBRARY is an experimental option
```
Thanks.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9U01vm0AQ_TVwGQVhsB1z4GA7cWopzaF11fRkLTDA1ssu3Y_E_vedBduKmqhSL0UIlt2ZN2_ePApVnfJPHGyLGoNkHcR3QbzcQsteEKzmWIFVUKqu5wIvb32jLdRadWCU0yUCkxVsoVHW40CthFCvXDaAWisNHRrDGgzS5YgezOPzPXyuP7MDwv0QyiUEyaZVHXHZuMJJ62ghxEt302v1E0vrP3lRHo-0MLqk55D_yI01kT3aaxWAHdMNWgJMKHxvLLOc4hPQ-MtxjWYgK5hsHLGDijNB-D58_fycxD4yAli5oakLZum0RmmvSvjwh6dvPrhSBClJA-P6Xmmfxg1JCtTX2OM14iDV61vUWrDGeKFRsoJ05jb6UKrzXColSXOgLsoDGGS6bEFJeFCqoeRiZKwJxlcD4cpDBHcKTsqN-UyeiGTToLFcSROkG9gSbcRuINHR5Fs2zpIb4wYgjYLZ0Q1MAh571LwjJZiAGpl1VK7AkjmD5ASCIn6vTEvvggJrpXGAGw1h2Mnv-yJ_ccT3czqz_-KJd26YTmaUv7iYMMloD_7TdZnv43ZFntrfPy1Xj_f7r7vlbrveL1fbPR18WX754QX-U1XV--F8qM-uZfJgorDK0ypLMxZabgXmb__Occ08xCh66LTIW2t74_-QZEN3w23riohCz3q-l3UYP5l4M5tmt2nY5vNsXtRlcrtIMU0WaTmv5jgvF7RTlOmkrkLBChQmD2arYHYX8jyJkySeTrJ4EaezRcQm9ayYx1lGOfF0lgTTGDvGReQLR0o3oc4HDoVrDB2KYZLXQ2YMbyTiBZ852yqdUx9M9i_hQDcfuP4GAe-EWQ">