cargo-zigbuild
cargo-zigbuild copied to clipboard
invalid instruction: [email protected]: strd r4,[sp,#0]
Wrong build for ring:
% cargo-zigbuild b --target=arm-unknown-linux-gnueabi
Compiling ring v0.17.8
The following warnings were emitted during compilation:
warning: [email protected]: crypto/curve25519/asm/x25519-asm-arm.S:36:1: error: invalid instruction, any one of the following would fix this:
warning: [email protected]: strd r4,[sp,#0]
warning: [email protected]: ^
warning: [email protected]: crypto/curve25519/asm/x25519-asm-arm.S:36:14: note: too few operands for instruction
warning: [email protected]: strd r4,[sp,#0]
warning: [email protected]: ^
warning: [email protected]: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: armv5te
warning: [email protected]: strd r4,[sp,#0]
warning: [email protected]: ^
warning: [email protected]: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: thumb2
warning: [email protected]: strd r4,[sp,#0]
warning: [email protected]: ^
...
I tested using https://github.com/rust-cross/cargo-zigbuild/commit/841df510dff8c585690e85354998bbcb6695460f and this still happens.