From owner-freebsd-current@FreeBSD.ORG Mon May 26 14:19:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9995737B401; Mon, 26 May 2003 14:19:25 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 873A643F3F; Mon, 26 May 2003 14:19:24 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h4QLJOwk054428; Mon, 26 May 2003 14:19:24 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h4QLJOCO000837; Mon, 26 May 2003 14:19:24 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h4QLJN30000836; Mon, 26 May 2003 14:19:23 -0700 (PDT) Date: Mon, 26 May 2003 14:19:23 -0700 From: Marcel Moolenaar To: Alexander Leidinger Message-ID: <20030526211923.GB579@dhcp01.pn.xcllnt.net> References: <20030525061524.H30007@sasami.jurai.net> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030526144408.1e4cc726.Alexander@Leidinger.net> User-Agent: Mutt/1.5.4i cc: current@freebsd.org cc: mdodd@freebsd.org Subject: Re: Preliminary ELF prebinding patches available. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 21:19:26 -0000 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