tags 396762 patch
thanks
FWIW, here's a patch to only link zlib statically to dmraid while linking
dynamically to the other libs.
Since crc32 is the only function used from zlib, the size difference is
minimal. On i386, here's the before:
$ du -sh debian/dmraid/sbin/dmraid
160Kdebian/dmrai
CRC implementation in some lines of C:
http://www.w3.org/TR/PNG/#D-CRCAppendix
--
Loïc Minier <[EMAIL PROTECTED]>
On Fri, Nov 03, 2006, Loïc Minier wrote:
> - copy crc32 from zlib
> - link statically with zlib
Upstream seems to be building a dmraid.static installed in /sbin, and a
shared dmraid for /usr/sbin.
--
Loïc Minier <[EMAIL PROTECTED]>
On Thu, Nov 02, 2006, Frederic Briere wrote:
> dmraid is now compiled against libz, which lives in /usr:
> [fbriere] toroia:~ $ ldd /sbin/dmraid | grep libz
> libz.so.1 => /usr/lib/libz.so.1 (0xb7ee9000)
> This is a Bad Thing[TM] if you have a dmraid filesystem in /etc/fstab,
> as fsck
Package: dmraid
Version: 1.0.0.rc13-1
Severity: serious
Justification: Policy 9.1.1
dmraid is now compiled against libz, which lives in /usr:
[fbriere] toroia:~ $ ldd /sbin/dmraid | grep libz
libz.so.1 => /usr/lib/libz.so.1 (0xb7ee9000)
This is a Bad Thing[TM] if you have a dmraid fi
5 matches
Mail list logo