lbryio / lbrycrd

The blockchain that provides the digital content namespace for the LBRY protocol
https://lbry.com
MIT License
2.58k stars 178 forks source link

ARM64 CrossCompile is broken #377

Open BrannonKing opened 4 years ago

BrannonKing commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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.