x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libkcddb -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno-push-args -fno-inline -fbranch-target-load-optimize2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o encodefile.o encodefile.cpp /bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -O2 -pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno-push-args -fno-inline -fbranch-target-load-optimize2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -Wl,-O1 -o kaudiocreator -L/usr/lib64 -L/usr/qt/3/lib -L/usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib64 -lkutils main.o kaudiocreator.o encoder.o encoderconfigimp.o job.o jobqueimp.o ripper.o tracksimp.o encodefileimp.o encoderedit.o jobque.o tracks.o infodialog.o wizard.o general.o cdconfig.o ripconfig.o encoderoutput.o encoderconfig.o encodefile.o prefs.o encoder_prefs.o -lkio ../libkcddb/libkcddb.la ../kscd/libwm/libworkman.la /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC main.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [kaudiocreator] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.2/work/kdemultimedia-3.3.2/kaudiocreator' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.2/work/kdemultimedia-3.3.2/kaudiocreator' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.2/work/kdemultimedia-3.3.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.3.2 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge kdemultimedia 2. 3. Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2. 6.9-genPortage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4. 20041102-r0, 2.6.9-gentoo-r10 x86_64) ================================================================= System uname: 2.6.9-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 9 2005, 02:17:56)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno- push-args -fno-inline -fbranch-target-load-optimize2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all- givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables - mno-push-args -fno-inline -fbranch-target-load-optimize2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts avi berkdb bidi bitmap-fonts bonobo bootsplash cdparanoia cdr crypt cups directfb divx4linux dvb dvd dvdread edl emul-linux-x86 esd f77 faad fam ffmpeg flac foomaticdb fortran gdbm ggi gif gimp gimpprint gkrellm gnome gpm gstreamer gtk hardened imlib ipv6 jack java javascript joystick jp2 jpeg kde libcaca live lm_sensors lzo lzw lzw-tiff mad matroska mikmod motif mozilla mp3 mpeg mpeg4 mplayer multilib mythtv nas ncurses need network nls nntp nvidia offensive oggvorbis opengl oss pam pda pdf perl png ppds python readline rtc samba sdl slang spell ssl tcltk tcpd theora tiff timidity truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wxwindows xanim xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib" too-r10 x86_64) ================================================================= System uname: 2.6.9-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 9 2005, 02:17:56)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all-givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables -mno- push-args -fno-inline -fbranch-target-load-optimize2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -Wall -march=athlon64 -O2 -mieee-fp -funswitch-loops -freduce-all- givs -fpeel-loops -funit-at-a-time -maccumulate-outgoing-args -fmove-all-movables - mno-push-args -fno-inline -fbranch-target-load-optimize2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts avi berkdb bidi bitmap-fonts bonobo bootsplash cdparanoia cdr crypt cups directfb divx4linux dvb dvd dvdread edl emul-linux-x86 esd f77 faad fam ffmpeg flac foomaticdb fortran gdbm ggi gif gimp gimpprint gkrellm gnome gpm gstreamer gtk hardened imlib ipv6 jack java javascript joystick jp2 jpeg kde libcaca live lm_sensors lzo lzw lzw-tiff mad matroska mikmod motif mozilla mp3 mpeg mpeg4 mplayer multilib mythtv nas ncurses need network nls nntp nvidia offensive oggvorbis opengl oss pam pda pdf perl png ppds python readline rtc samba sdl slang spell ssl tcltk tcpd theora tiff timidity truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wxwindows xanim xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib"
please try again with minimal CFLAGS and CXXFLAGS.
this does not change the request for -fPIC
Am experiencing same problem - with install from scratch, as well as emerge -e. AMD64, minimal CXXFLAGS CFLAGS.
*** This bug has been marked as a duplicate of 78720 ***
*** Bug 80640 has been marked as a duplicate of this bug. ***