Compilation errors on both HIP and OpenCL
#3
(10-21-2024, 10:09 AM)Snoopy Wrote: first try the git version of hashcat, as the latest release on the downloadpage is quite old

error: unknown argument: '-flegacy-pass-manager'

LLVM removed this flag, so its more or less an LLVM problem or hahscat still using this flag, dunno whether this was fixed in the git version but i would try this first

anyway if this not works, you can try option -d 5,6 to use the opencl 2.1 version backend (warning regarding device 3,4 which is the opencl 1.1, which is really old), 1,2 refers to the HIP backend, clamping hahscat to -d 5,6 should work

Using those options does enable it to work at pretty decent speeds so thank you for that. Also interestingly the git built version throws a different error in place of the "-flegacy-pass-manager" 

Code:
* Hash-Mode 5500 (NetNTLMv1 / NetNTLMv1+ESS)
--------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

lld: error: undefined hidden symbol: __ockl_get_group_id
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times

lld: error: undefined hidden symbol: __ockl_get_local_size
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times

lld: error: undefined hidden symbol: __ockl_get_local_id
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/drew/.local/share/hashcat/comgr-04123e/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.
Reply


Messages In This Thread
RE: Compilation errors on both HIP and OpenCL - by antwerpheist - Yesterday, 09:31 AM