Closed filippoweb3 closed 5 months ago
Looks like upstream issue with secp256k1. We don't have an M1 here to reproduce and figure this out yet. This will probably have to wait quite a bit, until we or upstream Substrate changes to more native crate instead of this wrapper, or someone with M1 figures out how to cross-compile this. The focus now is on making this buildable on more popular embedded dev architectures.
Hey @filippoweb3
it might be an issue with the arm-none-eabi-gcc
provided by brew, if you got the compiler by running brew install arm-none-eabi-gcc
uninstall it.
you can get compiler from here https://developer.arm.com/downloads/-/gnu-rm (that worked for me) alternatively it should also work with brew if you install whole toolchain, try brew install --cask gcc-arm-embedded
@Vovke thanks! I was able to build the code and the install it on the Kampela signer. However the rust code compiled with many warnings. Let me know if you want me to share the info here.
@Vovke thanks! I was able to build the code and the install it on the Kampela signer. However the rust code compiled with many warnings. Let me know if you want me to share the info here.
no need, those are low prio and not macos related. we will get them resolved after more urgent ones! Thanks for pointing out blocking issue!
I am trying to follow the guidelines to build the rust code in release mode, but I am getting the error below