Build error on ARM Mac (Apple Sillicon)
I couldn't build Beef on my M1 Mac. This errors only occur on ARM mac, not on rosetta2 or x64. It seems ARM mac currently unsupported.
This happens on current latest version (v0.43.4). Any advices or informations about ARM mac are welcome.
Error log screenshots
---
---
I would guess that this is because the libffi version that comes with beef does not support the M1 Mac, you could try simply replacing the libffi in the repo (here) with the one from https://github.com/libffi/libffi and see if it works.
I am new to Beef and tried building on my Mac Pro with M1 Chip. I gave it a fair attempt and concluded the libffi @disarray2077 @funatsufumiya doesn't support MacOS ARM. I also tried with the latest version libffi-3.4.5 and got the same results as above.
I guess the author of libffi does take request for adding additional architectures which I think would be the fist step for getting Beef working on M1. If that hasn't already been done?
This seems to indicate libffi as of 2022 should work: https://github.com/ffi/ffi/issues/922