ZFS hanging

Dimitry Andric dim at FreeBSD.org
Fri Jul 13 21:57:29 UTC 2012


On 2012-07-13 15:47, Dennis Glatting wrote:
...
> I am using clang except on my CVS mirrors.
> 
> I found on the mirrors that the mirror itself cannot update from itself
> but other hosts can update from the mirror. Somewhere in that
> M3/assembly muck something crashes in the process. The only way around
> the problem is to compile the /OS/ using GCC.

This is a known problem with ezm3, it aligns the stack incorrectly on
amd64.  See also bin/162588.  Possible workarounds are:

- Compiling libz with clang, but with SSE disabled
- Compiling the whole system with clang, but with SSE disabled
- Fixing ezm3 so it aligns the stack to 16 bytes (left as exercise for
  the reader ;)
- Rewriting cvsup in C (another nice exercise...)


More information about the freebsd-fs mailing list