<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61141>61141</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm build failed while Linking CXX shared library lib/libclang-cpp.so.15
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wangzy0327
</td>
</tr>
</table>
<pre>
The OS Version: Ubuntu20.04.3 LTS
The gcc version: gcc-9.4.0
I build [llvm](https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.7) with the following command.
```
cmake -S llvm -B build_release -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/wzy/app/llvm-build-15.0.7 -G "Ninja" -DLLVM_USE_LINKER="gold" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb" -DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind"
```
```
cd build_release && ninja && ninja install
```
The result of build failed as follow. Can you help me solve the problem?
![image](https://user-images.githubusercontent.com/22990858/222612999-ccbc1008-e1b5-47a9-b289-fd13ae4dcc25.png)
![image](https://user-images.githubusercontent.com/22990858/222612962-14b33dea-5b84-4f36-8ec6-578191a8221c.png)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VE1v4zYQ_TX0haBAjr4POtixVbjrZIPYWaQng6RoibuUKIhUnOyvLyQ73SbNpYeFDX5oHp8eR2-GO6frTqkCxSsUrxd89I0dijPv6p-vNIR0IWz1Whwahb_u8Tc1OG07FC7xoxg7PwINaBSEeHfYI7pGdDkBaynx8y9kLSXJgyigF8QWi1GbCqN4Zcxzi-I1gqzxvncoXCIoEZS19s0oAmlbBOUMukykH-x3JT2CclBGcaccgtLz-hq3Q01YHNAgRZDjs_YN9o3CJ2uMPeuuxtK2Le-q4KLkOib0-p-3suU_FCZ7PBFisrqoPV7fh8n65nb5ZXNcPW536-Phr_sNCtcPH4Lbu_1hudsd7x825fYJhWsEZWNbhaA8_3xFUPK-f7vSTH9VjckfGAHc6e47RwCYrHe7b7fHx_3muNvefdk8zFRQW1P9K7y5W652m-P9w9c_NzeH_QUjDe9qFK7mmXhrjSPqxQ8chStjqsso_svy8Hh32N5u3lhs22ujBjL46YQW8uXlnwUX-rIeu7PuJkWfJvRjfqsPGUWQIEhwN136_UZ3znNjPqWZfDYoNxqP7enqqBPXRlWYu-sXD_AN7_CrHXGjTI9bhZ01z2r2RD9YYVSLwvKdF4CheKVbXqvPfDk6NZA56oKLR6cn0nZedf5qV4A8p1mczUtIGOR5TqQUklGaEcVETKKU50RAlpNTxUKuokpKiIO-qxHkv11OAoRFIgwrxUkssohEpzAhmZIJidOM5YxnAEy-k7OoirDKw5wvVMGSNM1oDixdNAVLskqJ9JRUgqZZQnnIYnYSURJxAM7ThS6AQkinH9AkToMqylWSZlEIecoTFaOIqpZrE0zVENihXmjnRlUkjEVsYbhQxr01p6G4lkztUESNdt79Oua1N2oGvLfDudFG4Z3ufkwd4ObpCbuGD6rCRouBD6_TPBWjFpdakX0fOBuweDEOpvjfjWlWP7Wl-QJ_BwAA___3cJ_o">