Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0, 5.14.1
-
Linux x64 host, compiling for Android using NDK r21
-
-
5ac1516edd17eb4ddd94fe43a04fa4d736c50041 (qt/qtbase/5.14)
Description
Trying to compile v5.14.0 using NDK r21 fails on:
/<...>/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -Xclang -include-pch -Xclang .pch/armeabi-v7a/Qt5Core_armeabi-v7a.pch/c++.pch -target armv7a-linux-androideabi21 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -mthumb -Oz -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wdate-time -Winconsistent-missing-override -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DLIBS_SUFFIX=\"_armeabi-v7a.so\" -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/corelib -I. -Iglobal -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/md5 -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/md4 -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/sha3 -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/double-conversion/include -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/harfbuzz/src -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/forkfd -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/tinycbor/src -I/<...>/qt-everywhere-src-5.14.0/qtbase/include -I/<...>/qt-everywhere-src-5.14.0/qtbase/include/QtCore -I../../include -I../../include/QtCore -I/<...>/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0 -I/<...>/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0/QtCore -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I.moc/armeabi-v7a -I.tracegen/armeabi-v7a -I/<...>/qt-everywhere-src-5.14.0/qtbase/src/3rdparty/pcre2/src -I/<...>/openssl-1.1.1d-r20b-api22-aarch64/include -I/<...>/qt-everywhere-src-5.14.0/qtbase/mkspecs/android-clang -o .obj/armeabi-v7a/qfloat16.o /<...>/qt-everywhere-src-5.14.0/qtbase/src/corelib/global/qfloat16.cpp /<...>/qt-everywhere-src-5.14.0/qtbase/src/corelib/global/qfloat16.cpp:219:31: error: use of undeclared identifier 'vcvt_f16_f32' vst1_f16(out_f16 + i, vcvt_f16_f32(vld1q_f32(in + i))); ^ /<...>/qt-everywhere-src-5.14.0/qtbase/src/corelib/global/qfloat16.cpp:229:41: error: use of undeclared identifier 'vld1_f16' vst1q_f32(out + i, vcvt_f32_f16(vld1_f16(in_f16 + i))); ^ 2 errors generated. Makefile.Armeabi-v7a:12775: recept voor doel '.obj/armeabi-v7a/qfloat16.o' is mislukt make[4]: *** [.obj/armeabi-v7a/qfloat16.o] Fout 1 make[4]: Map '/<...>/qt-5.14.0/qtbase/src/corelib' wordt verlaten Makefile:48: recept voor doel 'armeabi-v7a-all' is mislukt make[3]: *** [armeabi-v7a-all] Fout 2 make[3]: Map '/<...>/qt-5.14.0/qtbase/src/corelib' wordt verlaten Makefile:228: recept voor doel 'sub-corelib-make_first' is mislukt make[2]: *** [sub-corelib-make_first] Fout 2 make[2]: Map '/<...>/qt-5.14.0/qtbase/src' wordt verlaten Makefile:50: recept voor doel 'sub-src-make_first' is mislukt make[1]: *** [sub-src-make_first] Fout 2 make[1]: Map '/<...>/qt-5.14.0/qtbase' wordt verlaten Makefile:86: recept voor doel 'module-qtbase-make_first' is mislukt make: *** [module-qtbase-make_first] Fout 2
(fine when using r20b)
Maybe due to changes in NEON defaults? see https://github.com/android/ndk/wiki/Changelog-r21
Attachments
Issue Links
- is duplicated by
-
QTBUG-81738 Android error build Qt 5.14.1 and 5.15 from Sources ndk r21
- Closed
- relates to
-
QTBUG-68314 armv7 compilation of source fails due to instructions only available with armv7s
- Closed
-
QTBUG-81752 Documentation missing list of NDK version used per Qt version
- Closed
For Gerrit Dashboard: QTBUG-81461 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
288580,2 | Check for (__ARM_FP & 2) to verify 16-bit FP support | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
288581,2 | Fix NEON support on Android armeabi-v7a | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
289005,2 | Fix NEON support on Android armeabi-v7a for webp | 5.14 | qt/qtimageformats | Status: MERGED | +2 | 0 |