K3b should be build with the -fPIC flag, otherwise prelinking will fail completly and not continue with other programs.
Of which version are you talking, what is the output of prelink and what is the output of "emerge info"?
This error occurs on two systems here, both k3b version 0.81 prelink version 20021002-r1 (the new prelink umasked today cannot prelink anything here) Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) MP 2400+ GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.i biblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl -oss acpi alsa cdr dvd emacs ethereal flash gd gphoto2 gtk2 imap ldap lcms leim lirc maildir mbox mozilla mysql oav perl ruby samba sasl scanner snmp sse tetex tiff usb wmf pic" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse -fforce-addr" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse -fforce-addr" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache the second is Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) MP 2400+ GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl -oss acpi alsa cdr dvd emacs ethereal flash gd gphoto2 gtk2 imap ldap lcms leim lirc maildir mbox mozilla mysql oav perl ruby samba sasl scanner snmp sse tetex tiff usb wmf pic" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse -fforce-addr" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -msse -mmmx -mfpmath=sse -fforce-addr" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Sorry to bother you again, but I still think the output of prelink would be helpful :-)
prelink: exec.c:778: prelink_exec: Zusicherung
prelink: exec.c:778: prelink_exec: Zusicherung »data->d_size == dso->shdr[new_dynbss].sh_size + dso->shdr[new_dynbss + 1].sh_size« nicht erfüllt.
for our english speakers: zusicherung .... nicht erf
for our english speakers: zusicherung .... nicht erfüllt means assertion .... failed.
Have you tried the newest version of prelink in portage, sys-devel/prelink-20021213 ?
see the third post ;D >> (the new prelink umasked today cannot prelink anything here) and it's masked again now ;D
When force-prelinking k3b I can reproduce the problem. Cretin? I think this is one for you, not for the KDE team.
drat, time to install KDE, not happy! If I can reporoduce the bug on my system I will take the bug off the kde team. Stefan
prelink-20030217 (which was umasked today) shows the following error: prelink: Could not write /lib/ld-2.3.1.so: invalid section entry size
prelink -uaf /lib/ld-2.3.1.so and then try again.
I tried the new prelink today !!!!fuck!!! After a while solving the problem with ld-2.3.1 (reverting back to old prelink, then doing prelink -aufv) manualy removed libelf (the ! operator line doesnt seem to work in portage ?!?), remerged prelink, The following happend: prelink -avmRf Prelinking /sbin/vgextend Prelinking /usr/bin/k3b prelink: exec.c:516: prelink_exec: Assertion `new_reloc == -1 || rinfo.first == new[new_reloc]' failed. Aborted Going back to the old version.-
I have emerged (after a few hours ) K3b on 15-4-2003 It all prelinked fine, so I cannot help here, my guess it is some weird system borkage due to something unexpected, cannot help.
which version of prelink did u use?
I just tried 20030217 - prelink -u solved the "section size" problem, but I still have the failed assertion when trying to prelink -f /usr/bin/k3b
Update dev-libs/elfutils-0.76 please, I bet this is the source of the error. Then remerge prelink (as it is statically compiled) What version of elfutils do you have? Stefan
Created attachment 10694 [details] gdb session hth
same happens with ksimus and kvim here.
Looks like a different problem. Prelinking /usr/bin/ksimus prelink: exec.c:516: prelink_exec: Assertion `new_reloc == -1 || rinfo.first == new[new_reloc]' failed. (gdb) print new_reloc $1 = -1 (gdb) print rinfo.first $2 = 5 (gdb) print new[new_reloc] $3 = 139693152
last one was nonsense, of course... #3 0x08096902 in __assert_fail () (gdb) up #4 0x08059f3e in prelink_exec (info=0xbfffe9b0) at exec.c:516 516 assert (new_reloc == -1 || rinfo.first == new[new_reloc]); (gdb) print new_reloc $2 = 0 (gdb) print rinfo.first $3 = 5 (gdb) print new[new_reloc] $4 = 4 (gdb) print dso->soname $5 = 0x8337630 "/usr/bin/ksimus"
Is this still a valid bug?
there is neither a new k3b version nor a new prelink version, thus this bug is still valid.
Please notice that this is not only a k3b problem.
New version of prelink is out, does it fix the error?
At least on my system it seems to work now.
yeah, fixes all three errors i had, please mark stable and close :)
Ok, marked stable. Closing bug. Solution: Use prelink-20030811 ( or later) I hope the dependancies hold up ...