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

add support for ARM #71

Closed
sheriflouis-FF opened this issue Oct 30, 2021 · 2 comments
Closed

add support for ARM #71

sheriflouis-FF opened this issue Oct 30, 2021 · 2 comments

Comments

@sheriflouis-FF
Copy link

When I try to compile estuary under an ARM machine I get:
# github.com/filecoin-project/filecoin-ffi/generated /usr/bin/ld: skipping incompatible extern/filecoin-ffi/generated/../libfilcrypto.a when searching for -lfilcrypto /usr/bin/ld: skipping incompatible extern/filecoin-ffi/generated/../libfilcrypto.a when searching for -lfilcrypto /usr/bin/ld: skipping incompatible extern/filecoin-ffi/generated/../libfilcrypto.a when searching for -lfilcrypto /usr/bin/ld: skipping incompatible extern/filecoin-ffi/generated/../libfilcrypto.a when searching for -lfilcrypto /usr/bin/ld: skipping incompatible extern/filecoin-ffi/generated/../libfilcrypto.a when searching for -lfilcrypto /usr/bin/ld: cannot find -lfilcrypto collect2: error: ld returned 1 exit status make: *** [Makefile:67: estuary] Error 2

Architecture:
# lscpu Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit
OS:
5.4.0-1045-aws

@alvin-reyes
Copy link
Contributor

Quick investigation on this It seems its there is a workaround based on this lotus issue here filecoin-project/lotus#1779 (comment)

RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 make clean deps bench

@en0ma
Copy link
Contributor

en0ma commented Jun 4, 2022

@sheriflouis-FF closing this for now, if the solution proposed by @alvin-reyes did not help, please let us know.

@en0ma en0ma closed this as completed Jun 4, 2022
Repository owner moved this from Backlog to Done in Estuary Engineering Task Board Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants