tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zfs crash on amd64



On Sun, 8 Nov 2009, Joerg Sonnenberger wrote:

On Sun, Nov 08, 2009 at 08:53:25PM +0000, Quentin Garnier wrote:
Ok, I understand now.  So it's not a gcc bug, but rather that we don't
compile the kernel and the modules properly on amd64.  We need to
compile them with -fno-red-zone.

Makefile.amd64 certainly sets -mcmode=kernel -mno-red-zone.

  The modules only use -mcmode=kernel.  I think share/mk/bsd.klinks.mk
needs to also add -mno-red-zone to CFLAGS.

--
Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA


Home | Main Index | Thread Index | Old Index