Details
-
Bug
-
Status: Closed
-
P2: Important
-
Resolution: Done
-
5.12.4
-
None
-
Host = Ubuntu 18.04.
Android SDK = up to date, set for 23.
Android NDK = 20 (using clang).
Description
Qt 5.12.4 (github branch 5.12, commit 452e0d94d40bba15a56293a0a0f7d093dececda9, fetched 2019-06-18) compiles for Linux, Windows, and Android with 32-bit ARM (armeabi-v7a), but fails to build for Android with 64-bit ARM ("--android-arch arm64-v8a").
The failure is with a set of linker errors, "undefined reference to...", with functions including qt_memfill32, qt_blend_rgb32_on_rgb32_neon, qt_blend_argb32_on_argb32_neon, ...
Lots of these functions look they come from qtbase/src/gui/painting/qdrawhelper.cpp and qtbase/src/gui/painting/qdrawhelper_neon.cpp, and that they are conditional on "#ifdef _ARM_NEON_".
Attached: config.opt files from successful ARM 32-bit and unsuccessful ARM 64-bit builds, plus end of compilation log from the failing build.