CL_BUILD_PROGRAM_FAILURE
#1
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?
Reply


Messages In This Thread
CL_BUILD_PROGRAM_FAILURE - by th3n3wguy - 01-23-2021, 11:57 PM
RE: CL_BUILD_PROGRAM_FAILURE - by undeath - 01-24-2021, 03:10 AM
RE: CL_BUILD_PROGRAM_FAILURE - by th3n3wguy - 01-24-2021, 12:21 PM
RE: CL_BUILD_PROGRAM_FAILURE - by HashcatMan2022 - 03-26-2022, 10:41 PM
RE: CL_BUILD_PROGRAM_FAILURE - by Snoopy - 03-27-2022, 10:39 AM