[MPlayer-users] unable to build with march CFLAGS

Roger Pack rogerdpack2 at gmail.com
Thu Oct 3 20:39:40 CEST 2013


Hello.  As a note I tried compiling mplayer the other day like this:

$ cd mplayer-checkout-2013-10-02
$ export CFLAGS=-march=core-avx2
$ ./configure && make

The end result was the below (NB that CD'ing into FFmpeg and building
there works ok).  This is with 32-bit Ubuntu (or cross compiling for
mingw-w64 32 bit--same output).
Thank you.
-roger-

output:

$ make
...
make -C ffmpeg libpostproc/libpostproc.a
make[1]: Entering directory
`/home/rdp/dev/downloads/mplayer-checkout-2013-10-02/ffmpeg'
CC	libpostproc/postprocess.o
In file included from libpostproc/postprocess.c:564:0:
libpostproc/postprocess_template.c: In function 'dering_SSE2':
libpostproc/postprocess_template.c:1094:5: error: can't find a
register in class 'GENERAL_REGS' while reloading 'asm'
libpostproc/postprocess_template.c:1094:5: error: 'asm' operand has
impossible constraints
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory
`/home/rdp/dev/downloads/mplayer-checkout-2013-10-02/ffmpeg'
make: *** [ffmpeg/libpostproc/libpostproc.a] Error 2
rdp at roger-VirtualBox-32:~/dev/downloads/mplayer-checkout-2013-10-02$
make 2>&1 > bad_mplayer.output
In file included from libpostproc/postprocess.c:564:0:
libpostproc/postprocess_template.c: In function 'dering_SSE2':
libpostproc/postprocess_template.c:1094:5: error: can't find a
register in class 'GENERAL_REGS' while reloading 'asm'
libpostproc/postprocess_template.c:1094:5: error: 'asm' operand has
impossible constraints
make[1]: *** [libpostproc/postprocess.o] Error 1
make: *** [ffmpeg/libpostproc/libpostproc.a] Error 2


More information about the MPlayer-users mailing list