Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.15.0
-
None
-
alpine linux 3.11
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