Control: forwarded -1 https://codereview.qt-project.org/c/qt/qtbase/+/579205
Hi,
On Thu, Jul 25, 2024 at 04:58:40AM +0200, Andrew Lee wrote:
> Dear Maintainers,
>
> I recently updating LXQt to new upstream release which uses Qt6. And I
> got salsa-ci detected FTBFS with following message on i386:
> ```
> /usr/include/i386-linux-gnu/qt6/QtCore/qfloat16.h: In member function
> ‘constexpr qfloat16::operator NativeType() const’:
> /usr/include/i386-linux-gnu/qt6/QtCore/qfloat16.h:64:52: error: SSE register
> return with SSE2 disabled
> 64 | constexpr operator NativeType() const noexcept { return nf; }
> | ^
> /usr/include/i386-linux-gnu/qt6/QtCore/qfloat16.h: In function ‘qfloat16
> operator+(qfloat16, qfloat16)’:
> /usr/include/i386-linux-gnu/qt6/QtCore/qfloat16.h:124:147: error: operation
> not permitted on type ‘_Float16’ without option ‘-msse2’
> 124 | friend inline qfloat16 operator+(qfloat16 a, qfloat16 b) noexcept
> { return qfloat16(static_cast<NearestFloat>(a) +
> static_cast<NearestFloat>(b)); }
> ```
>
> Full log:
> https://salsa.debian.org/lxqt-team/libqtxdg/-/jobs/6021057#L2281
>
> Not sure if this a false detection or something wrong in Qt6 package.
> The LXQt package used to builds fine with Qt5.
I submitted a patch for this to upstream, but I would like to get it
reviewed by upstream (especially by Thiago Macieira) before uploading to
Debian.
--
Dmitry Shachnev
signature.asc
Description: PGP signature

