summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2004-03-29 01:15:39 +0000
committerkensmith <kensmith@FreeBSD.org>2004-03-29 01:15:39 +0000
commit64d9ca553353323cbd878190319487dc1aa40ca2 (patch)
tree25ec91cf0720f3cf375590646b2e76280c8bb6d9 /sys/conf
parent36a78467c4ef0df38aeb699d2f38672f902ea65a (diff)
downloadFreeBSD-src-64d9ca553353323cbd878190319487dc1aa40ca2.zip
FreeBSD-src-64d9ca553353323cbd878190319487dc1aa40ca2.tar.gz
Remove "-frename-registers" option for sparc64 kernel builds. That
was not present in what I originally tested when checking to see if the kernel built/ran with the -O2 change. Recent instability in sparc64 kernel was tracked to this. A reproducible kernel stack traceback followed by hard hang during the call to msleep() at the point the kernel waits 15 seconds for the SCSI bus to settle crept in to recent kernel builds and it seems to go away with this patch. Noticed by: kris Approved by: rwatson (mentor)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.pre.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 17e96d5..83afd1e 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -19,10 +19,12 @@ SIZE?= size
.if ${CC} == "icc"
COPTFLAGS?=-O
.else
-. if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
+. if ${MACHINE_ARCH} == "amd64"
COPTFLAGS?=-O2 -frename-registers -pipe
. elif ${MACHINE_ARCH} == "ia64"
COPTFLAGS?=-O2 -pipe
+. elif ${MACHINE_ARCH} == "sparc64"
+COPTFLAGS?=-O2 -pipe
. else
COPTFLAGS?=-O -pipe
. endif
OpenPOWER on IntegriCloud