Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 05 Aug 2011 13:19:09 +0200
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.
Received on Fri Aug 05 2011 - 09:19:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC