Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 22:35:28 +0100
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        Damjan Jovanovic <damjan.jov@gmail.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org, tijl@coosemans.org
Subject:   Re: [patch] Wine DLL base address patches
Message-ID:  <20130221213528.GD92116@felucia.tataz.chchile.org>
In-Reply-To: <CAJm2B-mtXqZn0nQH4B9=fYik9gxSM8KAD5QcrLeqDOjXEnYfmg@mail.gmail.com>
References:  <CAJm2B-mtXqZn0nQH4B9=fYik9gxSM8KAD5QcrLeqDOjXEnYfmg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Damjan,

On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote:
> 
> Wine needs some of its libraries to be loaded at specific base
> addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently
> lacks.
> 
> I've written a patch to the dynamic loader (/libexec/ld-elf.so.1) that
> loads libraries at their preferred base addresses
> (http://www.freebsd.org/cgi/query-pr.cgi?pr=176216), as well as a port
> of Prelink to FreeBSD which Wine uses to set base addresses
> (http://www.freebsd.org/cgi/query-pr.cgi?pr=176283). Both work :-),
> the changed dynamic loader doesn't show any problems in a few days of
> testing, and prelink works with the --reloc-only option as used by
> Wine.

Thanks for this work.

Out of curiosity, did you try to run prelink on the whole base system?
If yes, did you make any measurement of the performance improvement?

Thank you!
-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130221213528.GD92116>