Skip to content
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

Building keccak for nerves using rpi5 #53

Open
steffenix opened this issue May 24, 2024 · 2 comments
Open

Building keccak for nerves using rpi5 #53

steffenix opened this issue May 24, 2024 · 2 comments

Comments

@steffenix
Copy link

steffenix commented May 24, 2024

I am trying to use ex_keccak on a nerve instance deployed on a rpi5.
I have used the option to force_build ex_keccak. Once I am getting to the step that creates the firmware I am getting an issue with the libexkeccak.so the arch is incorrect.

Got:
 file:Mach-O 64-bit dynamically linked shared library arm64

Expecting:
 readelf:AArch64;0x0

How could I force it to compile for AArch64;0x0?

@tzumby
Copy link
Collaborator

tzumby commented May 24, 2024

Hey @steffenix, I'll look into this, we might have to add a special target here: https://github.com/ExWeb3/ex_keccak/blob/main/native/exkeccak/.cargo/config

@steffenix
Copy link
Author

steffenix commented May 24, 2024

After looking at rustler_precompiled doc, I am leaning toward an issue with the rustler_precompiled library. That could also be an issue with nerves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants