MPlayer fails on asm

David Liontooth liontooth at cogweb.net
Tue Nov 27 08:12:25 PST 2007


MPlayer fails to compile on macintel 10.5.1 with the message

    i386/dsputil_mmx.c:634: error: can't find a register in class 
'GENERAL_REGS' while reloading 'asm'

Is this a known problem? workaround?

Dave


opt.c: In function 'opt_list':
opt.c:324: warning: passing argument 3 of 'opt_list' discards qualifiers 
from pointer target type
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o bitstream_filter.o 
bitstream_filter.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o audioconvert.o audioconvert.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o imgresample.o imgresample.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o i386/fdct_mmx.o 
i386/fdct_mmx.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o i386/cputest.o i386/cputest.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include -I.  -I./libavutil 
-I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil 
-Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m 
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo 
-I/opt/local/include -I/usr/X11/include  -c -o i386/dsputil_mmx.o 
i386/dsputil_mmx.c
i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:634: error: can't find a register in class 
'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:634: error: can't find a register in class 
'GENERAL_REGS' while reloading 'asm'
make[1]: *** [i386/dsputil_mmx.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

Error: The following dependencies failed to build: MPlayer


More information about the macports-users mailing list