gst-plugins-ffmpeg 0.8.4 fails to compile with a missing register message as below: dsputil_mmx.c: In function `dsputil_init_mmx': dsputil_mmx.c:3080: warning: assignment from incompatible pointer type dsputil_mmx.c:3081: warning: assignment from incompatible pointer type dsputil_mmx.c: In function `h263_h_loop_filter_mmx': dsputil_mmx.c:662: error: can't find a register in class `GENERAL_REGS' while reloading `asm' Reproducible: Always Steps to Reproduce: 1. emerge gst-plugins-ffmepg-0.8.4 2. emerge fails on compile error Actual Results: dsputil_mmx.c: In function `dsputil_init_mmx': dsputil_mmx.c:3080: warning: assignment from incompatible pointer type dsputil_mmx.c:3081: warning: assignment from incompatible pointer type dsputil_mmx.c: In function `h263_h_loop_filter_mmx': dsputil_mmx.c:662: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[8]: *** [libmmxsse_la-dsputil_mmx.lo] Error 1 make[8]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext/ffmpeg/libavcodec/i386' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext/ffmpeg/libavcodec' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext/ffmpeg' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext/ffmpeg' make[4]: *** [all-local] Error 2 make[4]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs/ext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4/gst-libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.4/work/gst-ffmpeg-0.8.4' make: *** [all] Error 2 !!! ERROR: media-plugins/gst-plugins-ffmpeg-0.8.4 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) Expected Results: complete the compile and install. # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 28 2005, 19:06:30)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mtune=pentium4 -march=pentium4 -mfpmath=sse -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=pentium4 -march=pentium4 -mfpmath=sse -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt divx4linux dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mozilla mozsvg mp3 mpeg ncurses nls nptl offensive ogg oggvorbis openal opengl oss pam pdflib perl png python quicktime readline sdl spell sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Note - I have updated a lot of packages recently, but I re-emerged gst-plugins-0.8.3 without any problem whatsoever, so I don't believe any of my emerge info details are causing the problem. Also should be noted, I don't have the standalone ffmpeg package installed. Not sure if this is required ? I am compiling the program through gnome terminal, running standard Gnome 2.8 desktop
yes it is your info, use sane cflags *** This bug has been marked as a duplicate of 86954 ***