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

How can I build for Linux aarm64, like raspberry pi? #49

Open
edwardzhu opened this issue Feb 9, 2021 · 0 comments
Open

How can I build for Linux aarm64, like raspberry pi? #49

edwardzhu opened this issue Feb 9, 2021 · 0 comments

Comments

@edwardzhu
Copy link

When the project is built on Linux ARM64, it throws the errors.

Command:

cmake .. -DMULTY_WITH_TESTS=OFF && make

Error:

In file included from /home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt.c:38:
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c: In function ‘neon_salsa20_8_intrinsic’:
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:107:5: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
     x0x1x2x3 = vld1q_u8((uint8_t *) input);
     ^~~~~~~~
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:107:14: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x0x1x2x3 = vld1q_u8((uint8_t *) input);
              ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:108:14: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x4x5x6x7 = vld1q_u8(16 + (uint8_t *) input);
              ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:109:16: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x8x9x10x11 = vld1q_u8(32 + (uint8_t *) input);
                ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:110:18: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x12x13x14x15 = vld1q_u8(48 + (uint8_t *) input);
                  ^
make[2]: *** [third-party/libwally-core/CMakeFiles/libwally-core.dir/build.make:206: third-party/libwally-core/CMakeFiles/libwally-core.dir/src/scrypt.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:365: third-party/libwally-core/CMakeFiles/libwally-core.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Does Multy-core support aarm64? How can I configure the make parameter to build the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant