<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/126348>126348</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
While using -Og/-O0 , llama.cpp could not be compiled correctly.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dirt2022
</td>
</tr>
</table>
<pre>
build config:
cmake .. -DGGML_VULKAN=1 \
-DCMAKE_BUILD_TYPE= **debug**
While compiling, it throws an error:
```
[ 58%] Linking CXX executable ../../bin/llama-batched
Pointer tag for 0xe657000000060106 was truncated, see 'https://source.android.com/devices/tech/debug/tagged-pointers'.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
c++: error: unable to execute command: Aborted
c++: error: linker command failed due to signal (use -v to see invocation)
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJycU0uP2zYQ_jXUZSCBHlm2fNBBu14FRZwmQJs2PS34GEns0qTBhzf594VkL7YFeopASAIf8w2_h4jRTI6oY80Da46FyGn2odMmJOSIhfT6RyezsRqUd6OZWN0DMN6rs3ghqCoojx8-fDo9__H19LH_ldXHDbDmkfG-PD5-6j8-PT98_eV0fP79ry9PrD4Cw55hr0nm6fa7FmO8_3M2lkD588VY4yaGj2ASpDn41wjCAYXgwwK-bN_x--A9ax6gaRk2rDnCybgX4yZ4_PYN6DupnIS0S5cMh_UljWM4WCvOopQiqZk04_0Xb1yiAElMMPoA_Dvtmj2_PTu-4Tt4FRFSyE6JRHppLhIBw_2c0iWyumc4MByiz0FRJZwO3uhK-TPDQdPVKIoMh0RqXifW2w9JTBPp8nJDjwz31dLM6an_7QlilmeTQIDMEwS6-JAgefgv3mTSnOUdx9rr26e8BP83qcRwMDHmFRyE02CcslkTpJlABRFnkEK9pCAULdiK4cMy6v6d7-xWDpO_M7qKdBZOL4u99CGtHP7fUWvcC4W3_TAKY0mDzmu1xXfCAsM2R4Lyus4RgXFXr0Qy3jE8_FvsQne1PtQHUVC32dft4YBbbIq5o3bElutxI8W-2UhqZTvqbd1qOYp6u5OF6ZBjw5G3vME9b6pGtCMfcbvn4qBq2bItp7MwtlrIq3yYipW2boO7etsWVkiycY0IoqNXWFcZ4pKY0K2MyzxFtuXWxBTfyySTLHU3b-e4WLP8vEhffuawuGh1YqUuF1A-Ww3OJ5BvMaAlcyGQSvZHVeRgu59X_36Ta4f_BAAA__9SIj0H">