Source: gcc-13
Severity: important
Tags: ftbfs sid trixie
Dear colleagues,
Both GCC 13.1 and 13.2 cause Kodi to FTBFS on s390x [1]. While I first thought of it
as something flaky, it looks like something has changed between GCC 12.2 and 13.1
on that specific architecture.
I started looking on GCC bugzilla and found the report [2] that gave me some clues:
* -fexcess-precision=standard enforces the float-to-double promotions while
-fexcess-precision=fast does not.
* Kodi is built with explicitly set '-std=c++17' and '-std' enables
'-fexcess-precision=standard' option.
To test the assumption, I added '-fexcess-precision=fast' to maintainer CFLAGS
and CXXFLAGS and managed to complete the build using GCC 13.2.0-1 s390x
cross compiler without errors.
Please check if this behavior is intended or it is a bug that needs addressing.
Regards,
Vasyl
[1]
https://buildd.debian.org/status/fetch.php?pkg=kodi&arch=s390x&ver=2%3A20.2%2Bdfsg-3&stamp=1691212083&file=log[2]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103980