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 09 Jun 2005 08:42:04 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Wont Fix
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.5.30.16
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

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

Wed 31 Aug 2005 05:02:03 PM UTC, 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 12 Jun 2005 01:39:24 PM UTC, comment #5:

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

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

Laurento Frittella <mrfree>
Sun 12 Jun 2005 12:34:16 AM UTC, 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 2.5.30.16 myself on Gentoo but did not get this message:

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

spiralvoice <spiralvoice>
Project Administrator
Fri 10 Jun 2005 10:33:34 AM UTC, 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 2.5.30.16
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-2.5.30.16-r1/image//usr --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-2.3.4.20041102-r1

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 10 Jun 2005 12:19:02 AM UTC, 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 09 Jun 2005 09:45:12 PM UTC, 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 09 Jun 2005 08:42:04 PM UTC, original submission:

I've compiled new mldonkey 2.6.30.16 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 31 Aug 2005 05:02:03 PM UTCspiralvoiceStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup