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

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 05 Aug 2011 13:22:24 +0200
On 2011-08-05 02:17, Pawel Worach 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.
...
> dim_at_ has filed an upstream bug, http://llvm.org/bugs/show_bug.cgi?id=10591

This PR is about another issue, which I discovered during debugging of
the gptzfsboot problem.

The actual problem when compiling (gpt)zfsboot with clang and -mrtd
seems to be that clang screws something up with the function calling
conventions, causing crashes and other weird things.  I have not yet
determined the root cause of this.
Received on Fri Aug 05 2011 - 09:22:19 UTC

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