Upon emerging KDE, when emerging xine-lib-1_rc2, make outputs warnings about unused variables, followed by [postprocess.lo] and [all-recursive] Error 1 and ends with *** [all] Error 2 and parallel make failed. Reproducible: Always Steps to Reproduce: 1.emerge kde Actual Results: postprocess_template.c:2813: warning: unused variable `mbWidth' In file included from postprocess.c:405: postprocess_template.c: In function `isVertDC_MMX': postprocess_template.c:61: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c: In function `postProcess_MMX': postprocess_template.c:2813: warning: unused variable `mbWidth' In file included from postprocess.c:416: postprocess_template.c: In function `postProcess_MMX2': postprocess_template.c:2813: warning: unused variable `mbWidth' In file included from postprocess.c:427: postprocess_template.c: In function `postProcess_3DNow': postprocess_template.c:2813: warning: unused variable `mbWidth' postprocess.c: At top level: postprocess.c:158: warning: `unusedVariableWarningFixer' defined but not used make[5]: *** [postprocess.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libffmpeg/libavcodec/libpostproc' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libffmpeg/libavcodec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2' make: *** [all] Error 2 Expected Results: Should have completed building Error occurs on any CFLAG and CXXFLAG Configuration Athon 64 based system Gentoo-sources 2.4 kernel
The real error seems to be: postprocess_template.c:61: error: can't find a register in class `GENERAL_REGS' while reloading `asm' so there is some MMX-specific code in there that is not available on amd64. Have you tried the current version xine-lib_rc3-r1?
I am having the exact same problem on a VIA C3 (pre-nehemiah core) based system. It is supposedly fully i586 compliant.
I forgot to mention that the same ERROR is also recieved with xine-lib-1_rc3-r1 and xine-lib-1_rc3-r2.
Bug 48261 is somewhat related - perhaps rc3-r3 will help?
is this still an issue ? please paste #emerge info
I too have this problem, on a P4 machine, trying to upgrade to xine-lib-1_rc4 #emerge info Gentoo Base System version 1.4.10 Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.ccccom.com http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apm arts avi berkdb cdr cjk crypt cups curl directfb dvd encode esd foomaticdb gdbm gnome gtk gtk2 imlib jpeg kde kerberos ldap lesstif libg++ libwww lirc mad mikmod mmx motif mozilla mpeg mysql ncurses nls nocd odbc oggvorbis opengl oscar oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xv yaz zlib" #emerge -up xine-lib These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/xine-lib-1_rc4 [1_rc3-r2] #emerge -u xine-lib *snip* dsputil_mmx.c: In function `h263_h_loop_filter_mmx': dsputil_mmx.c:614: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
Problem solved by adding "-O2" to CCFLAGS
*** This bug has been marked as a duplicate of 31243 ***