Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2/conf Compile sun2 kernel with -fno-omit-frame-...
details: https://anonhg.NetBSD.org/src/rev/54b3c04ec012
branches: trunk
changeset: 937157:54b3c04ec012
user: rin <rin%NetBSD.org@localhost>
date: Mon Aug 10 06:28:42 2020 +0000
description:
Compile sun2 kernel with -fno-omit-frame-pointer for GCC8 as a work
around for reproducible kernel freezes just after ``Starting postfix.'',
where I cannot even enter DDB nor obtain crash dump.
I still haven't figured out why. Possibly something wrong with -Os
optimization level for GCC/m68k, cf.,
http://mail-index.netbsd.org/port-sun3/2020/07/19/msg000166.html
diffstat:
sys/arch/sun2/conf/Makefile.sun2 | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 2c9a794c3347 -r 54b3c04ec012 sys/arch/sun2/conf/Makefile.sun2
--- a/sys/arch/sun2/conf/Makefile.sun2 Mon Aug 10 06:27:29 2020 +0000
+++ b/sys/arch/sun2/conf/Makefile.sun2 Mon Aug 10 06:28:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun2,v 1.24 2018/09/22 12:24:03 rin Exp $
+# $NetBSD: Makefile.sun2,v 1.25 2020/08/10 06:28:42 rin Exp $
# Makefile for NetBSD
#
@@ -35,6 +35,11 @@
CFLAGS+= -msoft-float -fno-defer-pop
AFLAGS+= -x assembler-with-cpp
+# XXX
+.if ${HAVE_GCC:U0} >= 8
+COPTS+= -fno-omit-frame-pointer
+.endif
+
##
## (3) libkern and compat
##
Home |
Main Index |
Thread Index |
Old Index