I seem to have a similiar problem when emerging media-video/mplayer-1.0_pre5-r5 . I also have /proc/mtrr as suggested by another post on this thread.
cc -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon-xp -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx': i386/dsputil_mmx.c:634: error: can't find a register in class `GENERAL_REGS' while reloading `asm' i386/dsputil_mmx.c: In function `dsputil_init_mmx': i386/dsputil_mmx.c:2540: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:2541: warning: assignment from incompatible pointer type make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r5/work/MPlayer-1.0pre5try2/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2
!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed. !!! Function src_compile, Line 443, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message.
Since these errors all seem to revolve around mmx, do you have mmx in your USE flags? What happens if you remove it (or rather, add
media-video/mplayer -mmx to /etc/portage/package.use)? I remember in the past that there was a problem compiling mplayer with mmx and maybe also sse, it seemed to have been fixed in recent versions, but maybe it has re-emerged.
Holly
-- [email protected] mailing list
