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

invalid instruction: ring@0.17.8: strd r4,[sp,#0] #253

Open
otavio opened this issue May 25, 2024 · 1 comment
Open

invalid instruction: ring@0.17.8: strd r4,[sp,#0] #253

otavio opened this issue May 25, 2024 · 1 comment

Comments

@otavio
Copy link

otavio commented May 25, 2024

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: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: error: invalid instruction, any one of the following would fix this:
warning: ring@0.17.8: strd r4,[sp,#0]
warning: ring@0.17.8: ^
warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:14: note: too few operands for instruction
warning: ring@0.17.8: strd r4,[sp,#0]
warning: ring@0.17.8:              ^
warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: armv5te
warning: ring@0.17.8: strd r4,[sp,#0]
warning: ring@0.17.8: ^
warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: thumb2
warning: ring@0.17.8: strd r4,[sp,#0]
warning: ring@0.17.8: ^
...
@otavio
Copy link
Author

otavio commented May 25, 2024

I tested using 841df51 and this still happens.

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

No branches or pull requests

1 participant