-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac ARM compilation #244
Comments
The only thing what works for me was to install UTM with Kali Linux and compile with legacy. |
Yeah, virtualization and emulation is a "solution" to run the tool but the performance is horrible. Its like driving a Ferrari car with mini wheels. @albertobsd If you tell me what do I need to do for compiling the Mac version, I can do it and provide it to the community. |
@Alexxino use docker and docker-compose dont forget to give it more RAM on the docker settings docker-compose.yaml
dockerfile
Then go inside the container from terminal they you would go to the keyhunt note it work with legacy not regular make |
I'm trying to do something similar. I have a MacBook Air M2. For now I'm able to compile keyhunt legacy running Kali inside UTM (i.e QEMU) with virtualization, so it runs native on ARM rather than emulating x86_64. It's really great and snappy, UTM is amazing, Kali boots to the desktop in seconds. When compiling keyhunt legacy on native ARM, GCC resolves
Not bad at all for running inside a VM, but I want more. I want keyhunt to use its optimized
Those are two other intrinsics defined in
From what I understand |
using MAC and legacy keyhunt on the docker im getting with memory 256 and threads 512 |
That's roughly what I'm getting with 4 threads and
If I give UTM all 8 cores available on the M2 (4 performance/4 economy) and use For cpu-heavy tasks specifying more threads than the number of cores is counterproductive due to context switching. All Apple M1 and M2 processors have (at least) 8 total cores and you're saturating them with |
Check issue #268 |
Hola Alberto,
it is still impossible to compile or use this awesome tool in the new Mac architecture natively. I have read that you are working on a compatible version. How is that going ?
Using the make legacy I got an error at the end of the compilation:
I have tried installing openssl using brew or linking the binary as I saw in the internet but nothing works.
Do you have any solution?
Thanks!
The text was updated successfully, but these errors were encountered: