Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 09:16:43 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        Marius Strobl <marius@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r239077 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <20120806231643.GA25854@server.rulingia.com>
In-Reply-To: <20120805205246.GW58433@alchemy.franken.de>
References:  <201208052019.q75KJSkY022376@svn.freebsd.org> <20120805202540.GH2676@deviant.kiev.zoral.com.ua> <20120805205246.GW58433@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2012-Aug-05 22:52:46 +0200, Marius Strobl <marius@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:
=2E..
>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)

--=20
Peter Jeremy

--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlAgUFsACgkQ/opHv/APuIdITACdFOcCILSaKfHRKUXW487HjUNI
Q+gAoKFWWeN4IysmPXz/0j0aC2AJJvBV
=8xM/
-----END PGP SIGNATURE-----

--YZ5djTAD1cGYuMQK--



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