Upstream bug: https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase/0018-Fix-compile-issue-with-gcc-9.patch