[FFmpeg-devel] Build failure un Debian Testing

Nicolas George george at nsup.org
Thu Jul 13 13:06:24 EEST 2023


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).

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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230713/aa5c1283/attachment.sig>


More information about the ffmpeg-devel mailing list