Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 14:19:23 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        mdodd@freebsd.org
Subject:   Re: Preliminary ELF prebinding patches available.
Message-ID:  <20030526211923.GB579@dhcp01.pn.xcllnt.net>
In-Reply-To: <20030526144408.1e4cc726.Alexander@Leidinger.net>
References:  <20030525061524.H30007@sasami.jurai.net> <xzpaddb8ab8.fsf@flood.ping.uio.no> <20030525084629.R30007@sasami.jurai.net> <20030525222955.GA826@athlon.pn.xcllnt.net> <20030525190744.A86964@sasami.jurai.net> <20030526001924.GA1272@athlon.pn.xcllnt.net> <20030525202140.Y86964@sasami.jurai.net> <20030526053120.GB1941@athlon.pn.xcllnt.net> <20030526144408.1e4cc726.Alexander@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 26, 2003 at 02:44:08PM +0200, Alexander Leidinger wrote:
> 
> > The prebinding information lives under /var/db/prebind, right?
> > I don't think we normally put our executables there as well and
> > if we do, we don't have the prebind information *in* the executable.
> > Hence, prebind information is decoupled from the executable. One
> 
> I try to determine how this influences the ports collection...
> 
> Do we have to include the prebinding information in a package or can we
> omit them (I assume: we can omit them but it would be beneficial)?

You cannot include prebind information in the package, because the
prebinding information will not relate to binding on the system where
the package is installed, but on the system where the package is built.
Since we build packages around the clock, the build IDs in the ELF
files change every time we rebuild a package. Typically users install
a package once, which means that the prebind information would be
unusable within days (ie the time bento needs to rebuild packages).

Hence you need to generate it after you install, reinstall, upgrade
and remove packages. This means you have to collect more dependency
information beyond what we have now if you want to automate it. If
you don't automate it, prebinding will very likely not be used. It
will either not be created in the first place or will be stale and
unusable within weeks.


-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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