bugmldonkey, a multi-networks file-sharing client - Bugs: bug #13356, mlnet will contain runtime text...


You are not allowed to post comments on this tracker with your current authentification level.

bug #13356: mlnet will contain runtime text relocations...

Submitted by:  Laurento Frittella <mrfree>
Submitted on:  Thu Jun 9 20:42:04 2005  
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Wont Fix
Assigned to: NoneOpen/Closed: Closed
Release: Release:
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

(Jump to the original submission Jump to the original submission)

Wed Aug 31 17:02:03 2005, comment #6:

"PS: My system is an hardened gentoo box, I don't know if this can be affect mldonkey compilation"
I don't know as well, closing this as a Gentoo specific bug.
Please post a bug on bugs.gentoo.org for further discussion.

spiralvoice <spiralvoice>
Project Administrator
Sun Jun 12 13:39:24 2005, comment #5:

# readelf -d /usr/bin/mlnet | grep TEXTREL
0x00000016 (TEXTREL) 0x0

PS: My system is an hardened gentoo box, I don't know if this can be affect mldonkey compilation

Laurento Frittella <mrfree>
Sun Jun 12 00:34:16 2005, comment #4:

Could you please post

readelf -d ./mlnet

on the Gentoo compiled binary. Your error message comes from /usr/lib/portage/prepstrip:

/usr/bin/readelf -d "${x}" | grep TEXTREL

I compiled MLDonkey myself on Gentoo but did not get this message:

gentoo mldonkey # readelf -d ./mlnet | grep TEXTREL
gentoo mldonkey #

spiralvoice <spiralvoice>
Project Administrator
Fri Jun 10 10:33:34 2005, comment #3:

I'm using mldonkey on an AMD k6-2 400Mhz

Yes, the core seems to works well

> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE

Exacly, this messages appears during config phase.

buildinfo reports:
MLNet Multi-Network p2p client version
Networks: Global Shares Gnutella G2 Fasttrack FileTP BitTorrent Donkey
Features: threads zlib gd iconv check-bounds sha1new
Ocaml version: 3.08.3
Build on: Linux i586 2.6.11-gentoo-r6-k62 with glibc 2.3.4
Configure arguments: --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/var/tmp/portage/mldonkey- --with-gnu-ld --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-checks --enable-pthread --disable-gtk2 --enable-gd

Note: I've tryed with and without --with-gnu-ld option but there are any changes

Ok, "ps auxH | grep mlnet" reports:
p2p 9522 4.7 32.2 56772 41032 ? RNl 09:28 8:37 /usr/bin/mlnet
p2p 9522 0.0 32.2 56772 41032 ? SNl 09:29 0:00 /usr/bin/mlnet
It's my mistake ;)

  • sys-libs/glibc-

USE="nls pic nptl hardened userlocales -build -nptlonly -erandom -multilib -debug -nomalloccheck"
CFLAGS="-mcpu=k6-2 -O2 -pipe -O2 -freorder-blocks -finline-limit=2000 -O2"

Laurento Frittella <mrfree>
Fri Jun 10 00:19:02 2005, comment #2:

What kind of CPU do you exactly have? Please test:

FEATURES="-sandbox" emerge mldonkey

Does the core work despite that warning? I saw this message only
in connection with AMD 64bit CPUs.

On Gentoo configure prints this:

checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE

I did not use any special configure options, so please show us the
output of the "buildinfo" command inside MLDonkey.

Also try: ps -auxH | grep mlnet
You have USE="nptl nptlonly", donĀ“t you?

spiralvoice <spiralvoice>
Project Administrator
Thu Jun 9 21:45:12 2005, comment #1:

Ops I forgot to say...

Now no more multi-thread (I've compiled with --enable-pthread), using "ps aux | grep mlnet" only one mlnet process is running

Laurento Frittella <mrfree>
Thu Jun 9 20:42:04 2005, original submission:

I've compiled new mldonkey under my Gentoo Linux and I obtain this warning...

usr/bin/mlnet will contain runtime text relocations
Text relocations require a lot of extra work to be preformed by the
dynamic linker which will cause serious performance impact on IA-32
and might not function properly on other architectures hppa for example.
If you are a programmer please take a closer look at this package and consider writing a patch which addresses this problem.

Laurento Frittella <mrfree>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed Aug 31 17:02:03 2005spiralvoiceStatusNone=>Wont Fix

Back to the top

Powered by Savane 3.1-cleanup