FS#70934 - [qt5-base] qtconcurrentthreadengine.h fails to build with gcc11 (QTBUG-91909)

Attached to Project: Arch Linux
Opened by Stefan Rommel (50ty) - Tuesday, 18 May 2021, 13:01 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 19 May 2021, 20:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No


After update to gcc11, we were unable to compile the sources. (See https://bugreports.qt.io/browse/QTBUG-91909),

The bug will be fixed in Qt 5.15.4. I please you to add the patch in order to be able to build it again until the bug is solved in the KDE upstream branch.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 19 May 2021, 20:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt5-base 5.15.2+kde+r193
Comment by Zion Nimchuk (hcorion) - Tuesday, 18 May 2021, 21:47 GMT
As mentioned in the linked Qt bug report, this has been fixed upstream: https://codereview.qt-project.org/c/qt/qtbase/+/339417/2/src/concurrent/qtconcurrentthreadengine.h

but further 5.15 patches are NOT available publicly, only to enterprise paying Qt customers. So the Arch team will need to patch it themselves in the meantime.