Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42449 - xine-lib-1_rc2 will not build, recieves all recursive error 1 after unused variables
Summary: xine-lib-1_rc2 will not build, recieves all recursive error 1 after unused va...
Status: RESOLVED DUPLICATE of bug 31243
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 22:06 UTC by Paul Kozik
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Kozik 2004-02-21 22:06:42 UTC
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
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-03-09 09:15:24 UTC
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?
Comment 2 Fritz 2004-03-30 17:42:18 UTC
I am having the exact same problem on a VIA C3 (pre-nehemiah core) based system. It is supposedly fully i586 compliant.
Comment 3 Fritz 2004-03-30 18:23:10 UTC
I forgot to mention that the same ERROR is also recieved with xine-lib-1_rc3-r1 and xine-lib-1_rc3-r2.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-04-28 06:56:53 UTC
Bug 48261 is somewhat related - perhaps rc3-r3 will help?
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-04-30 03:54:53 UTC
is this still an issue ?

please paste
#emerge info
Comment 6 Mengmeng Zhang 2004-05-07 13:30:14 UTC
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'
Comment 7 Mengmeng Zhang 2004-05-11 13:28:09 UTC
Problem solved by adding "-O2" to CCFLAGS
Comment 8 SpanKY gentoo-dev 2004-06-23 07:52:35 UTC

*** This bug has been marked as a duplicate of 31243 ***