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

Build(5.15) fails on alpine linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.0
    • Build tools: qmake
    • None
    • alpine linux 3.11
    • Linux/Other display system

    Description

      When building QT5 from source on alpine linux 3.11. getting below error for make command

      /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: .obj/qlogging.o: in function `qFormatLogMessage(QtMsgType, QMessageLogContext const&, QString const&)':

      qlogging.cpp.text+0x39e7): undefined reference to `backtrace'

      /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: qlogging.cpp.text+0x3a8a): undefined reference to `backtrace_symbols'

      collect2: error: ld returned 1 exit status

      make[3]: *** [Makefile:1263: ../../lib/libQt5Core.so.5.15.0] Error 1

      make[3]: Leaving directory '/root/qt_build/qt_5.15_build/qtbase/src/corelib'

      make[2]: *** [Makefile:199: sub-corelib-make_first] Error 2

      make[2]: Leaving directory '/root/qt_build/qt_5.15_build/qtbase/src'

      make[1]: *** [Makefile:51: sub-src-make_first] Error 2

      make[1]: Leaving directory '/root/qt_build/qt_5.15_build/qtbase'

      make: *** [Makefile:88: module-qtbase-make_first] Error 2

      similar issue on previous version : https://bugreports.qt.io/browse/QTBUG-66228

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            gtssl geesara senanayake
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes