lbrycrd icon indicating copy to clipboard operation
lbrycrd copied to clipboard

ARM64 CrossCompile is broken

Open BrannonKing opened this issue 4 years ago • 2 comments

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.

BrannonKing avatar Apr 03 '20 14:04 BrannonKing

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"

kodxana avatar Jul 23 '20 21:07 kodxana

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

BrannonKing avatar Jul 24 '20 03:07 BrannonKing