Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2011 13:19:09 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Olivier Smedts <olivier@gid0.org>
Cc:        Test Rat <ttsestt@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch
Message-ID:  <4E3BD1AD.6010807@FreeBSD.org>
In-Reply-To: <CABzXLYN1krNR1Fi2OqCWxCVsCuRn9hgqaO0_WaNEG2-Q3w_0Rg@mail.gmail.com>
References:  <86zkjtwc8r.fsf@gmail.com> <B9C820F7-EAD7-4AB8-903A-06CEF17240CA@gmail.com> <CABzXLYN1krNR1Fi2OqCWxCVsCuRn9hgqaO0_WaNEG2-Q3w_0Rg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-08-05 11:45, Olivier Smedts wrote:
...
>> A workaround for the hang on boot and "error 1 lba X" failures is the following patch, it would be interesting if it also makes the zfs_alloc/free error go away too.
> Yes, it solved the "ZFS: zfs_alloc()/zfs_free() mismatch" error when
> gptzfsboot-ing after building with clang. I don't know if it still
> works with gcc and the patch applied.

Yeah, that should not be a problem.  The -mrtd option causes the
compiled code to shrink a little, but that is not essential for the ZFS
boot loaders.



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