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 #1715

Open
qiufengqq opened this Issue Oct 9, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@qiufengqq

qiufengqq commented Oct 9, 2018

hashcat (v4.1.0) starting...

OpenCL Platform #1: NVIDIA Corporation

  • Device #1: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU

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

Applicable optimizers:

  • Zero-Byte
  • Single-Hash
  • Single-Salt
  • Brute-Force
  • Slow-Hash-SIMD-LOOP

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Watchdog: Temperature abort trigger set to 90c

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

:12:1: error: unknown type name 'DECLSPEC'
DECLSPEC void generate_pw (u32 pw_buf[64], __global const cs_t *root_css_buf, __global const cs_t *markov_css_buf, const u32 pw_l_len, const u32 pw_r_len, const u32 mask80, const u32 bits14, const u32 bits15, u64 val)
^
:12:10: error: expected identifier or '('
DECLSPEC void generate_pw (u32 pw_buf[64], __global const cs_t *root_css_buf, __global const cs_t *markov_css_buf, const u32 pw_l_len, const u32 pw_r_len, const u32 mask80, const u32 bits14, const u32 bits15, u64 val)
^
:55:3: warning: implicit declaration of function 'generate_pw' is invalid in C99
generate_pw (pw_buf, root_css_buf, markov_css_buf, pw_l_len, pw_r_len, mask80, bits14, bits15, off + gid);
^

  • Device #1: Kernel /usr/local/share/hashcat/OpenCL/markov_le.cl build failed - proceeding without this device.
@qiufengqq

This comment has been minimized.

Show comment
Hide comment
@qiufengqq

qiufengqq Oct 9, 2018

the hashcat version is 4.1.x or later ,will find the error above, version old than 4.0.x is run well.

qiufengqq commented Oct 9, 2018

the hashcat version is 4.1.x or later ,will find the error above, version old than 4.0.x is run well.

@philsmd

This comment has been minimized.

Show comment
Hide comment
@philsmd

philsmd Oct 11, 2018

Member

It seems you are compiling hashcat yourself by using "make install", is that right?

Are you sure that you always used the "make uninstall" before you installed the new version ?

What happens if you just use the normal "make" and try running hashcat like this

./hashcat -b

i.e. run it locally from the current working directory (cwd)

Furhermore, please make sure that /usr/local/share/hashcat/OpenCL/inc_vendor.cl exists and contains the DECLSPEC declarations e.g.

#define DECLSPEC inline

etc

I would say it makes sense to also try the latest beta and release versions and if all of them work I would assume it has something to do with your way that you've installed hashcat (or is this a package provided by a repo that misses some files ? did you manually compile it or not ?)

Member

philsmd commented Oct 11, 2018

It seems you are compiling hashcat yourself by using "make install", is that right?

Are you sure that you always used the "make uninstall" before you installed the new version ?

What happens if you just use the normal "make" and try running hashcat like this

./hashcat -b

i.e. run it locally from the current working directory (cwd)

Furhermore, please make sure that /usr/local/share/hashcat/OpenCL/inc_vendor.cl exists and contains the DECLSPEC declarations e.g.

#define DECLSPEC inline

etc

I would say it makes sense to also try the latest beta and release versions and if all of them work I would assume it has something to do with your way that you've installed hashcat (or is this a package provided by a repo that misses some files ? did you manually compile it or not ?)

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