New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE #1702

Open
TurtleForGaming opened this Issue Sep 23, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@TurtleForGaming

TurtleForGaming commented Sep 23, 2018

So I'm trying to run hashcat on an old gpu

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 PRO [Radeon HD 4650]

However after installing amd drivers with a lot of trouble hashcat give me this error:

root@Kali-Linux:~# hashcat -b
hashcat (v4.2.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.

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: AMD Athlon(tm) II X2 215 Processor, 1024/3584 MB allocatable, 2MCU

OpenCL Platform #2: Mesa, skipped or no OpenCL compatible devices found.

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

Hashmode: 0 - MD5

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

"/usr/share/hashcat/OpenCL/inc_types.cl", line 355: error: function "amd_bfe"
          declared implicitly
    return amd_bfe (a, b, c);
           ^

"/usr/share/hashcat/OpenCL/inc_types.cl", line 359: error: function "amd_bfe"
          declared implicitly
    return amd_bfe (a, b, c);
           ^

"/usr/share/hashcat/OpenCL/inc_types.cl", line 363: error: type "uint4" is not
          identical to nor covariant with return type "u32"
    return amd_bytealign (a, b, c);
           ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 482: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 1185: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 4106: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 11624: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 31161: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 31863: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 34781: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

"/usr/share/hashcat/OpenCL/inc_common.cl", line 42299: warning: variable
          "offset_minus_4" was declared but never referenced
    const int offset_minus_4 = 4 - offset_mod_4;
              ^

3 errors detected in the compilation of "/usr/share/hashcat/OpenCL/OCLPYhXlf.cl".

Internal error: clc compiler invocation failed.

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

Started: Sun Sep 23 17:22:23 2018
Stopped: Sun Sep 23 17:22:26 2018

I'm runnig kali-linux 32bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment