[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1038132: qtwebengine-opensource-src: FTBFS: ../../3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'



On Thu, Jun 15, 2023 at 09:23:20PM +0200, Sebastian Ramacher wrote:
> Source: qtwebengine-opensource-src
> Version: 5.15.13+dfsg-1~deb12u1
> Severity: serious
> Tags: ftbfs sid trixie
> Justification: fails to build from source (but built successfully in the past)
> 
> https://buildd.debian.org/status/fetch.php?pkg=qtwebengine-opensource-src&arch=amd64&ver=5.15.13%2Bdfsg-1%7Edeb12u1%2Bb1&stamp=1686790387&raw=0
> 
> FAILED: obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_flacdec.o 
> /usr/bin/gcc -MMD -MF obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_flacdec.o.d -DHAVE_AV_CONFIG_H -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DFFMPEG_CONFIGURATION=NULL -DCHROMIUM_NO_LOGGING -D_ISOC99_SOURCE -D_LARGEFILE_SOURCE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../3rdparty/chromium/third_party/ffmpeg/chromium/config/Chrome/linux/x64 -I../../3rdparty/chromium/third_party/ffmpeg -I../../3rdparty/chromium/third_party/ffmpeg/compat/atomics/gcc -Igen -I../../3rdparty/chromium -Igen -fPIC -Wno-deprecated-declarations -fomit-frame-pointer -w -std=c99 -pthread -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -I/usr/include/opus -std=gnu11 -c ../../3rdparty/chromium/third_party/ffmpeg/libavcodec/autorename_libavcodec_flacdec.c -o obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_flacdec.o
> ../../3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h: Assembler messages:
> ../../3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
>...

Upstream ffmpeg fails in unstable+experimental with the same error:
https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/ffmpeg.html

I suspect the new binutils is the trigger, I haven't investigated 
whether this is a bug in gas or something that has to be fixed in ffmpeg.

> Cheers

cu
Adrian


Reply to: