Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96835

designer/calculatorbuilder and worldtimeclockbuilder not compiling on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 RC2
    • Fix Version/s: None
    • Labels:

      Description

      Qt6.2.0 RC2 Android binaries, launch Creator and open project designer/calculatorbuilder and configure with Android arm64. Configure passes, but build fails:

      10:06:18: Starting: "/home/johanna/RTA/qt5/Tools/CMake/bin/cmake" --build /home/johanna/RTA/qt5/Examples/Qt-6.2.0/designer/build-calculatorbuilder-Android_arm64_v8a-Debug --target all
      [1/2 83.3/sec] Linking CXX shared module libcalculatorbuilder_arm64-v8a.so
      FAILED: libcalculatorbuilder_arm64-v8a.so 
      : && /home/johanna/android/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android23 --gcc-toolchain=/home/johanna/android/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/johanna/android/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security   -O0 -fno-limit-debug-info  -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared  -o libcalculatorbuilder_arm64-v8a.so CMakeFiles/calculatorbuilder.dir/calculatorbuilder_autogen/mocs_compilation.cpp.o CMakeFiles/calculatorbuilder.dir/calculatorform.cpp.o CMakeFiles/calculatorbuilder.dir/main.cpp.o CMakeFiles/calculatorbuilder.dir/.rcc/qrc_calculatorbuilder.cpp.o  /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/libQt6UiTools.so.6.2.0  /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/libQt6OpenGLWidgets.so.6.2.0  /home/johanna/RTA/qt5/6.2.0/android_arm64_v8a/lib/libQt6Widgets_arm64-v8a.so  /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/libQt6OpenGL.so.6.2.0  /home/johanna/RTA/qt5/6.2.0/android_arm64_v8a/lib/libQt6Gui_arm64-v8a.so  /home/johanna/RTA/qt5/6.2.0/android_arm64_v8a/lib/libQt6Core_arm64-v8a.so  -llog  -pthread  /home/johanna/android/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/23/libGLESv2.so  /home/johanna/android/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/23/libEGL.so  -latomic -lm && :
      /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/libQt6UiTools.so.6.2.0: error adding symbols: File in wrong format
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      ninja: build stopped: subcommand failed.
      10:06:18: The process "/home/johanna/RTA/qt5/Tools/CMake/bin/cmake" exited with code 1.
      Error while building/deploying project calculatorbuilder (kit: Android Qt 6.2.0 Clang arm64-v8a)
      When executing step "Build"
      

      Example compiler fine with gcc_64

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes