Android NDK 18b issues
See original GitHub issueLibffi latest stable version is incompatible with Android NDK 18b:
../src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax?
fldmiadgt ip, {d0-d7}
^
../src/arm/sysv.S:399:2: error: invalid instruction
stmeqia r2, {r0, r1}
^
../src/arm/sysv.S:412:2: error: invalid instruction, did you mean: fstmiax?
fstmiadeq r2, {d0-d3}
^
/tmp/sysv-5d4296.s:263:2: error: invalid instruction
fstmfdd sp!, {d0-d7}
^
/tmp/sysv-5d4296.s:313:2: error: invalid instruction, did you mean: fldmiax?
fldmiad sp, {d0-d1}
^
/tmp/sysv-5d4296.s:316:2: error: invalid instruction, did you mean: fldmiax?
fldmiad sp, {d0-d3}
It appears to be because of clang 7.0, which doesn’t accept deprecated functions. The Android libffi version have fixes: https://android.googlesource.com/platform/external/libffi/+/ca22c3cb49a8cca299828c5ffad6fcfa76fdfa77
Didn’t tested if libffi master have the fixes, but stable don’t.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
NDK Revision History | Android NDK - Android Developers
This page provides information on changes in all released stable versions of the NDK. To download the latest stable version of the NDK...
Read more >NDK - problems after GNUSTL has been removed from the ...
Today I updated my Android Studio NDK to the most recent release 18.0.5002713 . After the successful installation process I tried to rerun ......
Read more >Android: Standalone toolchain API level detection no longer ...
If you are using Android NDK 18b standalone then you are getting always a warning that the API level can't be identified.
Read more >Android NDK r18b breaks Unreal 4.23
I'm trying to Android NDK 18b for Unreal's 4.23's included First Person Shooter sample program… I installed the Android NDK r18b from this ......
Read more >Android SDK And NDK Troubleshooting - Castle Game Engine
The Android NDK for 32-bit Windows has a known error in version r12b, see https://github.com/android-ndk/ndk/issues/139 . The clang binaries are for 64-bit ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, libffi can be made to compile with NDK 19 by setting
version = 3.3-rc0
andpatches = []
in the libffi recipe.Fixed via #1722