Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95534 - kdelibs-3.4.1-r1 gives recompile with -fPIC.
Summary: kdelibs-3.4.1-r1 gives recompile with -fPIC.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 02:00 UTC by Kfir Ozer
Modified: 2005-09-19 04:19 UTC (History)
2 users (show)

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 Kfir Ozer 2005-06-09 02:00:01 UTC
when i emerge kdelibs-3.4.1-r1 i get:
make[4]: Entering directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kdecore'
/bin/sh ../libtool --silent --mode=link --tag=CXX 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 -O2
-pipe -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 libkdecore.la -rpath
/usr/kde/3.4/lib64 -L/usr/qt/3/lib64 -R /usr/kde/3.4/lib64 -R /usr/kde/3.4/lib64
-R /usr/qt/3/lib64 -R /usr/lib64  -L/usr/lib64  -version-info 6:0:2
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined libintl.lo
kapplication.lo kdebug.lo netwm.lo kconfigbase.lo kconfig.lo ksimpleconfig.lo
kconfigbackend.lo kmanagerselection.lo kdesktopfile.lo kstandarddirs.lo ksock.lo
kpty.lo kprocess.lo kprocctrl.lo klocale.lo krfcdate.lo kiconeffect.lo
kicontheme.lo kiconloader.lo kwin.lo kwinmodule.lo krootprop.lo kcharsets.lo
kckey.lo kshortcut.lo kkeynative_x11.lo kkeyserver_x11.lo kaccelaction.lo
kshortcutmenu.lo kaccelbase.lo kaccel.lo kglobalaccel_x11.lo kglobalaccel.lo
kstdaccel.lo kshortcutlist.lo kcrash.lo kurl.lo kregexp.lo kglobal.lo
kglobalsettings.lo kallocator.lo kvmallocator.lo kmimesourcefactory.lo
kinstance.lo kpalette.lo kipc.lo klibloader.lo ktempfile.lo
kuniqueapplication.lo kaccelmanager.lo ksavefile.lo krandomsequence.lo
kstringhandler.lo kcompletion.lo kcmdlineargs.lo kaboutdata.lo
kcompletionbase.lo knotifyclient.lo kaudioplayer.lo kdcoppropertyproxy.lo
ksockaddr.lo kextsock.lo netsupp.lo kprocio.lo kbufferedio.lo kpixmapprovider.lo
kurldrag.lo kmdcodec.lo ksocks.lo fakes.lo vsnprintf.lo ksycoca.lo
ksycocadict.lo ksycocafactory.lo kxmessages.lo kstartupinfo.lo kcatalogue.lo
kasyncio.lo kmultipledrag.lo kstaticdeleter.lo kappdcopiface.lo kclipboard.lo
kcheckaccelerators.lo kdeversion.lo kdebugdcopiface.lo kcalendarsystem.lo
kcalendarsystemgregorian.lo kcalendarsystemhijri.lo kcalendarsystemhebrew.lo
kcalendarsystemfactory.lo kmacroexpander.lo kidna.lo ktempdir.lo kshell.lo
kmountpoint.lo kcalendarsystemjalali.lo kprotocolinfo_kdecore.lo
kprotocolinfofactory.lo kxerrorhandler.lo kuser.lo kconfigskeleton.lo
kconfigdialogmanager.lo klockfile.lo ksycoca_skel.lo kappdcopiface_skel.lo
kdebugdcopiface_skel.lo malloc/libklmalloc.la network/libkdecorenetwork.la
svgicons/libkdesvgicons.la ../dcop/libDCOP.la ../libltdl/libltdlc.la -lXext
-lresolv -lutil -L/usr/lib64 -lart_lgpl_2 -lm -lidn ../kdefx/libkdefx.la
/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/kapplication.o: relocation R_X86_64_PC32 against `operator new(unsigned
long)@@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]: *** [libkdecore.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kdecore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kdecore'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.1-r1 failed.
!!! Function kde_src_compile, Line 166, 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:
emerge kdelibs
Actual Results:  
won't compile

Expected Results:  
compile!

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~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/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="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks keeptemp keepwork sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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 aalib acpi alsa apache2 avi bash-completion berkdb bidi
bitmap-fonts bluetooth bzip2 cdparanoia cdr crypt ctype cups curl curlwrappers
directfb dvd dvdr dvdread eds encode esd fam fbcon font-server foomaticdb
fortran ftp gif glut gmp gnome gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib
ipv6 ithreads java javascript jikes joystick jp2 jpeg lesstif libwww live lzw
lzw-tiff mbox mime mozilla mp3 mpeg msn mysql ncurses nls nvidia ogg oggvorbis
opengl openssl oscar oss pam perl png python qt quicktime readline scanner sdl
slang sndfile sox ssl tcltk tcpd threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vcd videos vorbis xinerama xinetd
xml2 xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-09 02:32:25 UTC
Hmm, is Bug 78720 really fixed?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-09 03:28:57 UTC
ccache problem maybe? Try cleaning /var/tmp/portage, disabling ccache and 
trying again. 
Comment 3 Kfir Ozer 2005-06-09 07:55:44 UTC
thanks alot!
i rm -rf /var/tmp/portage
removed ccache from make.conf and it compiled just fine!
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-09 12:30:08 UTC
Ok, closing.  
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 04:19:05 UTC
*** Bug 106501 has been marked as a duplicate of this bug. ***