Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73571 - Prelinking fails with "Could not find virtual address slot for..." on random libs
Summary: Prelinking fails with "Could not find virtual address slot for..." on random ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-06 09:32 UTC by Ivan Yosifov
Modified: 2004-12-09 12:43 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 Ivan Yosifov 2004-12-06 09:32:39 UTC
I peridocally prelink my sustem with the following prelink script:
--------------------------------------------------
#! /bin/sh

prelink -ahfR
env-update
--------------------------------------------------
I run it once:
--------------------------------------------------
localhost bin # ./prelink
prelink: /usr/i686-pc-linux-gnu/lib/libbfd-2.15.92.0.2.so is not present in any config file directories, nor was specified on command line
prelink: Could not find virtual address slot for /usr/lib/libstdc++-libc6.2-2.so.3
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
--------------------------------------------------
I run it again:
--------------------------------------------------
localhost bin # ./prelink
prelink: /usr/i686-pc-linux-gnu/lib/libbfd-2.15.92.0.2.so is not present in any config file directories, nor was specified on command line
prelink: Could not find virtual address slot for /usr/kde/3.3/lib/libkdeinit_kmixctrl.so
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
--------------------------------------------------
I run it yet again:
--------------------------------------------------
 ./prelink
prelink: /usr/i686-pc-linux-gnu/lib/libbfd-2.15.92.0.2.so is not present in any config file directories, nor was specified on command line
prelink: Could not find virtual address slot for /usr/lib/mozilla/libxpcom.so
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
--------------------------------------------------

No matter how many times I run it , prelink fails (prints the error and terminates) with Could not find virtual address slot for <SOME LIBRARY>. A few days ago this was working. I have installed some software since (gcc-3.4.3-r1,mysql,gtkmm,php<PG,MY>admin...) , but AFAIK this should not matter. Any ideas ?

Reproducible: Always
Steps to Reproduce:
1.prelink -ahfR
2.
3.

Actual Results:  
Prelink fails with Could not find virtual address slot for <SOME LIBRARY>

Expected Results:  
Apart from (non-fatal) prelinking errors on apps that link with NVidia gl-libs:
a n error-less prelink

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake:
sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9.3
Binutils: sys-devel/binutils-2.15.92.0.2-r2,sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms test"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts avi berkdb bitmap-fonts cdr crypt cups dba doc encode esd
f77 fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile
imagemagick imlib jack java jpeg junit kde ldap libg++ libwww mad mikmod mmap
motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl png
postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex
tiff truetype unicode usb vhosts x86 xml xml2 xmms xv zlib linguas_en"
Comment 1 Ivan Yosifov 2004-12-09 12:43:20 UTC
I've updated my binutils to 2.15.92.0.2-r1 and pruned all other (previously had 2.15.92.0.2-r2 and some older version) and prelink works again. Unfortunately I've been unable to reproduce the problem with reemerging -r2 and am not sure what caused it. Closing as WORKSFORME.

Ivan Yosifov.