From owner-cvs-src@FreeBSD.ORG Fri Dec 23 15:31:38 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F4E416A41F; Fri, 23 Dec 2005 15:31:38 +0000 (GMT) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB0A43D58; Fri, 23 Dec 2005 15:31:38 +0000 (GMT) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBNFVbQk024851; Fri, 23 Dec 2005 15:31:37 GMT (envelope-from ceri@repoman.freebsd.org) Received: (from ceri@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBNFVbhS024850; Fri, 23 Dec 2005 15:31:37 GMT (envelope-from ceri) Message-Id: <200512231531.jBNFVbhS024850@repoman.freebsd.org> From: Ceri Davies Date: Fri, 23 Dec 2005 15:31:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/crunch/crunchgen crunchgen.1 crunchgen.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 15:31:38 -0000 ceri 2005-12-23 15:31:37 UTC FreeBSD src repository Modified files: usr.sbin/crunch/crunchgen crunchgen.1 crunchgen.c Log: Commands like gmirror, graid3, ... and others which use dlopen() to load classes from say, /lib/geom, cannot be statically linked completely. Moreover, those shared objects may require other shared objects (i.e. for geom, libraries like -lmd, -lcrypto). The libs_so extension to crunchgen fixes this by allowing some libraries to be linked in dynamically. This requires that a copy of rtld and the shared libraries be made available to the crunched binary, and so is not suitable for all environments. Crunchgen configurations which do not use the 'libs_so' keyword are unaffected and produce identical binaries with and without this commit. Approved by: murray (mentor, in spirit), jhb In collaboration with: Adrian Steinmann MFC After: 6 weeks Revision Changes Path 1.29 +30 -2 src/usr.sbin/crunch/crunchgen/crunchgen.1 1.36 +65 -2 src/usr.sbin/crunch/crunchgen/crunchgen.c