<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97990>97990</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bazel build for android (execinfo.h is not supported)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
widiba03304
</td>
</tr>
</table>
<pre>
Hi, folks.
I found [this](https://github.com/llvm/llvm-project/blob/5789ee28772d942da113762f45fa5f47996b55d7/utils/bazel/llvm-project-overlay/llvm/config.bzl#L32) defines `BACKTRACE_HEADER` as `execinfo.h`, but Android NDK does not have it.
I could patch the source code to not use this by unsetting `HAVE_BACKTRACE`, but I feel this is not a perfect way to handle potential version updates.
Do you have any suggestions for my use case?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUstu4zgQ_Brq0ohBtZ486GDHNhJksYdgsdeAEpsSdxlSEElnnK8fSJ5MZnKbC3lodFV1VckQzOiIOlYdWHXMZIqTX7o3o0wveVHwMuu9unYPhuE9aG__DzvGj4zvb-8jaJ-cAlYd4mQCq44M2ynGObBiz_DM8DyaOKV-N_hXhmdrLx_f3bz4_2iIDM-99T3Dc9W0ggjbpkElSlQyz4umRl1WWla6bISo-6pSDcNzisaGdVO-k_0CeOcvtFh5_aQbvNNm3PXvlmHxV4EMBSjSxlEAVvPD_v7pn-f9_enl4bQ_np5ZzUFuE_pGg3Ha7yZW89WBPkXYO7V4o-Dv4xMoTwGcjzDJC4GJX8wZfLIKZhmHCeJEEHxaBoLBK4Lot8UUCFbroL9CcoFiNG5cuR_2_55efkr7hf8RNJG9LZkbu4SZFk1DhDd5XZEn6ZQlmH0kF420cKElGO8gzUpG-j3Eo4erT7cTpLtCSONIIRrvAmi_wOt1UznIQKw4Z6orlCiEzKjLG-RlLgTm2dSVskBUQ1XrSrS8z-tSl1TmvKKmLWtRZqZDjiVveMtrrDDfDbLWus0rTaLtNc9ZyelVGrtbc9v5ZcxMCIk60QjBMyt7smFrKqKjN9iGDHEt7tJtFejTGFjJrQkxfKJEEy11h7Ur0Cdj1XaW_JEjw_Yz5w9HQ5pnv0RSDEWWFtv9cak3dWtHb-ovHX4PAAD__yWRFuU">