CleanedBitCrack
CleanedBitCrack copied to clipboard
Not building on Apple M1 (arm64)
Hi,
I'm trying to build with make BUILD_OPENCL=1 on MacBook with M1 (arm64 architecture). I'm getting many warnings of this kind:
ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/liblogger.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcommonutils.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libsecp256k1.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libkeyfinder.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcryptoutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libaddressutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libclutil.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libCLKeySearchDevice.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/x/src/CleanedBitCrack/lib/libcmdparse.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
in the end the build fails with:
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [all] Error 1
Is there a way to build it for arm64 with OpenCL?
Thanks a lot!
i got same error
Hello,
Am sorry about that, but this is designed for GPU usage arm in not included.
But this needs fixing and readme notice, Thanks! For the reminder.
--
Merruk Technology, SARL. www.merruk.com
Hello Maroc-OS
thank you for replay, please just put one release for this code (compiled version as release).
appreciate your help @Maroc-OS
@Maroc-OS I'd like to offer my help, to fix the build on arm64. I have quite OK C skills, however they seem to be not good enough so that I'm able to spot the actual issue. But with some guidance from you, I might be able to fix it. So, please just give me some guidance on where to start if you think that might help.
Hello,
Thank for your offer.
Making it compile and run is not the issue here. But arm doesn’t have dedicated GPU to compute the same way as nvidia/amd/intel ones, thats the real issue.
OpenCL doesn’t completely support Apple’s SoC, as i know: does it??
I did not make any researches about this but ll keep this issue open for now until i get some time to make sure its not going to work.
--
Merruk Technology, SARL. www.merruk.com
bro, will you fix this issue?? and make it run with M1 GPU is awesome
hello Maroc-OS
take a look AT hashcat from matrix see:Hashcat-M1/matrix
OpenCL works on M1 Macs ... you only need for power (pro/max) Modell not the base
hope you can use it
Are there any news, if bitcrack can run on M1 chips?