Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.14.1, 5.15
-
None
-
debian10, ndk-r21
Description
Error build Qt 5.14.2 from sources with ndk-r21:
make[4]: Entering directory '/Qt/Src/qtbase/src/3rdparty/gradle' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/Qt/Src/qtbase/src/3rdparty/gradle' make[3]: Leaving directory '/Qt/Src/qtbase/src/3rdparty/gradle' /android-ndk-r21/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. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty -I../3rdparty/double-conversion/include -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include -I../../include/QtCore -I../../include/QtCore/5.14.1 -I../../include/QtCore/5.14.1/QtCore -I.moc/armeabi-v7a -I.tracegen/armeabi-v7a -I../3rdparty/pcre2/src -I/android_openssl/openssl-1.1.1d/include -I../../mkspecs/android-clang -o .obj/armeabi-v7a/qhooks.o global/qhooks.cpp 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))); ^ 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. make[4]: *** [Makefile.Armeabi-v7a:12805: .obj/armeabi-v7a/qfloat16.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/Qt/Src/qtbase/src/corelib' make[3]: *** [Makefile:48: armeabi-v7a-all] Error 2 make[3]: Leaving directory '/Qt/Src/qtbase/src/corelib' make[2]: *** [Makefile:229: sub-corelib-make_first] Error 2 make[2]: *** Waiting for unfinished jobs.... Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. rm -f QtAndroid.jar jar cf QtAndroid.jar -C .classes . mv -f QtAndroid.jar ../../../jar/QtAndroid.jar make[4]: Leaving directory '/Qt/Src/qtbase/src/android/jar' cd java/ && ( test -e Makefile || /Qt/Src/qtbase/bin/qmake -o Makefile /Qt/Src/qtbase/src/android/java/java.pro ) && make -f Makefile make[4]: Entering directory '/Qt/Src/qtbase/src/android/java' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/Qt/Src/qtbase/src/android/java' cd templates/ && ( test -e Makefile || /Qt/Src/qtbase/bin/qmake -o Makefile /Qt/Src/qtbase/src/android/templates/templates.pro ) && make -f Makefile make[4]: Entering directory '/Qt/Src/qtbase/src/android/templates' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory '/Qt/Src/qtbase/src/android/templates' make[3]: Leaving directory '/Qt/Src/qtbase/src/android' make[2]: Leaving directory '/Qt/Src/qtbase/src' make[1]: *** [Makefile:51: sub-src-make_first] Error 2 make[1]: Leaving directory '/Qt/Src/qtbase' make: *** [Makefile:88: module-qtbase-make_first] Error
env Debian 10
ANDROID_NDK_ARCH='arch-arm c' ANDROID_NDK_EABI='llvm c' ANDROID_NDK_HOST=linux-x86_64 ANDROID_NDK_TOOLCHAIN_PREFIX='arm-linux-androideabi c' ANDROID_NDK_TOOLCHAIN_VERSION='4.9 c'
Configure options
LANG=C ./configure -opensource -release -nomake tests -nomake examples -no-compile-examples -android-sdk /android-sdk-linux -android-ndk /android-ndk-r20 -xplatform android-clang -no-warnings-are-errors --disable-rpath -openssl -I /android_openssl/openssl-1.1.1d/include -L /android_openssl/arm -android-abis armeabi-v7a,x86,arm64-v8a,x86_64
SDK
/android-sdk-linux/tools/bin/sdkmanager --version 26.1.1
JAVA
java -version openjdk version "1.8.0_222" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
QT 5.15 snapshot (27jan 2020)
make[4]: Leaving directory '/Qt/Src/qtbase/src/corelib' /android-ndk-r21/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. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty -I../3rdparty/double-conversion/include -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I.rcc -I../../include -I../../include/QtCore -I../../include/QtCore/5.15.0 -I../../include/QtCore/5.15.0/QtCore -I.moc/armeabi-v7a -I.tracegen/armeabi-v7a -I../3rdparty/pcre2/src -I/android_openssl/openssl-1.1.1d/include -I../../mkspecs/android-clang -o .obj/armeabi-v7a/qrandom.o global/qrandom.cpp global/qfloat16.cpp:227:31: error: use of undeclared identifier 'vcvt_f16_f32' vst1_f16(out_f16 + i, vcvt_f16_f32(vld1q_f32(in + i))); ^ global/qfloat16.cpp:237:41: error: use of undeclared identifier 'vld1_f16' vst1q_f32(out + i, vcvt_f32_f16(vld1_f16(in_f16 + i)));
Attachments
Issue Links
- duplicates
-
QTBUG-81461 Compilation with NDK r21 fails in qfloat16.cpp on undeclared identifier 'vcvt_f16_f32'
- Closed