Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 18 Aug 2012 18:00:23 +0800
From: myrice <qqlddg@...il.com>
To: john-dev@...ts.openwall.com
Subject: OSX 10.8 (GT 650M) build fail

Hi,

I just got OSX 10.8 and GT 650M. But lastest magnum-jumbo failed on this.


I use make macosx-x86-64-opencl, it first report the error:

sed -n 's/^\(struct fmt_main [^ ]*\) =.*/extern \1;/p' *_fmt_plug.c >
fmt_externs.h
sed: RE error: illegal byte sequence
make[1]: *** [fmt_externs.h] Error 1
make: *** [macosx-x86-64-opencl] Error 2

It is osx 10.8 has strict sed. I add LANG=C to make macosx-x86-64-opencl

The interesting thing is, when I first run this command, the error
still there. But the second will be okay.

Then compilation was successful. I run ../run/john -te=1
-fo=raw-md5-opencl, it works using CPU:

Myrices-RMBP:run myrice$ ../run/john -te=1 -fo=raw-md5-opencl
OpenCL platform 0: Apple, 2 device(s).
Using device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Local work size (LWS) 1, Global work size (GWS) 2097152
Benchmarking: Raw MD5 [OpenCL]... DONE
Raw:	25964K c/s real, 4521K c/s virtual

Now on GPU:

Myrices-RMBP:run myrice$ ../run/john -te=1 -fo=raw-md5-opencl -dev=1
OpenCL platform 0: Apple, 2 device(s).
Using device 1: GeForce GT 650M
Compilation log:
Error building kernel. Returned build code: -11. DEVICE_INFO=130
OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at
line (136) - (clBuildProgram failed.)

I still have no idea about it. Any ideas?

Thanks
myrice

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ