Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46465 - xine-lib-1_rc3-r2 fails to emerge with an error in dsputil_mmx.c
Summary: xine-lib-1_rc3-r2 fails to emerge with an error in dsputil_mmx.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 03:16 UTC by Greisberger Christophe
Modified: 2004-04-01 10:56 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 Greisberger Christophe 2004-04-01 03:16:36 UTC
# emerge -U world
# emerge xine-lib
both fail during the compilation of dsputil_mmx.c

I also tried with
# USE="-mmx" emerge xine-lib
Same error.

Reproducible: Always
Steps to Reproduce:
1.emerge xine-lib
2.
3.
Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include 
-I../../../../include -I../../../../src -I../../../../src/xine-engine 
-I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/
input -I../../../../src/input -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H 
-DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS 
-DXINE_MPEG_ENCODER -DCONFIG_ZLIB -Wall -DNDEBUG -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs 
-Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-fprefetch-loop-arrays -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -mmmx -msse -m3dnow -mfpmath=387,sse 
-momit-leaf-frame-pointer -mno-sse2 -c dsputil_mmx.c -MT dsputil_mmx.lo -MD -MP 
-MF .deps/dsputil_mmx.TPlo -o .libs/dsputil_mmx.o 
dsputil_mmx.c: In function `dsputil_init_mmx': 
dsputil_mmx.c:2116: warning: unused variable `dct_algo' 
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' 
dsputil_mmx.c: At top level: 
dsputil_mmx_rnd.h:363: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not 
used 
dsputil_mmx_rnd.h:410: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not 
used 
dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used 
dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used 
dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used 
dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used 
dsputil_mmx.c:1976: warning: `try_8x8basis_mmx' defined but not used 
dsputil_mmx.c:2024: warning: `add_8x8basis_mmx' defined but not used 
make[5]: *** [dsputil_mmx.lo] Error 1 
make[5]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/
xine-lib-1-rc3b/src/libffmpeg/libavcodec/i386' 
make[4]: *** [all-recursive] Error 1 
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/
xine-lib-1-rc3b/src/libffmpeg/libavcodec' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/
xine-lib-1-rc3b/src/libffmpeg' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/
xine-lib-1-rc3b/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/
xine-lib-1-rc3b' 
make: *** [all] Error 2 
 
!!! ERROR: media-libs/xine-lib-1_rc3-r2 failed. 
!!! Function src_compile, Line 108, Exitcode 2 
!!! Parallel make failed 
 

Expected Results:  
emerged :-) 

# emerge --info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.4.22-gentoo-r7) 
================================================================= 
System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 2800+ 
Gentoo Base System version 1.4.3.13p1 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -mmmx -msse -m3dnow -mfpmath=387,sse 
-momit-leaf-frame-pointer" 
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=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -mmmx -msse -m3dnow -mfpmath=387,sse 
-momit-leaf-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/
Linux/distributions/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 acl acpi alsa arts avi berkdb bonobo canna cdr cjk crypt cups curl 
dga directfb doc dvb dvd encode fbcon foomaticdb freewnn gdbm ggi gif gphoto2 
gstreamer gtk guile imap imlib jack java joystick jpeg kde libg++ linguas_ar 
linguas_de linguas_en linguas_fr linguas_hu linguas_jp linguas_ro linguas_ru 
linguas_sp lirc mad maildir mbox mmx motif mozilla mpeg mysql nas ncurses nls 
oggvorbis opengl oss pam pdflib perl png postgres prelude python qt quicktime 
readline samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff 
truetype unicode usb vim-with-x wmf x86 xinerama xml xml2 xmms xv zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-04-01 04:03:53 UTC
-fforce-addr  has to be filtered out (at least for -march=athlon-xp)
Comment 2 Greisberger Christophe 2004-04-01 10:56:13 UTC
Yes indeed, it works :-)