-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
hard float ABI passed to arm32 android compilations, which require softfp ABI #21488
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
Comments
#21269 regressed this case inadvertently because However, it's a bit more complicated because I'll fix this as part of my follow-up work on float ABI stuff. |
For reference, the docs seem to say that hardfloat ABI is never used on ARM32 android |
…ase. Abi.android on its own is not enough to know whether soft float or hard float should be used. In the C world, androideabi is typically used for the soft float case, so let's go with that. Note that Android doesn't have a hard float ABI, so no androideabihf. Closes ziglang#21488.
Zig Version
0.14.0-dev.1632+d83a3f174
Steps to Reproduce and Observed Behavior
Clone the
1ed2bd6b00604eceeb4cc28937eec4e962e2ea30
commit of this repo.install the android NDK version 21
uncomment these lines
https://github.com/LittleBigRefresh/scetool/blob/1ed2bd6b00604eceeb4cc28937eec4e962e2ea30/build.zig#L72
receive this error
Expected Behavior
Compilation succeeds
The text was updated successfully, but these errors were encountered: