<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87943>87943</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Fatal Error while building LLVM: FAILED Building CXX object tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRNVVMDialect.dir/IR/NVVMDialect.cpp.o
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AkhilAkkapelli
</td>
</tr>
</table>
<pre>
I am building LLVM in Ubuntu 22.04 LTS by following instructions from [llvm-project/flang/docs/GettingStarted.md at main ยท llvm/llvm-project (github.com)](https://github.com/llvm/llvm-project/blob/main/flang/docs/GettingStarted.md).
After using ninja command from Building flang in tree method, I am getting fatal error and the build stops.
![f34a77cb-8879-45f8-b751-b900e2bd7343](https://github.com/llvm/llvm-project/assets/41839847/1af66b28-c340-4b29-b1b6-abd44e4b185e)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckj9vpDoUxT-NaSyQuRgwBcX8iZ9GmnlF8l6U1sYGnDF4hM1G-fYrMxslK22xuw0FOj7n3t89wnszzFq3qNyj8piINYxuaXfX0djd9Spu2lqTSKfe2xMWE5arscrMAz6fny_YzPh_uc5hxQAZofj83xOW77h31rq3qDKzD8vaBeNmj_vFTRiVe2u_Teltca-6Cwh4b8U8IODKdR4B_0eHYObhKYglaJVNCouAJ2FmjA6A9jWOzxHwry4YARtMGFeZdW5C0KDyiICNIdw8KnYIOAL-VcB_YYKAS-skAh7TfmMwBE2GyBGR3f2764Ne8Orj4rOZXwXu3DSJWd0333-g23wju7BojScdRqcQHPAGeLin4F4EYbFeFrfgaBFGfYePfXA3_xEMOSr3fUFFXXcyZaxuUlr2LJV1maeyIUSDVHVBi78kIrzXIW5Pc1Y0jNYIeC76qpLA0q6gJKUSmlTmskqFVJRqKnNW6niDbcJEtYVqikYkus3rHEooCeTJ2LKuV7pijWSkYpTVQolCNEpXVVmWikFiWiBACSU15FDQPCvzRncs73JKFKtIhSjRkzA2izNnbhkS4_2qW1Y3tEiskNr6rdcAkzULAogNX9ptRbkOHlFijQ_-0yCYYHXLN_YPG_u30Vj9c-1RscN8dzo_HD9venh5wU5uXQzO2UjsnsmtiZU6GmHvRKPD6REBP1zEVXNjdRQ7-ZpdzqfHf5-fLz-0mdreb9qvv7vbLXPJutj2j6-58YlxG6LvAQAA__9SfkTe">