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

QtCore build failed for arm-linux-gnueabihf target on Windows.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.8.0 Alpha
    • 5.7.0
    • Build System
    • None
    • arm-linux-gnueabihf- from Xilinx XSDK on Windows10 (MinGW 5.3.0 from Qt package).
    • 97b856b78859861f16304debad29889f691d9eb7

    Description

      QtCore cross-compilation from qt-everywhere-opensource-src-5.7.0 failed with error similar to QTBUG-49875.

      Could Not Find C:\Projects\Software-MinGW\qt-everywhere-opensource-src-5.7.0\qtbase\src\corelib\libQt5Core.so.5.7.0
      arm-linux-gnueabihf-g++ -Wl,--no-undefined -Wl,--version-script,QtCore.version -Wl,-O1 -shared -Wl,-soname,libQt5Core.so.5 -o libQt5Core.so.5.7.0 .obj\qabstractanimation.obj .obj\qvariantanimation.obj .obj\qpropertyanimation.obj .obj\qanimationgroup.obj .obj\qsequentialanimationgroup.obj .obj\qparallelanimationgroup.obj .obj\qpauseanimation.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_tz.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_unix.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_posix.obj .obj\qsharedmemory_systemv.obj .obj\qsharedmemory_unix.obj .obj\qsystemsemaphore_posix.obj .obj\qsystemsemaphore_systemv.obj .obj\qsystemsemaphore_unix.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  -lpthread -LC:/Projects/Software-MinGW/qt-everywhere-opensource-src-5.7.0/qtbase/lib -lqtpcre -lm -ldl
      .obj\qcore_unix.obj: In function `qt_safe_poll(pollfd*, unsigned long, timespec const*)':
      qcore_unix.cpp:(.text+0x190): undefined reference to `qt_poll(pollfd*, unsigned long, timespec const*)'
      qcore_unix.cpp:(.text+0x1c8): undefined reference to `qt_poll(pollfd*, unsigned long, timespec const*)'
      collect2.exe: error: ld returned 1 exit status
      Makefile:1270: recipe for target '..\..\lib\libQt5Core.so.5.7.0' failed
      mingw32-make.exe[3]: *** [..\..\lib\libQt5Core.so.5.7.0] Error 1
      mingw32-make.exe[3]: Leaving directory 'C:/Projects/Software-MinGW/qt-everywhere-opensource-src-5.7.0/qtbase/src/corelib'
      Makefile:189: recipe for target 'sub-corelib-make_first' failed
      mingw32-make.exe[2]: *** [sub-corelib-make_first] Error 2
      mingw32-make.exe[2]: Leaving directory 'C:/Projects/Software-MinGW/qt-everywhere-opensource-src-5.7.0/qtbase/src'
      Makefile:45: recipe for target 'sub-src-make_first' failed
      mingw32-make.exe[1]: *** [sub-src-make_first] Error 2
      mingw32-make.exe[1]: Leaving directory 'C:/Projects/Software-MinGW/qt-everywhere-opensource-src-5.7.0/qtbase'
      Makefile:77: recipe for target 'module-qtbase-make_first' failed
      mingw32-make.exe: *** [module-qtbase-make_first] Error 2
      

      Attachments

        1. qmake.conf
          0.7 kB
        2. configuration.txt
          0.4 kB
        3. config.summary
          4 kB

        Activity

          People

            laknoll Lars Knoll
            d9 d9
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: