Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 19 Apr 2018 10:30:21 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: OpenCL Failures with John Bleeding

I am seeing the following OpenCL failures in MacOS 10.13.4 with a Radeon RX 580 GPU.  

John the Ripper 1.8.0.13-jumbo-1-bleeding-788226961 2018-04-18 16:10:04 +0200 [darwin17.5.0 64-bit x86_64 AVX2 AC]

./john -test -format:md5crypt-opencl -devices=2
Device 2: AMD Radeon RX 580 Compute Engine

Benchmarking: md5crypt-opencl, crypt(3) $1$ [MD5 OpenCL]... Options used: -I /Users/emwinkler/Desktop/JohnTheRipper/run/kernels -cl-mad-enable -D__OS_X__ -D__GPU__ -DDEVICE_INFO=10 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=1 -DDEV_VER_MINOR=2 -D_OPENCL_COMPILER -DPLAINTEXT_LENGTH=15 $JOHN/kernels/cryptmd5_kernel.cl
Build log: Error returned by cvms_element_build_from_source
Error -11 building kernel $JOHN/kernels/cryptmd5_kernel.cl. DEVICE_INFO=10
OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in opencl_common.c:1168 - clBuildProgram failed.



./john -test -format:sha512crypt-opencl -devices=2
Device 2: AMD Radeon RX 580 Compute Engine

Benchmarking: sha512crypt-opencl, crypt(3) $6$ (rounds=5000) [SHA512 OpenCL]... Options used: -I /Users/emwinkler/Desktop/JohnTheRipper/run/kernels -cl-mad-enable -D__OS_X__ -D__GPU__ -DDEVICE_INFO=10 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=1 -DDEV_VER_MINOR=2 -D_OPENCL_COMPILER  $JOHN/kernels/cryptsha512_kernel_GPU.cl
Build log: <program source>:164:16: error: call to 'bitselect' is ambiguous
    w_vector = SWAP64_V(w_vector);
               ^~~~~~~~~~~~~~~~~~
/Users/emwinkler/Desktop/JohnTheRipper/run/kernels/opencl_sha512.h:33:33: note: expanded from macro 'SWAP64_V'
#define SWAP64_V(n)             SWAP64(n)
                                ^~~~~~~~~
/Users/emwinkler/Desktop/JohnTheRipper/run/kernels/opencl_misc.h:182:3: note: expanded from macro 'SWAP64'
                bitselect(rotate(n, 24UL), \
  ^~~~~~~~~
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:5254:22: note: candidate function
ulong16 __OVERLOAD__ bitselect( ulong16 x, ulong16 y, long16 m);
                     ^
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:5302:22: note: candidate function
ulong16 __OVERLOAD__ bitselect( ulong16 x, ulong16 y, ulong16 m);
                     ^

Error -11 building kernel $JOHN/kernels/cryptsha512_kernel_GPU.cl. DEVICE_INFO=10
OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in opencl_common.c:1168 - clBuildProgram failed.
Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.