Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116007

Summary: xine-lib-1.1.1-r3 won't emerge
Product: Gentoo Linux Reporter: Georgi Chulkov <g.chulkov>
Component: [OLD] LibraryAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi Chulkov 2005-12-18 23:29:29 UTC
Output ends with:


 i686-pc-linux-gnu-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 -I../../../lib -I/usr/include/ffmpeg -I/usr/include/postproc -fomit-frame-pointer -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffixed-ebp -frename-registers -ffunction-sections -mno-sse -fomit-frame-pointer -c eq.c  -fPIC -DPIC -o .libs/eq.o
eq.c: In function 'process_MMX':
eq.c:50: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[4]: *** [eq.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1-r3/work/xine-lib-1.1.1/src/post/planar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1-r3/work/xine-lib-1.1.1/src/post'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1-r3/work/xine-lib-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1-r3/work/xine-lib-1.1.1'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.1.1-r3 failed.
!!! Function src_compile, Line 228, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


The same problem also happens with GCC 3.4.5. Emerge --info:

Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.4
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffixed-ebp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffixed-ebp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 atlas audiofile avi bash-completion berkdb bindist bitmap-fonts bzip2 bzlib calendar cdparanoia cdr cpdflib crypt ctype cups dba dedicated dga dio directfb divx4linux doc dts dv dvd dvdr dvdread encode ethereal exif fbcon ffmpeg firefox flac flash fortran ftp gcj gd ggi gif glut gphoto2 gpm gtk gtk2 gtkhtml hal howl iconv icq idn ieee1394 imagemagick imap imlib innodb ipv6 ithreads java javascript jpeg junit kde kdeenablefinal lame lcms libcaca libwww live mad matroska mcal ming mmx mmx2 mono monodoc mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi msn mysql ncurses nis nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcmcia pdf pdflib perl php pic pie plotutils png portaudio posix ppds prelude python qt quicktime readline real samba scanner sdl session sharedext simplexml slang sndfile sockets spell spl sse sse2 ssl subversion svg svga symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales utf v4l vcd video videos vidix-voodoo3 visualization vorbis vorbix wifi win32codecs wmf wxwindows x86 xft xine xml xml2 xprint xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-19 00:15:18 UTC
The problem is probably -ffixed-ebp.
Drop that flag and retry.
Comment 2 Georgi Chulkov 2005-12-19 03:00:33 UTC
Lesson about trying out weird CFLAGS and then forgetting about them learned.