/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginT.o: relocation R_X86_64_32 against `__deregister_frame_info' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginT.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [../lib/libqt-mt.so.3.3.4] Error 1 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src' make: *** [sub-src] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r3 failed. !!! Function src_compile, Line 155, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge qt 2. 3. 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-r10 x86_64) ================================================================= System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 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="-DAMD64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -ftree-vectorize -march=k8 -I/opt/intel/ipp41/em64t/include -g -I/opt/acml2.7.0/gnu64/include -I/opt/intel/mkl/8.0/include -I/usr/include/mysql" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-DAMD64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -ftree-vectorize -march=k8 -I/opt/intel/ipp41/em64t/include -g -I/opt/acml2.7.0/gnu64/include -I/opt/intel/mkl/8.0/include -I/usr/include/mysql" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-static -L/opt/acml2.7.0/gnu64/lib -L/opt/intel/mkl/8.0/lib/32 -L/opt/intel/ipp41/em64t/lib -L/opt/intel/compiler90/lib -lacml /opt/acml2.7.0/gnu64/lib/libacml_mv.a /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.4/libg2c.a -lippsmergedem64t -lippvmmergedem64t -lippchmergedem64t -lippcoreem64t -lirc -lguide -lguide_stats -lm -lpthread" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd dvdr eds emacs emboss encode esd fam fftw foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml gtl hal howl imlib ipv6 jpeg lm_sensors lzw lzw-tiff mad mozilla mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
(In reply to comment #0) happens for all ebuilds, including 4.0.1
Fix your C[XX]FLAGS.