hashcat Forum

Full Version: clBuildProgram(): CL_BUILD_PROGRAM_FAILURE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, 
getting this error on running hashcat compiled from source with the latest osx 10.15 catalina:

hashcat (v5.1.0-1403-g87022919) 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 (Sep  5 2019 21:59:08)) - Platform #1 [Apple]
====================================================================
* Device #1: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz, skipped
* Device #2: Intel(R) UHD Graphics 630, 384/1536 MB allocatable, 24MCU
* Device #3: AMD Radeon Pro Vega 20 Compute Engine, 1020/4080 MB allocatable, 20MCU

Benchmark relevant options:
===========================
* --optimized-kernel-enable

Hashmode: 0 - MD5

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

<program source>:9:10: fatal error: 'inc_vendor.h' file not found
#include "inc_vendor.h"
        ^

* Device #2: Kernel /hashcat/OpenCL/m00000_a3-optimized.cl build failed - proceeding without this device.

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

i did install Xcode and command line tools as well
anything i do wrong or just compatibility issues with the latest version of osx ? had it run just fine with 10.14 mojave

thanks
looks like your hashcat is missing files. Re-download it and extract it anew, to a new folder to make sure it's in a clean state.
thanks for the fast reply i did:
   ~/Downloads  git clone --recursive https://github.com/hashcat/hashcat  ✔
Cloning into 'hashcat'...
remote: Enumerating objects: 40, done.
remote: Counting objects: 100% (40/40), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 59914 (delta 17), reused 24 (delta 11), pack-reused 59874
Receiving objects: 100% (59914/59914), 45.45 MiB | 8.49 MiB/s, done.
Resolving deltas: 100% (51187/51187), done.

   ~/Downloads  cd hashcat  ✔  8s 

   ~/Downloads/hashcat    master  make  ✔
clang -c -W -Wall -Wextra -Wno-enum-conversion -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash src/affinity.c -o obj/affinity.NATIVE.o -fpic
clang -c -W -Wall -Wextra -Wno-enum-conversion -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash src/autotune.c -o obj/autotune.NATIVE.o -fpic
clang -c -W -Wall -Wextra -Wno-enum-conversion -O2 -pipe -std=gnu99 -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -Ideps/zlib/ -Ideps/OpenCL-Headers -DWITH_BRAIN -Ideps/xxHash src/backend.c -o obj/backend.NATIVE.o -fpic
clang -c -W -Wall -Wextra -Wno-enum-co...
...
but still missing the file

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

<program source>:11:10: fatal error: 'inc_vendor.h' file not found
#include "inc_vendor.h"
Are you copying stuff around or running "make install" or are you running hashcat from the build directory?
running hashcat from main directory using this syntax:

~/Downloads/hashcat$ ./hashcat -b 
hashcat (v5.1.0-1403-g87022919) 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 (Sep 5 2019 21:59:08)) - Platform #1 [Apple]
====================================================================
* Device #1: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz, skipped
* Device #2: Intel(R) UHD Graphics 630, 384/1536 MB allocatable, 24MCU
* Device #3: AMD Radeon Pro Vega 20 Compute Engine, 1020/4080 MB allocatable, 20MCU

Benchmark relevant options:
===========================
* --optimized-kernel-enable

Hashmode: 0 - MD5

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

<program source>:9:10: fatal error: 'inc_vendor.h' file not found
#include "inc_vendor.h"
^

* Device #2: Kernel /hashcat/OpenCL/m00000_a3-optimized.cl build failed - proceeding without this device.

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

<program source>:11:10: fatal error: 'inc_vendor.h' file not found
#include "inc_vendor.h"

i'm getting this error since upgrade to newer osx catalina had no problem with previous one mojave
Code:
Device #2: Kernel /hashcat/OpenCL/m00000_a3-optimized.cl build failed - proceeding without this device.

the path is weird. It shouldn't be trying to pick up anything from /hashcat but ~/Downloads/hashcat
I am having the same issue. My best guess is that OpenCL is now deprecated on macOS 10.15 Catalina and GPU cracking natively will no longer work. I had limited success using the -O option.

source of my speculation:
https://hashcat.net/forum/thread-7554-po...l#pid40657
well at least there's a reason for the error we getting, nothin related to hashcat.im gonna closing this thread thanks for all the reply and try to let it works
(10-22-2019, 12:01 PM)johnjohnsp1 Wrote: [ -> ]well at least there's a reason for the error we getting, nothin related to hashcat.im gonna closing this thread thanks for all the reply and try to let it works

i gotta walk my original response back a bit. I am throwing NTLM hashes at hashcat today on Catalina 10.15 and its using the GPU fine.

Where I was getting the same issues as this thread were the 13100 Kerberos 5 TGS-REP etype 23 hashes.

Not sure whats going on :/