FS#74753 - [kodi] [gcc] build failure with gcc-12.1 due to warnings being treated as errors
Attached to Project:
Community Packages
Opened by John (graysky) - Sunday, 15 May 2022, 12:11 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 26 June 2022, 17:13 GMT
Opened by John (graysky) - Sunday, 15 May 2022, 12:11 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 26 June 2022, 17:13 GMT
|
Details
Building kodi-19.5-1 results in errors when using gcc-12.1-1
(did not observe this with gcc-11.2). Is this a function of
the Arch default *FLAGS or with the way our toolchain is
configured or something in the Kodi code base?
... cc1plus: all warnings being treated as errors Whatever the cause, adding the following to the kodi PKGBUILD allows a successful build. export CFLAGS+=" -Wno-error" export CXXFLAGS="${CFLAGS}" I reported this upstream as well: https://github.com/xbmc/xbmc/issues/21376 |
This task depends upon
Closed by Morten Linderud (Foxboron)
Sunday, 26 June 2022, 17:13 GMT
Reason for closing: Fixed
Additional comments about closing: This can be closed now since lxc 1:5.0.0-4 fixed the issue.
Sunday, 26 June 2022, 17:13 GMT
Reason for closing: Fixed
Additional comments about closing: This can be closed now since lxc 1:5.0.0-4 fixed the issue.
Edit:
Certainly the warning is a false positive possibly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329