<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/65126>65126</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
crash of clang on riscv
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
andreasfink
</td>
</tr>
</table>
<pre>
a simple call to clang fails
root@uConsole-R01:~# clang-15 --version
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang-15 --version
1. Compilation construction
#0 0x0000003fc3f91654 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-15/bin/../lib/libLLVM-15.so.1+0xea2654)
Illegal instruction
root@uConsole-R01:~# clang-14 --version
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang-14 --version
1. Compilation construction
#0 0x0000003fd3b206ee llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib/riscv64-linux-gnu/libLLVM-14.so.1+0xe196ee)
Illegal instruction
root@uConsole-R01:~# cd /etc
root@uConsole-R01:/etc# cat os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@uConsole-R01:/etc# arch
riscv64
root@uConsole-R01:/etc# uname -a
Linux uConsole-R01 5.4.61+ #6 PREEMPT Tue Jun 13 11:14:26 CST 2023 riscv64 riscv64 riscv64 GNU/Linux
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzkVklv4zgT_TX0hZAgkbJiHXRwHKs_9-ckhpcGcjJKFG2zQ5EClyS-zG8faMkyCdKTGfRtfLAM8r2qeuVXBYG14qg4z9H4Eo2vRuDdSZscVGU42INQ96NSV-ccsBV1IzlmICV2GjMJ6ogPIKRF0RWKpv230dqhJPIzrayWPFhHMaLTPxChPSOIxzgIHrixQqueslrOp5s5tr6shcOAS3_EhjfauDbPybnGIjpFpECkOAp38mXIdI1IIeXD8yNojP7JmUOkENZ6bhEpMKgKC8Wkrzh2J46ZAXvCJbB7Z4BxRGa4MbwxmnFreYWt9qY_bplgrWYCHK-w8QpbZkTjwr7kjQN2jytfN21l3VEUoihbGX00UGMwR19z5drCP9Udt4yZrhshwQmtMNPKOuOZe4EgQiMcPUXdhx4YPWRxOk5wp5xOEZ3as-1_rIxQrqtr24ubvIIMPO61dYZDjUjaChTKIZJhRCaIFN6ato2ifG5mPEakKIVCpAjD1ytRLpc_roN4HFodxohcRk8cSDpOEMn6ehdS8iNILD4I-aI5kv-oOT7o_ufmqGhJopTz32yO_r83wrKHNAmkUP4pOCr_1g_JGz_EWcr57_BDhREpuGO_Qg6IFg4OaxsYLjlYPlhnPd9u7_Y30-s5oleIkF3plfOYkDBKQoqX2w0ipMe-B71c_JivN4vbm_3iqr_uyO9v31z1cdvefYe6PuPvXMrzQdhT25P3QWe3V_Mh888WPTStTeX7MoaD_XLx_xZV8VLA0ML_3V7P97v1sk_-10l4fHwM-wjDNLyk3uxWq9v19jPiicvmE-bl7tt-Pf8VufRHG0rwip0aqELF24kbhLwJtFovfkxnd_vV7XIxu_uyhM5JiBSOm9oGoKqg0VIw0Y1zY8QDsHN_dH5Jtbvc3Wx3n_T57zwFhp0GZO_-r9G8gprjAHr0sh0Y_BaMx2ESpu24YERoilfr-fx6tcVbz_F3r3BMcdxGjBNEpyTFs80Wk4hQPFTx4fntZodI0SXqc46qnFYZzWDE8zjNaEIncTwZnfIkmSRwER3iiGXJgYyrDMpJRsvy4hBTWo5HIm8zRRMaEUomdBLGAOkBeAakmlzEFwlKIl6DkGG7P0JtjqNuo-bpOCbpSELJpX1-lTB5t3xbV6AkksI6-0pzwkme90tXH4a3Ca16USNvZP7vd3tXzJ8BAAD__80vuB0">