Explicitly disable use of SSE. LLVM generates SSE by default on AMD64 and we certainly don't want that in the kernel.diff -r1.35 -r1.36 src/sys/arch/amd64/conf/Makefile.amd64
(joerg)
--- src/sys/arch/amd64/conf/Makefile.amd64 2011/05/30 15:06:32 1.35
+++ src/sys/arch/amd64/conf/Makefile.amd64 2011/06/10 03:17:35 1.36
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.amd64,v 1.35 2011/05/30 15:06:32 joerg Exp $
+# $NetBSD: Makefile.amd64,v 1.36 2011/06/10 03:17:35 joerg Exp $
# Makefile for NetBSD
#
@@ -36,7 +36,7 @@
DEFCOPTS= -O2
CPPFLAGS+= -Damd64 -Dx86_64
CFLAGS+= -mcmodel=kernel
-CFLAGS+= -mno-red-zone
+CFLAGS+= -mno-red-zone -mno-sse -mno-sse2 -mno-sse3
##
## (3) libkern and compat