Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 19285
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Heinrich Wendel (RETIRED) <lanius@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
prelink-debug-output gdb session text/plain Patrick Kursawe 2003-04-15 13:02 0000 4.53 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19285 depends on: Show dependency tree
Bug 19285 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-14 05:28 0000
K3b should be build with the -fPIC flag, otherwise prelinking will fail
completly and not continue with other programs.

------- Comment #1 From Patrick Kursawe 2003-04-14 05:55:17 0000 -------
Of which version are you talking, what is the output of prelink and what is the
output of "emerge info"?

------- Comment #2 From Heinrich Wendel (RETIRED) 2003-04-14 06:08:44 0000 -------
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" 

------- Comment #3 From Patrick Kursawe 2003-04-14 06:12:54 0000 -------
Sorry to bother you again, but I still think the output of prelink would be
helpful :-)

------- Comment #4 From Heinrich Wendel (RETIRED) 2003-04-14 06:47:42 0000 -------
prelink: exec.c:778: prelink_exec: Zusicherung 

------- Comment #5 From Heinrich Wendel (RETIRED) 2003-04-14 06:47:42 0000 -------
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. 

------- Comment #6 From Patrick Kursawe 2003-04-14 06:49:52 0000 -------
for our english speakers: zusicherung .... nicht erf

------- Comment #7 From Patrick Kursawe 2003-04-14 06:49:52 0000 -------
for our english speakers: zusicherung .... nicht erfüllt means assertion ....
failed.

------- Comment #8 From Stefan Jones (RETIRED) 2003-04-14 07:01:43 0000 -------
Have you tried the newest version of prelink in portage,

sys-devel/prelink-20021213 ?


------- Comment #9 From Heinrich Wendel (RETIRED) 2003-04-14 07:03:13 0000 -------
see the third post ;D 
 
>> (the new prelink umasked today cannot prelink anything here) 
 
and it's masked again now ;D 

------- Comment #10 From Patrick Kursawe 2003-04-14 07:08:33 0000 -------
When force-prelinking k3b I can reproduce the problem. Cretin? I think this is
one for you, not for the KDE team.

------- Comment #11 From Stefan Jones (RETIRED) 2003-04-14 07:21:49 0000 -------
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

------- Comment #12 From Heinrich Wendel (RETIRED) 2003-04-14 16:34:09 0000 -------
prelink-20030217 (which was umasked today) shows the following error:

prelink: Could not write /lib/ld-2.3.1.so: invalid section entry size

------- Comment #13 From Stefan Jones (RETIRED) 2003-04-14 16:47:51 0000 -------
prelink -uaf /lib/ld-2.3.1.so

and then try again.

------- Comment #14 From Felix Kurth 2003-04-14 19:35:30 0000 -------
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.- 

------- Comment #15 From Stefan Jones (RETIRED) 2003-04-15 09:15:08 0000 -------
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.

------- Comment #16 From Heinrich Wendel (RETIRED) 2003-04-15 09:47:40 0000 -------
which version of prelink did u use? 

------- Comment #17 From Patrick Kursawe 2003-04-15 09:57:53 0000 -------
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

------- Comment #18 From Stefan Jones (RETIRED) 2003-04-15 10:15:17 0000 -------
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

------- Comment #19 From Patrick Kursawe 2003-04-15 13:02:04 0000 -------
Created an attachment (id=10694) [details]
gdb session

hth

------- Comment #20 From Heinrich Wendel (RETIRED) 2003-04-16 08:09:11 0000 -------
same happens with ksimus and kvim here.

------- Comment #21 From Patrick Kursawe 2003-04-16 10:03:55 0000 -------
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

------- Comment #22 From Patrick Kursawe 2003-04-16 10:39:35 0000 -------
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"

------- Comment #23 From Caleb Tennis 2003-05-28 11:30:10 0000 -------
Is this still a valid bug? 

------- Comment #24 From Heinrich Wendel (RETIRED) 2003-05-28 16:32:03 0000 -------
there is neither a new k3b version nor a new prelink version, thus this bug is
still valid. 

------- Comment #25 From Patrick Kursawe 2003-06-10 03:12:43 0000 -------
Please notice that this is not only a k3b problem.

------- Comment #26 From Stefan Jones (RETIRED) 2003-08-26 23:13:36 0000 -------
New version of prelink is out, does it fix the error?

------- Comment #27 From Patrick Kursawe 2003-08-27 02:10:05 0000 -------
At least on my system it seems to work now.

------- Comment #28 From Heinrich Wendel (RETIRED) 2003-08-27 08:17:06 0000 -------
yeah, fixes all three errors i had, please mark stable and close :)

------- Comment #29 From Stefan Jones (RETIRED) 2003-08-27 10:05:44 0000 -------
Ok, marked stable. Closing bug. 

Solution: Use prelink-20030811 ( or later)

I hope the dependancies hold up ...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug