From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 21 18:58:30 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7160916A420 for ; Wed, 21 Dec 2005 18:58:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1842343DA5 for ; Wed, 21 Dec 2005 18:56:50 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 4304788 for multiple; Wed, 21 Dec 2005 13:58:19 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id jBLIudAP028245; Wed, 21 Dec 2005 13:56:39 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Adrian Steinmann Date: Wed, 21 Dec 2005 13:46:48 -0500 User-Agent: KMail/1.8.2 References: <8664pi4snf.fsf@xps.des.no> <200512211645.RAA01319@marabu.marabu.ch> In-Reply-To: <200512211645.RAA01319@marabu.marabu.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512211346.50231.jhb@freebsd.org> X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-hackers@freebsd.org, Ceri Davies , Dag-Erling Sm?rgrav Subject: Re: Mostly static binaries with crunchgen X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 18:58:30 -0000 On Wednesday 21 December 2005 11:45 am, Adrian Steinmann wrote: > The dynamically linked programs will clearly fail without existing > /libexec/ld-elf.so and /lib/libc.so but we are speaking here of an > *extension* to crunchgen configuration files which kicks in when > the lib_so keyword is used. Maybe under CAVEATS it could be mentioned > that with the additiona of one lib_so library you need to include > that library plus rtld() and libc for the resulting crunched binary > to work. > > The keyword being an extension means that all and every crunchgen > configuration out there to date will crunch the binary fully static > and hence /rescue will cntinue to work as before and thus never > include programs requiring dlopen(). Yes, Ceri just fixed that so it is indeed the case. However, I do want to make sure people don't start adding this to /rescue as it will break /rescue's usefulness if not done carefully (i.e. two crunches). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org