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