|
Message-ID: <20121211230941.GA6825@openwall.com> Date: Wed, 12 Dec 2012 03:09:41 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: OpenCL kernel search path magnum, all - There was also: <hacktalkblog> @solardiz Having some issues with Jumbo 7 OpenCL support in Mac OSX 10.8.2 with ATI Radeon late 2011 macbook pro http://pastebin.com/dPbNDCiE The pastebin gives: [00:09:24 connection@...DOS.local:~]$ john -form:raw-md5-opencl --device:1 crackme/md5test.txt OpenCL platform 0: Apple, 2 device(s). Using device 1: ATI Radeon HD 6770M OpenCL error (UNKNOWN ERROR :() in file (common-opencl.c) at line (39) - (Source kernel not found!) Looks like "john" was found via PATH, in which case argv[0] does not give the path to the run directory... or/and maybe the directory did not contain the OpenCL kernels in this specific case. I am not sure what we want to do about this, if anything. For non-system-wide builds/installs, we can simply state that "john" should be invoked with the path specified (at least relative to cwd) - e.g., "./john" in the run directory or "../run/john" if invoking from src. We'll need to support system-wide installs with OpenCL kernels, though. I recall that this topic was brought up on john-users in Gentoo package context, but I don't recall whether there was any conclusion or determination. Alexander
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.