As far as I can tell, this is *NOT* the -fpic/-fPIC conflict problem. I have tried various combinations, including commenting out CFLAGS completely from make.conf. 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 -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mtune=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 -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -march=athlon-mp -O4 -pipe -fomit-frame-pointer -ffast-math -falign-functions=4-fPIC -fno-web -funit-at-a-time -mno-sse2 -mno-sse3 -ffunction-sections -MT dsputil_mmx.lo -MD -MP -MF .deps/dsputil_mmx.Tpo -c dsputil_mmx.c -o .libs/dsputil_mmx.o dsputil_mmx.c: In function `put_qpel8_mc10_3dnow': dsputil_mmx_rnd.h:61: error: can't find a register in class `BREG' while reloading `asm' make[5]: *** [dsputil_mmx.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/src/libffmpeg/libavcodec/i386' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/src/libffmpeg/libavcodec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/src/libffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc8-r1 failed. !!! Function src_compile, Line 159, Exitcode 2 !!! Parallel make failed !!! If you need support, post the topmost build error, NOT this status message. albus ~ # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-hardenednossp, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686) ================================================================= System uname: 2.6.9-gentoo-r10 i686 AMD Athlon(tm) MP 1800+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Aug 1 2004, 14:38:00)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O4 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4 -fPIC" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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-mp -O4 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4 -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distcc distlocks keeptemp keepwork sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS=" http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 S3TC X acl alsa apm arts avi berkdb bidi bitmap-fonts bonobo crypt cups dba directfb encode esd faad fam fbcon fbdev flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java javascript jikes jpeg js junit jython kde ldap leim libgda libwww lzw-tiff mad matroska mikmod motif mozilla mpeg mysql ncurses nls nptl objc odbc offensive oggvorbis opengl openssh oss pam pdflib perl php png postgres ppds python qt quicktime readline regexp ruby samba sdk sdl serial slang smartcard spell sqlite ssl stroke svga tcltk tcpd tetex tiff transcode truetype wxwindows xml xml2 xmms xv zlib" albus ~ #
Created attachment 46759 [details] This is the complete emerge transcript.
it's your CFLAGS that are causing this. For starters, remove -fPIC from that. Please don't use CFLAGS that you do not understand.
Perhaps you ought to read the Description a little more closely. Did you miss this? "As far as I can tell, this is *NOT* the -fpic/-fPIC conflict problem. I have tried various combinations, including commenting out CFLAGS completely from make.conf" However, subsequent work on xine-lib-1.0 seems to make the issue moot. A different change evoked a bug in the libcaca ebuild, but that is definitely a distinct issue. Insofar as your somewhat rude comment "Please don't use CFLAGS that you do not understand" goes, I have been building position-independent executables since 1975, and have been a occasional contributor to gcc since 2001. In this particular case, I was led to use -fPIC by the Gentoo Linux Prelink Guide: http://www.gentoo.org/doc/en/prelink-howto.xml