mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #707] OpenCL error on OSX after successfull compilation with GCC-4.9 #354
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donovan0 on GitHub (Aug 3, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/707
Hi,
Sorry to double post, i didn't no if that tech' errors issues depend to the John-Users M.List or here on Github list.
So here the facts ;
From this post = http://comments.gmane.org/gmane.comp.security.openwall.john.user/7450
( look my last post )
I finaly upgrade as well my system : Openssl last version & GCC-4.9 as well, i got a successfull compilation, but opencl don't work anymore ...
Here the details
Same machine & OS version : 1.8.5
Homebrew updates :
Openssl = OpenSSL 1.0.1h 5 Jun 2014
GCC = gcc (Homebrew gcc49 4.9.0) 4.9.0
Symlinks added as well + paths env ok ;
cat .bash_profile
export PATH=/usr/local/bin:$PATH
export ARCHFLAGS=-arch x86_64
export CC=/usr/local/bin/gcc-4.9
cp -avi osx_as_wrapper.sh /usr/local/bin/as
./configure CC=/usr/local/bin/gcc-4.9
........
...
Configured for building John the Ripper 1.8.0.2-bleeding-jumbo:
Target CPU .................................. x86_64 AVX, 64-bit LE
AES-NI support .............................. depends on OpenSSL
Target OS ................................... darwin12.5.0
Cross compiling ............................. no
Legacy arch header .......................... x86-64.h
OpenMPI support (default disabled) .......... no
Fork support ................................ yes
OpenMP support .............................. yes
OpenCL support .............................. yes
CUDA support ................................ no
Generic crypt(3) format ..................... yes
Optional libraries found:
Rexgen (extra cracking mode) ................ no
GMP (performance) ........................... no
NSS/NSPR (Mozilla format) ................... no
Kerberos5 (krb5-18/23 formats) .............. yes (Heimdal w/ MKShim)
PCAP (vncpcap2john and SIPdump) ............. yes
BZ2 (gpg2john extra decompression logic) .... yes
Install missing libraries to get any needed features that were omitted.
Configure finished. Do 'make -s' to compile.
MacBookPro:src xxx$ make -s
DES_std.c: In function 'DES_std_set_key':
DES_std.c:637:17: warning: array subscript is above array bounds
[-Warray-bounds]
while (DES_key[i++]) k += 2;
^
ar: creating archive aes.a
Make process completed.
Tests & bench on TOP on CPU but OPENCL DON'T work anymore !
./john --format=descrypt --test
Will run 8 OpenMP threads
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]...
(8xOMP) DONE
Many salts: 15269K c/s real, 2579K c/s virtual
Only one salt: 13271K c/s real, 2391K c/s virtual
./john --format=raw-md5 --test
Will run 8 OpenMP threads
Benchmarking: Raw-MD5 [MD5 128/128 AVX 12x]... (8xOMP) DONE
Raw: 54755K c/s real, 18624K c/s virtual
Here the Opencl errors ;
./john --format=raw-md5-opencl --test
Benchmarking: Raw-MD5-opencl [MD5 OpenCL (inefficient, development use
only)]... Device 1: ATI Radeon HD 6750M
Build log: :18:10: fatal error: 'opencl_device_info.h' file
not found
include "opencl_device_info.h"
Error -11 building kernel. DEVICE_INFO=1090
OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line
(763) - (clBuildProgram failed.)
./john --format=descrypt-opencl --test
Benchmarking: descrypt-opencl, traditional crypt(3) [DES OpenCL]... Device
1: ATI Radeon HD 6750M
Build log: :60:10: fatal error: 'opencl_DES_WGS.h' file not
found
include "opencl_DES_WGS.h"
Error -11 building kernel. DEVICE_INFO=1090
OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line
(763) - (clBuildProgram failed.)
Any help are welcome,
Thank you !
Don.
@magnumripper commented on GitHub (Aug 3, 2014):
This is a bug in OS X 10.8, it was fixed in 10.9/Mavericks and a workaround for you is listed in doc/BUGS.
@donovan0 commented on GitHub (Aug 3, 2014):
Hi Magnum,
Thanks for reply, ok understand...., so i'm good for Mavericks update !
2014-08-03 19:13 GMT+02:00 magnum notifications@github.com:
@magnumripper commented on GitHub (Aug 4, 2014):
Yeah it's free so I see no reason not to upgrade!