my sys: 2.4.20-gaming-r6 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux USE flags: [ebuild N ] media-libs/xine-lib-1_rc3-r1 +arts +esd +avi +nls -dvd -aalib +X -directfb +oggvorbis +alsa -gnome +sdl -speex emerge system done recently, and I have problems to emerge alsa-driver but I think thats another bug. Reproducible: Always Steps to Reproduce: emerge media-libs/xine-lib-1_rc3-r1 Actual Results: emerge output: ../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I/usr/X11R6/include -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=athlon-xp -pipe -c -o cpu_accel.lo `test -f 'cpu_accel.c' || echo './'`cpu_accel.c mkdir .libs rm: cannot remove `': Invalid argument 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/usr/X11R6/include -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=athlon-xp -pipe -c cpu_accel.c -MT cpu_accel.lo -MD -MP -MF .deps/cpu_accel.TPlo -fPIC -o .libs/cpu_accel.o cpu_accel.c: In function `arch_accel': cpu_accel.c:100: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:106: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:117: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:121: error: can't find a register in class `BREG' while reloading `asm' make[3]: *** [cpu_accel.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a/src/xine-utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r1/work/xine-lib-1-rc3a' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc3-r1 failed. !!! Function src_compile, Line 121, Exitcode 2 !!! Parallel make failed root:portage$ emerge info Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.20-g aming-r6) ================================================================= System uname: 2.4.20-gaming-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/sha re/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal. de/pub/linux/gentoo/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://mi rrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readl ine sdl slang spell ssl svga tcpd truetype x86 xchatnogtk xml2 xmms xv zlib" I emerged the prior version media-libs/xine-lib-1_rc3 without problems. This is my first reported BUG and I hope its not only crap. I tried to atach this to Bug #34736 but gave up because they wanted some file from me and I have no Idea what is meant. good luck :)
this verison of xine has problem with -fPIC flag it seems look at bug #36759
Since my patch gets only applied if arch=sparc now I'll re-assign this to the xine maintainer. Martin, thanks again for the fix, I'll be safe and handle arch specific patches like this in future...
there is also a tail posix compatibility complaint in configure... diff -Bbur --unidirectional-new-file portage/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild overlay/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild --- portage/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild 2003-12-30 05:13:47.000000000 -0700 +++ overlay/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild 2003-12-31 14:57:35.549126784 -0700 @@ -2,14 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild,v 1.5 2003/12/30 12:09:56 mholzer Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic fixheadtails # this build doesn't play nice with -maltivec (gcc 3.2 only option) on ppc # Commenting this out in this ebuild, because CFLAGS and CXXFLAGS are unset # at make time any way. # Brandon Low (29 Apr 2003) # inherit flag-o-matic -filter-flags "-maltivec -mabi=altivec -fstack-protector" +filter-flags "-maltivec -mabi=altivec -fPIC" # replace-flags k6-3 i686 # replace-flags k6-2 i686 # replace-flags k6 i686 @@ -90,6 +90,8 @@ } src_compile() { + ht_fix_file configure + # Use the built-in dvdnav plugin. local myconf="--with-included-dvdnav"
and if I may add the ebuild should "append-flags -mno-sse2" like it used to do in the earlier ebuilds, otherwise it will fail on certain pentium4 cflags
if [ "`gcc-version`" == "3.3" ]; then use x86 && append-flags -mno-sse2 fi also 1_rc3-r2 should close this