The included libavcodec inside the gst-plugins package is compiled wihtout -fPIC which causes the following link failure on amd64: ../../gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.a(utils.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC ../../gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.a: could not read symbols: Bad value The utils.o is compiled with the following command (which even ignores the CFLAGS in make.conf) gcc -O2 -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c Reproducible: Always Steps to Reproduce: 1. emerge gst-plugins on amd64 2. 3. Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 x86_64 4 Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -fomit-frame-pointer -frename-registers --param max-delay-slot -insn-search=250 --param max-delay-slot-live-search=800 --param max-pending-list -length=72 --param max-gcse-passes=3 --param max-crossjump-edges=200" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs userpriv usersandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp: //trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.linux.no/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="amd64 oss 3dnow apm avi crypt -cups encode foomaticdb gif -java jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png -qt quicktime sdl spell sse truet ype xml2 xmms xv zlib alsa gdbm berkdb slang readline X gpm tcpd pam ssl perl py thon imlib oggvorbis opengl mozilla gnome gtk doc ethereal freetype gtk2 mozsvg -cups -java -qt -esd -kde -arts -svga -motif"
done