CL_BUILD_PROGRAM_FAILURE
#1
Hello everyone,

It seems this error has been encountered before ( https://hashcat.net/forum/thread-8343.html )

However I am running the newest version of Hashcat, and I have verified rocm is install correctly on my system.

I'm running on Fedora30


Output of uname -r
Code:
5.1.5-300.fc30.x86_64

and I am getting the following output;

Code:
sudo hashcat -b --optimized-kernel-enable -m 11300


hashcat (v5.1.0) 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 Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: gfx900, 13912/16368 MB allocatable, 64MCU

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

Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 199999)

/tmp/AMD_13669_18/t_13669_20.cl:214:15: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
__kernel void m11300_comp (KERN_ATTR_TMPS_ESALT (bitcoin_wallet_tmp_t, bitcoin_wallet_t))
             ^
1 warning generated.
warning: <unknown>:0:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_carry_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_carry_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)

: error: undefined hidden symbol: switch_buffer_by_offset_8x4_be_S
>>> referenced by /usr/share/hashcat/OpenCL/t_13669_33-f3a1d6.o:(m11300_init)
Error: Creating the executable from LLVM IRs failed.

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

I was previously getting the Gallium/Mesa error, so I removed the mesa-opencl package using rpm -e, and it at least got me this far.   Some other hashes work just fine in benchmark mode.

Previous threads seem to note an issue with the AMD driver, and a workaround was placed in Hashcat, however since the error is popping up for me, I'm guessing it's not fully resolved.

has anyone got an idea of what I can do to get it working short of blowing my machine away and installing Ubuntu or something?
Reply
#2
Was already fixed with latest beta.
Reply