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

no member named 'vfpv' in 'ArmFeatures' when compiling ndk_compat for arm #96

Closed
robertarnesson opened this issue Nov 25, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@robertarnesson
Copy link

Compiling ndk_compat for Android arm devices results in the error below:

/build/src/ndk_compat/cpu-features.c:118:21: error: no member named 'vfpv' in 'ArmFeatures' if (info.features.vfpv) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_VFPv2; ~~~~~~~~~~~~~ ^ 1 error generated.

..and sure enough looking in include/cpuinfo_arm.h there is no vfpv property. Looking through the file history it seems there never was. I'm scratching my head here, am I doing something wrong or is this a bug that has been there forever?

Commenting out line 118 in ndk_compat/cpu-features.c solves the issue

@gchatelet gchatelet added the bug Something isn't working label Nov 26, 2019
@gchatelet
Copy link
Collaborator

Thx it's a typo, it should have been vfp (code).

@gchatelet gchatelet added this to the Release v0.5.0 milestone Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants