Skip to content

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

@edwardzhu

Description

@edwardzhu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions