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

qtcore build failed for android on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.7
    • Fix Version/s: 5.7.0 Alpha
    • Component/s: Core: Event loop
    • Labels:
      None
    • Environment:
      Android 22 (mingw49-armv7) on Windows 7 (mingw49-x86)
    • Commits:
      1bf1d0f493a4561239961dbe582bdc798b69a946

      Description

      In https://codereview.qt-project.org/#/c/141800/

      Could Not Find c:\Users\qt\work\qt\qt5\qtbase\src\corelib\libQt5Core.so
       c:/utils/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-g++ --sysroot=c:/utils/android-ndk-r9c/platforms/android-9/arch-arm/ -Wl,--no-undefined -Wl,--no-undefined -Wl,-z,noexecstack -shared -Wl,-soname,libQt5Core.so -o libQt5Core.so .obj\qabstractanimation.obj .obj\qvariantanimation.obj .obj\qpropertyanimation.obj .obj\qanimationgroup.obj .obj\qsequentialanimationgroup.obj .obj\qparallelanimationgroup.obj .obj\qpauseanimation.obj .obj\qatomic_unix.obj .obj\qglobal.obj .obj\qglobalstatic.obj .obj\qlibraryinfo.obj .obj\qmalloc.obj .obj\qnumeric.obj .obj\qlogging.obj .obj\qhooks.obj .obj\qversiontagging.obj .obj\qatomic.obj .obj\qexception.obj .obj\qresultstore.obj .obj\qfutureinterface.obj .obj\qfuturewatcher.obj .obj\qmutex.obj .obj\qreadwritelock.obj .obj\qrunnable.obj .obj\qmutexpool.obj .obj\qsemaphore.obj .obj\qthread.obj .obj\qthreadpool.obj .obj\qthreadstorage.obj .obj\qthread_unix.obj .obj\qwaitcondition_unix.obj .obj\qarraydata.obj .obj\qbitarray.obj .obj\qbytearray.obj .obj\qbytearraylist.obj .obj\qbytearraymatcher.obj .obj\qcollator.obj .obj\qcommandlineoption.obj .obj\qcommandlineparser.obj .obj\qcryptographichash.obj .obj\qdatetime.obj .obj\qdatetimeparser.obj .obj\qeasingcurve.obj .obj\qelapsedtimer.obj .obj\qfreelist.obj .obj\qhash.obj .obj\qline.obj .obj\qlinkedlist.obj .obj\qlist.obj .obj\qlocale.obj .obj\qlocale_tools.obj .obj\qpoint.obj .obj\qmap.obj .obj\qmargins.obj .obj\qmessageauthenticationcode.obj .obj\qcontiguouscache.obj .obj\qrect.obj .obj\qregexp.obj .obj\qrefcount.obj .obj\qringbuffer.obj .obj\qshareddata.obj .obj\qsharedpointer.obj .obj\qsimd.obj .obj\qsize.obj .obj\qstring.obj .obj\qstringbuilder.obj .obj\qstringlist.obj .obj\qtextboundaryfinder.obj .obj\qtimeline.obj .obj\qtimezone.obj .obj\qtimezoneprivate.obj .obj\qunicodetools.obj .obj\qvector.obj .obj\qvsnprintf.obj .obj\qversionnumber.obj .obj\qelapsedtimer_unix.obj .obj\qlocale_unix.obj .obj\qtimezoneprivate_android.obj .obj\adler32.obj .obj\compress.obj .obj\crc32.obj .obj\deflate.obj .obj\gzclose.obj .obj\gzlib.obj .obj\gzread.obj .obj\gzwrite.obj .obj\infback.obj .obj\inffast.obj .obj\inflate.obj .obj\inftrees.obj .obj\trees.obj .obj\uncompr.obj .obj\zutil.obj .obj\qcollator_posix.obj .obj\qregularexpression.obj .obj\harfbuzz-buffer.obj .obj\harfbuzz-gdef.obj .obj\harfbuzz-gsub.obj .obj\harfbuzz-gpos.obj .obj\harfbuzz-impl.obj .obj\harfbuzz-open.obj .obj\harfbuzz-stream.obj .obj\harfbuzz-shaper-all.obj .obj\qharfbuzz.obj .obj\bignum.obj .obj\bignum-dtoa.obj .obj\cached-powers.obj .obj\diy-fp.obj .obj\double-conversion.obj .obj\fast-dtoa.obj .obj\fixed-dtoa.obj .obj\strtod.obj .obj\qabstractfileengine.obj .obj\qbuffer.obj .obj\qdatastream.obj .obj\qdataurl.obj .obj\qtldurl.obj .obj\qdebug.obj .obj\qdir.obj .obj\qdiriterator.obj .obj\qfile.obj .obj\qfiledevice.obj .obj\qfileinfo.obj .obj\qipaddress.obj .obj\qiodevice.obj .obj\qlockfile.obj .obj\qnoncontiguousbytedevice.obj .obj\qprocess.obj .obj\qstorageinfo.obj .obj\qtextstream.obj .obj\qtemporarydir.obj .obj\qtemporaryfile.obj .obj\qresource.obj .obj\qresource_iterator.obj .obj\qsavefile.obj .obj\qstandardpaths.obj .obj\qurl.obj .obj\qurlidna.obj .obj\qurlquery.obj .obj\qurlrecode.obj .obj\qsettings.obj .obj\qfsfileengine.obj .obj\qfsfileengine_iterator.obj .obj\qfilesystemwatcher.obj .obj\qfilesystemwatcher_polling.obj .obj\qfilesystementry.obj .obj\qfilesystemengine.obj .obj\qfileselector.obj .obj\qloggingcategory.obj .obj\qloggingregistry.obj .obj\qfsfileengine_unix.obj .obj\qfilesystemengine_unix.obj .obj\qlockfile_unix.obj .obj\qprocess_unix.obj .obj\qfilesystemiterator_unix.obj .obj\forkfd_qt.obj .obj\qstandardpaths_android.obj .obj\qstorageinfo_unix.obj .obj\qfilesystemwatcher_inotify.obj .obj\qabstractitemmodel.obj .obj\qabstractproxymodel.obj .obj\qitemselectionmodel.obj .obj\qidentityproxymodel.obj .obj\qsortfilterproxymodel.obj .obj\qstringlistmodel.obj .obj\qjson.obj .obj\qjsondocument.obj .obj\qjsonobject.obj .obj\qjsonarray.obj .obj\qjsonvalue.obj .obj\qjsonwriter.obj .obj\qjsonparser.obj .obj\qfactoryinterface.obj .obj\qpluginloader.obj .obj\qfactoryloader.obj .obj\quuid.obj .obj\qlibrary.obj .obj\qelfparser_p.obj .obj\qmachparser.obj .obj\qlibrary_unix.obj .obj\qabstracteventdispatcher.obj .obj\qabstractnativeeventfilter.obj .obj\qbasictimer.obj .obj\qeventloop.obj .obj\qcoreapplication.obj .obj\qcoreevent.obj .obj\qmetaobject.obj .obj\qmetatype.obj .obj\qmetaobjectbuilder.obj .obj\qmimedata.obj .obj\qobject.obj .obj\qobjectcleanuphandler.obj .obj\qsignalmapper.obj .obj\qsocketnotifier.obj .obj\qtimer.obj .obj\qtranslator.obj .obj\qvariant.obj .obj\qcoreglobaldata.obj .obj\qsharedmemory.obj .obj\qsystemsemaphore.obj .obj\qpointer.obj .obj\qmath.obj .obj\qsystemerror.obj .obj\qcore_unix.obj .obj\qcrashhandler.obj .obj\qeventdispatcher_unix.obj .obj\qtimerinfo_unix.obj .obj\qsharedmemory_android.obj .obj\qsystemsemaphore_android.obj .obj\qjnionload.obj .obj\qjnihelpers.obj .obj\qjni.obj .obj\qisciicodec.obj .obj\qlatincodec.obj .obj\qsimplecodec.obj .obj\qtextcodec.obj .obj\qtsciicodec.obj .obj\qutfcodec.obj .obj\qgb18030codec.obj .obj\qjpunicode.obj .obj\qeucjpcodec.obj .obj\qjiscodec.obj .obj\qsjiscodec.obj .obj\qeuckrcodec.obj .obj\qbig5codec.obj .obj\qstatemachine.obj .obj\qabstractstate.obj .obj\qstate.obj .obj\qfinalstate.obj .obj\qhistorystate.obj .obj\qabstracttransition.obj .obj\qsignaltransition.obj .obj\qeventtransition.obj .obj\qmimedatabase.obj .obj\qmimetype.obj .obj\qmimemagicrulematcher.obj .obj\qmimetypeparser.obj .obj\qmimemagicrule.obj .obj\qmimeglobpattern.obj .obj\qmimeprovider.obj .obj\qxmlstream.obj .obj\qxmlutils.obj .obj\qstring_compat.obj .obj\qrc_mimetypes.obj .obj\moc_qabstractanimation_p.obj .obj\moc_qnamespace.obj .obj\moc_qthread.obj .obj\moc_qthreadpool.obj .obj\moc_qfuturewatcher.obj .obj\moc_qeasingcurve.obj .obj\moc_qlocale.obj .obj\moc_qtimeline.obj .obj\moc_qfile.obj .obj\moc_qfiledevice.obj .obj\moc_qiodevice.obj .obj\moc_qnoncontiguousbytedevice_p.obj .obj\moc_qtextstream_p.obj .obj\moc_qtemporaryfile.obj .obj\moc_qsavefile.obj .obj\moc_qsettings.obj .obj\moc_qfilesystemwatcher_p.obj .obj\moc_qfilesystemwatcher_polling_p.obj .obj\moc_qfilesystemwatcher_inotify_p.obj .obj\moc_qabstractitemmodel.obj .obj\moc_qstringlistmodel.obj .obj\moc_qpluginloader.obj .obj\moc_qlibrary.obj .obj\moc_qfactoryloader_p.obj .obj\moc_qabstracteventdispatcher.obj .obj\moc_qeventloop.obj .obj\moc_qcoreapplication.obj .obj\moc_qcoreevent.obj .obj\moc_qmimedata.obj .obj\moc_qsocketnotifier.obj .obj\moc_qtimer.obj .obj\moc_qtranslator.obj .obj\moc_qobjectcleanuphandler.obj .obj\moc_qsharedmemory.obj .obj\moc_qeventdispatcher_unix_p.obj .obj\moc_qabstractstate.obj .obj\moc_qstate.obj .obj\moc_qfinalstate.obj .obj\moc_qhistorystate.obj .obj\moc_qhistorystate_p.obj .obj\moc_qabstracttransition.obj .obj\moc_qsignaltransition.obj .obj\moc_qeventtransition.obj  -Lc:/utils/android-ndk-r9c/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Lc:/utils/android-ndk-r9c/platforms/android-9/arch-arm//usr/lib -LC:/Users/qt/work/qt/qt5/qtbase/lib -lqtpcre -Lc:/utils/android-ndk-r9c/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Lc:/utils/android-ndk-r9c/platforms/android-9/arch-arm//usr/lib -lgnustl_shared -llog -lz -lc -lgcc -lm -ldl 
      .obj\qcore_unix.obj:qcore_unix.cpp:function qt_safe_poll(pollfd*, unsigned int, timespec const*): error: undefined reference to 'qt_poll(pollfd*, unsigned int, timespec const*)'
      .obj\qcore_unix.obj:qcore_unix.cpp:function qt_safe_poll(pollfd*, unsigned int, timespec const*): error: undefined reference to 'qt_poll(pollfd*, unsigned int, timespec const*)'
       collect2.exe: error: ld returned 1 exit status
       Makefile:1268: recipe for target '..\..\lib\libQt5Core.so' failed
       Mingw32-make[3]: *** [..\..\lib\libQt5Core.so] Error 1
       Mingw32-make[3]: Leaving directory 'c:/Users/qt/work/qt/qt5/qtbase/src/corelib'
       Makefile:192: recipe for target 'sub-corelib-make_first' failed
       Mingw32-make[2]: *** [sub-corelib-make_first] Error 2
       Mingw32-make[2]: Leaving directory 'c:/Users/qt/work/qt/qt5/qtbase/src'
       Makefile:45: recipe for target 'sub-src-make_first' failed
       Mingw32-make[1]: *** [sub-src-make_first] Error 2
       Mingw32-make[1]: Leaving directory 'c:/Users/qt/work/qt/qt5/qtbase'
       makefile:71: recipe for target 'module-qtbase-make_first' failed
       Mingw32-make: *** [module-qtbase-make_first] Error 2

        Attachments

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

          Activity

            People

            Assignee:
            louai Louai Al-Khanji
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes