Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80640 - kdemultimedia compilation crashed with "recompile with -fPIC" error
Summary: kdemultimedia compilation crashed with "recompile with -fPIC" error
Status: RESOLVED DUPLICATE of bug 77592
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 14:50 UTC by Alexis Lahouze
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Lahouze 2005-02-03 14:50:14 UTC
When I tied to update kdemultimedia, I have an error "/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' cannot be used when making a shared object; recompile with -fPIC"

I tried to recompile first-level dependances of kdemultimedia with USE="+hardened +pic" and retried kdemultimedia but nothing.... Same thing with glibc and gcc ....

I can't update my whole world because of it...
I didn't tried to emerge -e world.... I'll do it ONLY if I need.

Reproducible: Always
Steps to Reproduce:
1.emerge kdemultimedia
2.emerge kdemultimedia 
3.emerge kdemultimedia 

Actual Results:  
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++   
-DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon64 -pipe -fno-exceptions  
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL  
-DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kaudiocreator -L/usr/X11R6/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/X11R6/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' cannot 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 151, Exitcode 2  
!!! died running emake, kde_src_compile:make  
!!! If you need support, post the topmost build error, NOT this status  
message.  


ange root # emerge info 
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb  1 2005, 04:10:47)] 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon64 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon64 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="http://gentoo.inode.at/ 
http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.ynet.sk/pub 
http://gentoo.blueyonder.co.ukhttp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac acpi acpi4linux aim alsa apache2 asm audiofile berkdb 
bitmap-fonts blender-game bootsplash bzlib cdda cddb cdinstall cdparanoia cdr 
cdrom chroot crypt cups divx4linux dvd dvdr dvdread dxr3 editor encode esd 
ethereal f77 fam flac fmod font-server foomaticdb gd gdbm geoip gif gimp 
gimpprint gkrellm glut gmtfull gmthigh gmtsuppl gmttria gphoto2 gpm gs gtk 
gtk2 hal hardened imagemagick imlib imlib2 j2ee java javascript jp2 jpeg junit 
kde ldap libcaca libwww lm_sensors logitech-mouse lzo lzw lzw-tiff mad 
mapeditor maps mime mjpeg mp3 mpeg mpeg4 msn multilib mysql nagios-dns 
nagios-ntp nagios-ping nagios-ssh ncurses network nls ntlm nvidia offensive 
ogg oggvorbis openal openexr opengl openntpd openssh oscar oss pam 
parse-clocks pcmcia pdflib pear-db perl php pic pie png posix postgres povray 
ppds python qt quicktime readline recode ruby sdl server session slp sockets 
spl ssl tcltk tcpd tiff tokenizer tools transcode truetype truetype-fonts 
trustedtype1-fonts unicode usb userlocales utf8 vcd videos vidix vim vim-pager 
vim-with-x vorbis wifi wma123 wmf wxwindows xchatdccserver xchattext xine 
xinerama xml2 xmlrpc xmms xpm xrandr xscreensaver xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-03 15:50:20 UTC

*** This bug has been marked as a duplicate of 77592 ***