[FFmpeg-devel] Build failure un Debian Testing

James Almer jamrial at gmail.com
Thu Jul 13 14:32:40 EEST 2023


On 7/13/2023 7:06 AM, Nicolas George wrote:
> Hi.
> 
> We currently have a build failure on Debian Testing (and certainly
> Unstable):
> 
>          CC      libavformat/adtsenc.o
>          src/libavcodec/x86/mathops.h: Assembler messages:
>      ×19 src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
>          make: *** [src/ffbuild/common.mak:81: libavformat/adtsenc.o] Error 1
>          CC      libavformat/av1.o
>          src/libavcodec/x86/mathops.h: Assembler messages:
>      ×47 src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
>          <snip 5000+ similar lines>
> 
> It can be worked around by commenting:
> 
> #define NEG_SSR32 NEG_SSR32
> #define NEG_USR32 NEG_USR32
> 
> near the end of libavcodec/x86/mathops.h. According to comments on bug
> trackers, it might be related to binutils 2.40.90 (versus 2.40 from
> stable).

Curious that they pull git snapshots of this package for Debian testing. 
For others they seem to stick to tagged releases.

> 
> I do not know how to fix this kind of error, but I can help if a change
> needs testing and somebody does not have a Debian Testing with enough
> libraries installed.

This definitely sounds like a regression in binutils, so other than 
reporting it upstream, i don't see much more we can do.

> 
> Regards,
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list