| 92 | |
| 93 | == QT6 (6.7.1, maybe earlier versions, too) |
| 94 | |
| 95 | **FTBFS** in a i686 VM. |
| 96 | {{{ |
| 97 | In Datei, eingebunden von /mnt/tmp/qt6/source/qt-everywhere-src-6.7.1/qtbase/src/corelib/global/qfloat16.cpp:5: |
| 98 | /mnt/tmp/qt6/source/qt-everywhere-src-6.7.1/qtbase/src/corelib/global/qfloat16.h: In Elementfunktion »constexpr qfloat16::operator NativeType() const«: |
| 99 | /mnt/tmp/qt6/source/qt-everywhere-src-6.7.1/qtbase/src/corelib/global/qfloat16.h:80:52: Fehler: SSE-Registerrückgabe mit SSE2 ausgeschaltet |
| 100 | 80 | constexpr operator NativeType() const noexcept { return nf; } |
| 101 | | ^ |
| 102 | /mnt/tmp/qt6/source/qt-everywhere-src-6.7.1/qtbase/src/corelib/global/qfloat16.h: In Funktion »qfloat16 operator+(qfloat16, qfloat16)«: |
| 103 | /mnt/tmp/qt6/source/qt-everywhere-src-6.7.1/qtbase/src/corelib/global/qfloat16.h:163:147: Fehler: Operation nicht erlaubt auf Typ »_Float16« ohne Option »-msse2« |
| 104 | 163 | friend inline qfloat16 operator+(qfloat16 a, qfloat16 b) noexcept { return qfloat16(static_cast<NearestFloat>(a) + static_cast<NearestFloat>(b)); } |
| 105 | | |
| 106 | }}} |
| 107 | a patch using |
| 108 | {{{ |
| 109 | sed -e "/^#elif defined(Q_CC_GNU_ONLY)/s/.*/& \&\& 0/" \ |
| 110 | -i qtbase/src/corelib/global/qtypes.h |
| 111 | }}} |
| 112 | seems to fix that. No issues on same machine with gcc-13. |