cargo-zigbuild
cargo-zigbuild copied to clipboard
Unknown type and functions when cross compiling zlib-ng v2.1.5 to aarch64 linux
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:13:16: error: unknown type name 'uint16x2_t'
Z_REGISTER uint16x2_t v;
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:14:5: error: use of undeclared identifier 'uint16x2_t'
uint16x2_t p0, p1, p2, p3;
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:23:24: error: use of undeclared identifier 'uint16x2_t'
n = size / (sizeof(uint16x2_t) * 4);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:25:9: error: use of undeclared identifier 'p0'
p0 = *((const uint16x2_t *)(table));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:25:23: error: unknown type name 'uint16x2_t'
p0 = *((const uint16x2_t *)(table));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:26:9: error: use of undeclared identifier 'p1'
p1 = *((const uint16x2_t *)(table+2));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:26:23: error: unknown type name 'uint16x2_t'
p1 = *((const uint16x2_t *)(table+2));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:27:9: error: use of undeclared identifier 'p2'
p2 = *((const uint16x2_t *)(table+4));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:27:23: error: unknown type name 'uint16x2_t'
p2 = *((const uint16x2_t *)(table+4));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:28:9: error: use of undeclared identifier 'p3'
p3 = *((const uint16x2_t *)(table+6));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:28:23: error: unknown type name 'uint16x2_t'
p3 = *((const uint16x2_t *)(table+6));
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:29:9: error: use of undeclared identifier 'p0'
p0 = __uqsub16(p0, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:29:14: warning: call to undeclared function '__uqsub16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
p0 = __uqsub16(p0, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:29:24: error: use of undeclared identifier 'p0'
p0 = __uqsub16(p0, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:30:9: error: use of undeclared identifier 'p1'
p1 = __uqsub16(p1, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:30:24: error: use of undeclared identifier 'p1'
p1 = __uqsub16(p1, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:31:9: error: use of undeclared identifier 'p2'
p2 = __uqsub16(p2, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:31:24: error: use of undeclared identifier 'p2'
p2 = __uqsub16(p2, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:32:9: error: use of undeclared identifier 'p3'
p3 = __uqsub16(p3, v);
^
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.14/src/zlib-ng/arch/arm/slide_hash_armv6.c:32:24: error: use of undeclared identifier 'p3'
p3 = __uqsub16(p3, v);
^