svn commit: r239077 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Peter Jeremy peter at rulingia.com
Mon Aug 6 23:17:04 UTC 2012


On 2012-Aug-05 22:52:46 +0200, Marius Strobl <marius at freebsd.org> wrote:
>Bascially, "options ZFS" is available on at least amd64, i386, pc98,
>powerpc64 and sparc64.

At least in theory.  In practise, it's not usable because:

>powerpc). However, this causes linking the kernel to fail due to some
>symbols being defined multiple times:
...
>I currently can't remember the details but the fix seemed non-trivial
>to me, short of creating something like LINT-ZFS kernel config files
>similar to the LINT-VIMAGE etc we have.

The underlying problem is that there are 2 zlib's in the kernel tree.
One is in sys/cddl/contrib/opensolaris/uts/common/zmod/ and the other
is sys/net/zlib.c.  The real fix is to get rid of one of them and use
the remaining one for all subsystems that want zlib.  I agree that
merging them is non-trivial because they are based on different
versions of zlib (1.2.3 & 1.0.4, respectively) and the original files
have been munged is different ways.  (And there's a third inflate(9)
based on unzip-5.12 in sys/kern/inflate.c, as well as another complete
zlib-1.2.7 in lib/libz)

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120806/6a37b039/attachment.pgp


More information about the svn-src-head mailing list