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)
This commit is contained in:
parent
36a78467c4
commit
64d9ca5533
@ -19,10 +19,12 @@ SIZE?= size
|
|||||||
.if ${CC} == "icc"
|
.if ${CC} == "icc"
|
||||||
COPTFLAGS?=-O
|
COPTFLAGS?=-O
|
||||||
.else
|
.else
|
||||||
. if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
|
. if ${MACHINE_ARCH} == "amd64"
|
||||||
COPTFLAGS?=-O2 -frename-registers -pipe
|
COPTFLAGS?=-O2 -frename-registers -pipe
|
||||||
. elif ${MACHINE_ARCH} == "ia64"
|
. elif ${MACHINE_ARCH} == "ia64"
|
||||||
COPTFLAGS?=-O2 -pipe
|
COPTFLAGS?=-O2 -pipe
|
||||||
|
. elif ${MACHINE_ARCH} == "sparc64"
|
||||||
|
COPTFLAGS?=-O2 -pipe
|
||||||
. else
|
. else
|
||||||
COPTFLAGS?=-O -pipe
|
COPTFLAGS?=-O -pipe
|
||||||
. endif
|
. endif
|
||||||
|
Loading…
Reference in New Issue
Block a user