ARM64 CrossCompile is broken #377

Open
opened 2020-04-03 16:00:33 +02:00 by BrannonKing · 2 comments
BrannonKing commented 2020-04-03 16:00:33 +02:00 (Migrated from github.com)

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.

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 2020-07-23 23:43:27 +02:00 (Migrated from github.com)

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"

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 2020-07-24 05:36:59 +02:00 (Migrated from github.com)

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

@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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#377
No description provided.