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

Undefined reference when build for Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.0
    • 5.14.1
    • Extras: Android
    • None
    • Android

    Description

      When building application for Android that been working perfectly on 5.12.6 not working on 5.14.1 it's not working for both Android NDK 20 and 21

      For iOS and MacOS everything is OK. All is working perfectly.

      At time of compilation huge amount of this errors:

      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:524: error: undefined reference to 'operator delete(void*)'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:819: error: undefined reference to '__cxa_begin_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:822: error: undefined reference to '__cxa_rethrow'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:823: error: undefined reference to '__cxa_end_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:492: error: undefined reference to 'operator new(unsigned int)'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:492: error: undefined reference to 'operator delete(void*)'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:496: error: undefined reference to '__cxa_begin_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:499: error: undefined reference to '__cxa_rethrow'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:500: error: undefined reference to '__cxa_end_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qmetatype.h:871: error: undefined reference to 'operator new(unsigned int)'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qmetatype.h:867: error: undefined reference to 'operator new(unsigned int)'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:615: error: undefined reference to '__cxa_begin_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:617: error: undefined reference to '__cxa_rethrow'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:618: error: undefined reference to '__cxa_end_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:624: error: undefined reference to '__cxa_begin_catch'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:626: error: undefined reference to '__cxa_rethrow'
      /Users/alexandr/Tools/qt/5.14.1/android/include/QtCore/qlist.h:627: error: undefined reference to '__cxa_end_catch'
      

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              bogong Alexandr KIRILOV
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes