Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/conf Disable optimization when compiling uv...



details:   https://anonhg.NetBSD.org/src/rev/0530c857f0a7
branches:  trunk
changeset: 559635:0530c857f0a7
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 21 13:12:30 2004 +0000

description:
Disable optimization when compiling uvm_bio.c with a 32 bit compiler.

diffstat:

 sys/arch/sparc64/conf/Makefile.sparc64 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ff742187c098 -r 0530c857f0a7 sys/arch/sparc64/conf/Makefile.sparc64
--- a/sys/arch/sparc64/conf/Makefile.sparc64    Sun Mar 21 12:50:14 2004 +0000
+++ b/sys/arch/sparc64/conf/Makefile.sparc64    Sun Mar 21 13:12:30 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sparc64,v 1.52 2003/11/09 11:24:38 martin Exp $
+#      $NetBSD: Makefile.sparc64,v 1.53 2004/03/21 13:12:30 martin Exp $
 
 #=========================================================================
 #
@@ -68,6 +68,10 @@
 # 32-bit kernels
 CPPFLAGS+=     -m32 -Wa,-Av8plusa -mcpu=ultrasparc
 AFLAGS+=       -Wa,-Av8plusa
+# XXX
+# The sparc gcc version 3.3.3 (NetBSD nb1 20040301) does not compile this
+# file properly with higher optimizations
+COPTS.uvm_bio.c        = -O0
 .endif
 CFLAGS+=       -mno-fpu
 AFLAGS+=       -x assembler-with-cpp -traditional-cpp



Home | Main Index | Thread Index | Old Index