[clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch
dim at FreeBSD.org
Fri Aug 5 11:19:06 UTC 2011
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
More information about the freebsd-current