Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 15:31:37 +0000 (UTC)
From:      Ceri Davies <ceri@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/crunch/crunchgen crunchgen.1 crunchgen.c
Message-ID:  <200512231531.jBNFVbhS024850@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <ast at marabu dot ch>
  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



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