|
Message-ID: <CAFZ9rnKBLV+LEJMsF0-pfrU=2ZCFaz94SRdahNHWKWjeCBa4Jg@mail.gmail.com> Date: Mon, 28 Jan 2013 15:57:50 +0530 From: Piyush Mittal <me@...ushmittal.in> To: john-users@...ts.openwall.com Subject: Re: Driver version conflict > > Can you spot a difference in CUDA libs/paths if you compare the output of > "ldd john" with "ldd <working-cuda-program>"? > Dependencies are as follows for john and other program : For John: node@...e:~/Desktop/john-1.7.9-jumbo-7/run$ ldd john linux-vdso.so.1 => (0x00007fffaffff000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007ff0f5bc8000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007ff0f5800000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff0f5505000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff0f52ee000) libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007ff0f50b5000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff0f4eb0000) libcudart.so.5.0 => /usr/local/cuda-5.0/lib64/libcudart.so.5.0 (0x00007ff0f4c56000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff0f4899000) /lib64/ld-linux-x86-64.so.2 (0x00007ff0f5e36000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff0f467b000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff0f437b000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff0f4165000) For My program : node@...e:~/Desktop/cuda$ ldd a.out linux-vdso.so.1 => (0x00007fff96d7b000) libcudart.so.5.0 => /usr/local/cuda-5.0/lib64/libcudart.so.5.0 (0x00007f513aeb5000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f513aae8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f513a8e3000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f513a6c6000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f513a3c6000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f513a1af000) /lib64/ld-linux-x86-64.so.2 (0x00007f513b111000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5139eb5000) Did you build 64-bit or 32-bit? Try the other and see if there's a > difference. > I built 64 bit and with 32 bit it is throwing flowing errors : gcc -c x86.S x86.S: Assembler messages: x86.S:145: Error: invalid instruction suffix for `push' x86.S:180: Error: invalid instruction suffix for `pop' x86.S:824: Error: invalid instruction suffix for `push' x86.S:826: Error: invalid instruction suffix for `push' x86.S:827: Error: invalid instruction suffix for `push' x86.S:828: Error: invalid instruction suffix for `push' x86.S:971: Error: 0xefcdab89 out range of signed 32bit displacement x86.S:976: Error: invalid instruction suffix for `pop' x86.S:977: Error: invalid instruction suffix for `pop' x86.S:978: Error: invalid instruction suffix for `pop' x86.S:979: Error: invalid instruction suffix for `pop' x86.S:1308: Error: invalid instruction suffix for `push' x86.S:1312: Error: invalid instruction suffix for `pushf' x86.S:1313: Error: invalid instruction suffix for `pushf' x86.S:1315: Error: invalid instruction suffix for `popf' x86.S:1316: Error: invalid instruction suffix for `pushf' x86.S:1317: Error: invalid instruction suffix for `pop' x86.S:1319: Error: invalid instruction suffix for `popf' x86.S:1326: Error: invalid instruction suffix for `push' x86.S:1368: Error: invalid instruction suffix for `pop' x86.S:1420: Error: invalid instruction suffix for `pop' make[1]: *** [x86.o] Error 1 make[1]: Leaving directory `/home/node/Desktop/john-1.7.9-jumbo-7/src' make: *** [linux-x86-cuda] Error 2 Does an OpenCL build of John work? What does "./john --list=opencl-devices" > say? > I haven't installed opencl and it is showing as follows node@...e:~/Desktop/john-1.7.9-jumbo-7/run$ ./john --list=opencl-devices Section [opencl-devices] not found. help[:WHAT], subformats, inc-modes, rules, externals, ext-filters, ext-filters-only, ext-modes, build-info, hidden-options, encodings, formats, format-details, format-all-details, format-methods[:WHICH], sections, parameters:SECTION, list-data:SECTION, cuda-devices, <conf section name>
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.