Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.1
-
None
Description
In issue QTBUG-104580, a report was made of -needed-libs not being a recognised argument in llvm-readobj.exe when called from androiddeployqt.exe. Under that report, Qt was amended to use --needed-libs (see https://bugreports.qt.io/browse/QTBUG-104580?focusedId=668967&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-668967).
However, subsequent posts after resolution of the bug stated that --libs is also being reported as unrecognised:
C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_arm64-v8a.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\arm64-v8a\libJamulus_arm64-v8a.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.X86 install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_x86.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\x86\libJamulus_x86.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.X86_64 install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_x86_64.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\x86_64\libJamulus_x86_64.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Armeabi-v7a install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_armeabi-v7a.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\armeabi-v7a\libJamulus_armeabi-v7a.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Arm64-v8a install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_arm64-v8a.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\arm64-v8a\libJamulus_arm64-v8a.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.X86 install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_x86.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\x86\libJamulus_x86.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:/Android/sdk/ndk/25.2.9519653/prebuilt/windows-x86_64/bin/make.exe -f Makefile.X86_64 install make[1]: Entering directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' C:\Qt\5.15.2\android\bin\qmake.exe -install qinstall -exe libJamulus_x86_64.so D:\TEMP\build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release\android-build\libs\x86_64\libJamulus_x86_64.so make[1]: Leaving directory 'D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release' 11:33:51: The process "C:\Android\sdk\ndk\25.2.9519653\prebuilt\windows-x86_64\bin\make.exe" exited normally. 11:33:51: Starting: "C:\Qt\5.15.2\android\bin\androiddeployqt.exe" --input D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release/android-Jamulus-deployment-settings.json --output D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release/android-build --android-platform android-33 --jdk "C:/Program Files/Microsoft/jdk-17.0.7.7-hotspot" --gradle --release Generating Android Package Input file: D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release/android-Jamulus-deployment-settings.json Output directory: D:/TEMP/build-Jamulus-Android_Qt_5_15_2_Clang_Multi_Abi-Release/android-build/ Application binary: Jamulus Android build platform: android-33 Install to device: No C:/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readobj.exe: error: unknown argument '--libs' C:/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readobj.exe: error: unknown argument '--libs' C:/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readobj.exe: error: unknown argument '--libs' C:/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readobj.exe: error: unknown argument '--libs' Skipping createRCC No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one. 11:33:59: The process "C:\Qt\5.15.2\android\bin\androiddeployqt.exe" exited with code 12. Error while building/deploying project Jamulus (kit: Android Qt 5.15.2 Clang Multi-Abi) When executing step "Build Android APK" 11:33:59: Elapsed time: 04:35.
Is there any current status on this report? (Raising this as a separate issue for tracking.)
Attachments
Issue Links
- clones
-
QTBUG-104580 androiddeployqt fails with "unknown argument '--libs'" when call llvm-readobj v14
- Closed