|
Message-ID: <20200903205626.GA18776@openwall.com> Date: Thu, 3 Sep 2020 22:56:26 +0200 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Cc: Axymeus <axymeus@...il.com>, Claudio Andre <claudioandre.br@...il.com> Subject: Re: opencl_device_info.h not found On Thu, Sep 03, 2020 at 09:36:24PM +0200, Solar Designer wrote: > On Mon, Aug 31, 2020 at 01:44:40PM +0200, Axymeus wrote: > > Build log: <kernel>:20:10: fatal error: 'opencl_device_info.h' file not found > > #include "opencl_device_info.h" > > ^ > > > > Error building kernel /run/kernels/rar_kernel.cl. DEVICE_INFO=1048594 > > 0: OpenCL CL_BUILD_PROGRAM_FAILURE (-11) error in opencl_common.c:1386 > > - clBuildProgram > > This issue was reported a few times, but I think we never figured it > out. It looks like the pathname somehow was not expanded properly - > note the leading slash before "/run". > > I suggest that you try this workaround: > > https://github.com/openwall/john/issues/3191#issuecomment-639818020 > > "Copy OpenCL.dll installed in C:\Windows\System32 to JtR's run > directory, and rename it to cygOpenCL-1.dll." > > You didn't mention what version of JtR you were using, but by the > run/kernels pathname and line number 1386 I guess it's 1.9.0-jumbo-1. > We've since reworked the placement of OpenCL kernels, so that they're > now under run/opencl (not run/kernels), and more importantly are there > all the time instead of being copied to there at build time (although > this happens before packaging, if you downloaded binaries). You might > want to try our latest development build from here: > > https://github.com/openwall/john-packages/releases/tag/jumbo-dev Axymeus replied to me off-list (I assume inadvertently) saying that neither workaround worked: On Thu, Sep 03, 2020 at 10:30:55PM +0200, Axymeus wrote: > Yeah forgot to mention I was running 1.9.0-jumbo-1 as you have > inferred rather astutely. > > I tried copying OpenCL.dll from sys32 and then from syswow64 (since > I'm using the win64 build) but both attempts have failed. The sys32 > one gives the same error and the syswow64 prevents john from running. > The jumbo-dev build also fails in an identical way. Here's a new idea: maybe the problem has to do with what command-line shell john.exe is run from. Axymeus, which one are you using and can you try another (e.g., PowerShell vs. Cygwin bash)? Does this make a difference for you? 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.