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

ARM64 CrossCompile is broken #377

Open
BrannonKing opened this issue Apr 3, 2020 · 2 comments
Open

ARM64 CrossCompile is broken #377

BrannonKing opened this issue Apr 3, 2020 · 2 comments

Comments

@BrannonKing
Copy link
Member

Bitcoin v19 has support for ARM64 cross compilation. To make this work on lbrycrd we need to add the necessary ARM64 compilation flags into icu.mk in depends/packages.

@kodxana
Copy link

kodxana commented Jul 23, 2020

I was able to compile LBRYcrd for armhf without any problems :)
./configure --enable-static=no --enable-shared --with-pic --disable-bench --with-gui CXXFLAGS="-O3 -march=native" BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include"

@BrannonKing
Copy link
Member Author

@kodxana , this issue specifically refers to cross compile, meaning compiling for ARM64 from an x64 architecture machine. More specifically, a few of the "depends" makefiles need to be updated, which it appears that you weren't using in your compilation call.

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