Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2011 13:22:24 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Pawel Worach <pawel.worach@gmail.com>
Cc:        Test Rat <ttsestt@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch
Message-ID:  <4E3BD270.5020408@FreeBSD.org>
In-Reply-To: <B9C820F7-EAD7-4AB8-903A-06CEF17240CA@gmail.com>
References:  <86zkjtwc8r.fsf@gmail.com> <B9C820F7-EAD7-4AB8-903A-06CEF17240CA@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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