When compiling kdegraphics-3.4.1-r1 with gstreamer, the following happens in directory /var/tmp/portage/kdegraphics-3.4.1-r1/work/kdegraphics-3.4.1/kgamma/kcmkgamma/pics: /bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O3 -ftracer -pipe -fforce-addr -fomit-frame-pointer -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kgamma.la -rpath /usr/kde/3.4/lib64/kde3 -L/usr/kde/3.4/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.4/lib64 -R /usr/kde/3.4/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 xf86configpath.lo xvidextwrap.lo displaynumber.lo gammactrl.lo kgamma.lo -lXxf86vm -lkdeui -lkdecore -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/xvidextwrap.o: relocation R_X86_64_PC32 against `std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[4]: *** [kcm_kgamma.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdegraphics-3.4.1-r1/work/kdegraphics-3.4.1/kgamma/kcmkgamma' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.4.1-r1/work/kdegraphics-3.4.1/kgamma/kcmkgamma' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.4.1-r1/work/kdegraphics-3.4.1/kgamma' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.4.1-r1/work/kdegraphics-3.4.1' make: *** [all] Error 2 This may be the same root as bug 103696. There seems to be no way to tell kdegraphics NOT to use gstreamer, so build cannot continue. Reproducible: Always Steps to Reproduce: 1. emerge =kde-base/kdegraphics-3.4.1-r1 2. 3. cougar tmp # emerge info Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 x86_64) ================================================================= System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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=athlon64 -O3 -ftracer -pipe -fforce-addr -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bmp bzip2 caps cdparanoia cdr cjk crypt cups curl curlwrappers dbus dga dio directfb dv dvd eds encode esd ethereal exif fam fbcon ffmpeg fftw flac flash foomaticdb fortran gd geoip gif glut gphoto2 gpm gps gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib ipv6 jabber java javascript jikes joystick jpeg kde kdeenablefinal lcms libcaca libwww lirc lm_sensors lzw lzw-tiff mad maildir memlimit mikmod mime ming mmap mng motif mozilla mp3 mpeg mpi msn nas ncurses nls nptl offensive ogg oggvorbis opengl oscar pam pcntl pcre pda pdflib perl php png posix ppds python qt quicktime readline samba scanner sdl session sharedext sharedmem shorten simplexml sndfile sox speex spell spl ssl svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vhosts videos vorbis wifi wmf xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xv xvid yahoo zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
There seems to be no way to tell kdegraphics not to use gstreamer.
gstreamer is not involved here for sure, the error is due to -fvisibility-inlines-hidden. *** This bug has been marked as a duplicate of 78720 ***