Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163130 - prelinking to kdelibs doesnt work
Summary: prelinking to kdelibs doesnt work
Status: RESOLVED DUPLICATE of bug 105942
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-21 21:08 UTC by Tobias Bender
Modified: 2007-01-21 21:42 UTC (History)
0 users

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


Attachments
emerge log of the kdelibs (kdelibs.merg.log1.bz2,116.29 KB, text/plain)
2007-01-21 21:31 UTC, Tobias Bender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Bender 2007-01-21 21:08:28 UTC
Always getting "Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libname.so.1"-error when prelinking kde
First I've added prelink to /etc/make.conf FEATURES and tried "prelink -amR" which resulted in a lot of non-PIC-library errors for the kdelibs
Then I made 
CFLAGS="-fPIC $CFLAGS" emerge kdelibs". prelinking produced again a lot of nonPIC-errors.

Reproducible: Always

Steps to Reproduce:
1.emerge kdelibs
2.prelink -amR
3.

Actual Results:  
prelink: /usr/kde/3.5/bin/kwin_rules_dialog: Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libkdeui.so.4
prelink: /usr/kde/3.5/bin/kaddprinterwizard: Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libkdeprint_management.so.4
prelink: /usr/kde/3.5/bin/khotkeys: Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libkdeinit_khotkeys.so
prelink: /usr/bin/glxgears: Cannot prelink against non-PIC shared library //usr//lib/opengl/xorg-x11/lib/libGL.so.1
prelink: /usr/bin/mplayer: Cannot prelink against non-PIC shared library //usr//lib/opengl/xorg-x11/lib/libGL.so.1
prelink: /usr/kde/3.5/bin/kcontrol: Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libkhtml.so.4
non-PIC shared library /usr/kde/3.5/lib/libkio.so.4
prelink: /usr/kde/3.5/bin/kab2kabc: Cannot prelink against non-PIC shared library /usr/kde/3.5/lib/libkabc.so.1
[...shortened... normally 50 /usr/kde/3.5/lib/... non-PIC errors more]
Executing /sbin/init U

Expected Results:  
no errors should be produced

emerge --info:
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Thu, 18 Jan 2007 08:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /usr/lib/x11/xkb/"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/tbender/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm arts asf avi bash-completion bitmap-fonts bootsplash cdr cli cracklib crypt css cups curl dbus divx dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd firefox foomaticdb fortran gif gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww linguas_de linguas_en lirc_devices_atiusb mad maildir mikmod mmx motif mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slp spell spl sse ssl symllink tcpd threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia vidix vorbis win32codecs wxwindows x264 xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-21 21:10:49 UTC

*** This bug has been marked as a duplicate of bug 105942 ***
Comment 2 Tobias Bender 2007-01-21 21:31:35 UTC
Created attachment 107724 [details]
emerge log of the kdelibs
Comment 3 Tobias Bender 2007-01-21 21:35:22 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 105942 ***
> 
I am not sure about this. 
Have a look at at the emerge log. There you can see, that I use the -fPIC for compiling. But when prelinking I get only non-PIC errors for the kdelibs.
(I reopend the bug in case, it is not a duplicate. If it is one, I am sorry for waisting your time)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-21 21:42:39 UTC
I can't look at the log as it's completely unreadable. Anyway, prelink doesn't work w/ KDE, we know about it, noone's maintaining prelink and noone's working on it, look for prelink alternatives instead.

End of story, sorry.


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