Fails to build on Rawhide: 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h: Assembler messages: 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' 7:17.24 /builddir/build/BUILD/firefox-117.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' Reproducible: Always
Jakub, any idea where to look at? GCC version seems to be the same on Rawhide and Fedora 39 but we're getting this failure on Rawhide only. Thanks.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1846703 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108941 and https://sourceware.org/bugzilla/show_bug.cgi?id=30578 It is an unfortunate change in binutils that the author fails to acknowledge as a bug. GCC can't really do anything there. ffmpeg/ffvpx can just avoid using inline asm in these cases altogether (I don't really understand why it doesn't trust the compiler which knows which target have truncating shifts and which don't), or do what ffmpeg did upstream.
Will take upstream patch then, Thanks.
FEDORA-2023-dbbb59417a has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dbbb59417a
FEDORA-2023-dbbb59417a has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-141e918955 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-141e918955
FEDORA-2023-141e918955 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.