CL Build program failure
#1
Sad 
Hello all. I've been trying to get started using hashcat in a hope to to learn about wireless security and have run into an error message I cannot find a solution to. I am on an M1 Macbook (which I recognize is not helping anything) and am using hashcat through homebrew. the code I am running is:

Code:
hashcat -m 22000 -a 3 hash.hc22000 -D2

and the outcome I am getting is: 

Code:
hashcat (v6.2.5) starting

* Device #1: Apple's OpenCL drivers (GPU) are known to be unreliable.
            You have been warned.

OpenCL API (OpenCL 1.2 (Jun 17 2021 15:24:17)) - Platform #1 [Apple]
====================================================================
* Device #1: Apple M1, 5408/10922 MB (512 MB allocatable), 8MCU

Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates

Optimizers applied:
* Zero-Byte
* Single-Hash
* Single-Salt
* Brute-Force
* Slow-Hash-SIMD-LOOP

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

Initializing backend runtime for device #1. Please be patient...UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

Compilation failed:

program_source:7:10: fatal error: 'inc_vendor.h' file not found
#include "inc_vendor.h"
        ^~~~~~~~~~~~~~

* Device #1: Kernel /opt/homebrew/Cellar/hashcat/6.2.5/share/hashcat/OpenCL/shared.cl build failed.


Is this just the result of Apple's OpenCL drivers being "unreliable" and I should've heeded the warning? Any advice or information would be appreciated, thank you.
Reply
#2
It was on the forum, just search for it
Reply
#3
(06-06-2022, 11:21 AM)marc1n Wrote: It was on the forum, just search for it

I have looked multiple times and not managed to find a comparable issue, except for one once when it went unresolved. If you know of a thread I am missing I would appreciate it.
Reply
#4
Update OpenCL your version (OpenCL 1.2 (Jun 17 2021 15:24:17)) is too old!
Reply
#5
I did end up trying that eventually and encountered the same error...
Reply
#6
(06-07-2022, 06:27 PM)Tess_Breaker Wrote: I did end up trying that eventually and encountered the same error...

apple dropped opencl support, so the only thing you can do is, use windows or linux
Reply
#7
(06-09-2022, 12:31 PM)Snoopy Wrote:
(06-07-2022, 06:27 PM)Tess_Breaker Wrote: I did end up trying that eventually and encountered the same error...

apple dropped opencl support, so the only thing you can do is, use windows or linux


Figured as much, got it going on a VM, much appreciated still.
Reply