[FFmpeg-trac] #10405(undetermined:new): mathops.h: Assembler messages errors, type mismatch for shr

FFmpeg trac at avcodec.org
Wed Jun 7 21:06:39 EEST 2023


#10405: mathops.h: Assembler messages errors, type mismatch for shr
-------------------------------------+-------------------------------------
             Reporter:  shevy        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 MAN     doc/libswscale.3
 POD     doc/libswresample.pod
 MAN     doc/libswresample.3
 POD     doc/libavcodec.pod
 MAN     doc/libavcodec.3
 POD     doc/libavformat.pod
 MAN     doc/libavformat.3
 POD     doc/libavdevice.pod
 MAN     doc/libavdevice.3
 POD     doc/libavfilter.pod
 MAN     doc/libavfilter.3
 INSTALL doc/ffmpeg.1
 INSTALL doc/ffplay.1
 INSTALL doc/ffprobe.1
 INSTALL doc/ffmpeg-all.1
 INSTALL doc/ffplay-all.1
 INSTALL doc/ffprobe-all.1
 INSTALL doc/ffmpeg-utils.1
 INSTALL doc/ffmpeg-scaler.1
 INSTALL doc/ffmpeg-resampler.1
 INSTALL doc/ffmpeg-codecs.1
 INSTALL doc/ffmpeg-bitstream-filters.1
 INSTALL doc/ffmpeg-formats.1
 INSTALL doc/ffmpeg-protocols.1
 INSTALL doc/ffmpeg-devices.1
 INSTALL doc/ffmpeg-filters.1
 INSTALL doc/libavutil.3
 INSTALL doc/libswscale.3
 INSTALL doc/libswresample.3
 INSTALL doc/libavcodec.3
 INSTALL doc/libavformat.3
 INSTALL doc/libavdevice.3
 INSTALL doc/libavfilter.3
 INSTALL doc/ffmpeg.1
 INSTALL doc/ffplay.1
 INSTALL doc/ffprobe.1
 INSTALL doc/ffmpeg-all.1
 INSTALL doc/ffplay-all.1
 INSTALL doc/ffprobe-all.1
 INSTALL doc/ffmpeg-utils.1
 INSTALL doc/ffmpeg-scaler.1
 INSTALL doc/ffmpeg-resampler.1
 INSTALL doc/ffmpeg-codecs.1
 INSTALL doc/ffmpeg-bitstream-filters.1
 INSTALL doc/ffmpeg-formats.1
 INSTALL doc/ffmpeg-protocols.1
 INSTALL doc/ffmpeg-devices.1
 INSTALL doc/ffmpeg-filters.1
 INSTALL doc/libavutil.3
 INSTALL doc/libswscale.3
 INSTALL doc/libswresample.3
 INSTALL doc/libavcodec.3
 INSTALL doc/libavformat.3
 INSTALL doc/libavdevice.3
 INSTALL doc/libavfilter.3
 CC      libavformat/adtsenc.o
 ./libavcodec/x86/mathops.h: Assembler messages:
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 make: *** [ffbuild/common.mak:81: libavformat/adtsenc.o] Error 1


 This is for ffmpeg 6.0. I was able to compile it previously, so it may be
 my environment is wrong. Either way it is odd that this fails - can
 someone look at the file and check whether this works fine with recent gcc
 + binutils?

 My system is:

     Operating system:                GNU/Linux
     Operating system bit type:       x86_64 (64 bit)
     CPU Model:                       AMD Ryzen 5 5500, 32 cores
     RAM:                             64095 MB RAM
     Screen Resolution:               2560x1080
     CFLAGS in use:                   -O2 -fPIC -fno-strict-overflow -Wno-
 error
     gcc:                             gcc version: 14.0.0 20230526
 (experimental)
     g++:                             g++ version: 14.0.0 20230526
 (experimental)
     glibc:                           2.37
     linux:                           6.1.29
     binutils:                        2.40.50.20230531
     cmake:                           3.26.4
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10405>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list