CL_BUILD_PROGRAM_FAILURE - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: CL_BUILD_PROGRAM_FAILURE (/thread-9810.html) |
CL_BUILD_PROGRAM_FAILURE - th3n3wguy - 01-23-2021 Hi guys, I have a problem with my virtualBox The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) machine. I'm new to this whole The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)-Linux and hashcat/hacking topic. When I try to run hashcat within my VM I get the following error: ''''''''''''''''''''''''' └─# hashcat -b hashcat (v6.1.1) starting in benchmark mode... Benchmarking uses hand-optimized kernel code by default. You can use it in your cracking session by setting the -O option. Note: Using optimized kernel code limits the maximum supported password length. To disable the optimized kernel code in benchmark mode, use the -w option. OpenCL API (OpenCL 1.2 pocl 1.6, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The po ================================================================================================================== * Device #1: pthread-AMD Ryzen 5 5600X 6-Core Processor, 2178/2242 MB (1024 MB allocatable), 6MCU Benchmark relevant options: =========================== * --optimized-kernel-enable Hashmode: 0 - MD5 clBuildProgram(): CL_BUILD_PROGRAM_FAILURE error: unknown target CPU 'generic' * Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed. Started: Sat Jan 23 22:26:32 2021 Stopped: Sat Jan 23 22:26:33 2021 ''''''''''''''''''''''''' ''''''''''''''''''''''''' └─# clinfo 130 ⨯ Number of platforms 1 Platform Name Portable Computing Language Platform Vendor The pocl project Platform Version OpenCL 1.2 pocl 1.6, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix POCL Platform Name Portable Computing Language Number of devices 1 Device Name pthread-AMD Ryzen 5 5600X 6-Core Processor Device Vendor AuthenticAMD Device Vendor ID 0x8086 Device Version OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-generic Driver Version 1.6 Device OpenCL C Version OpenCL C 1.2 pocl Device Type CPU Device Profile FULL_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 6 Max clock frequency 3693MHz Device Partition (core) Max number of sub-devices 6 Supported partition types equally, by counts Supported affinity domains (n/a) Max work item dimensions 3 Max work item sizes 4096x4096x4096 Max work group size 4096 ''''''''''''''''''''''''' I got the same error when running the command "hascat -b" in a Parrot OS VM. The host machine runs Win10. I have tried to uninstall and reinstall hashcat. Nothing helped. Can someone help me? Is there a known fix for this? RE: CL_BUILD_PROGRAM_FAILURE - undeath - 01-24-2021 1. remove pocl and install a proper opencl runtime 2. only run inside a vm if absolutely necessary RE: CL_BUILD_PROGRAM_FAILURE - th3n3wguy - 01-24-2021 Thanks for your help. I have solved it. Don't know how this worked, but it did. I donwloaded the Intel OpenCL runtime (http://registrationcenter-download.intel.com/akdlm/irc_nas/12556/opencl_runtime_16.1.2_x64_rh_6.4.0.37.tgz) and installed it over the "install.sh". Although i have a AMD Cpu. Now everything runs perfectly fine. RE: CL_BUILD_PROGRAM_FAILURE - HashcatMan2022 - 03-26-2022 What do you mean you installed it over "install.sh" the install.sh of what exactly? I downloaded and extracted the tar file. Now what do I do? That is in the The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) machine, not on Windows. RE: CL_BUILD_PROGRAM_FAILURE - Snoopy - 03-27-2022 Inside the tar.gz there there is a shellscript called install.sh, like the name, i supposse, starts the installer so running ./install.sh from inside a terminal willl do the trick, beforehand please deinstall pocl, Aptitude purge pocl or the apt-get alternative, dont know which system k.a.l.i uses |