Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Add workaround for lib/48827 for vax to avoid ...



details:   https://anonhg.NetBSD.org/src/rev/a82214d343cd
branches:  trunk
changeset: 329371:a82214d343cd
user:      abs <abs%NetBSD.org@localhost>
date:      Wed May 21 14:01:30 2014 +0000

description:
Add workaround for lib/48827 for vax to avoid segv in sysinst for now

diffstat:

 lib/libcurses/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r f30cea904285 -r a82214d343cd lib/libcurses/Makefile
--- a/lib/libcurses/Makefile    Wed May 21 13:21:20 2014 +0000
+++ b/lib/libcurses/Makefile    Wed May 21 14:01:30 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.68 2012/04/21 14:39:35 roy Exp $
+#      $NetBSD: Makefile,v 1.69 2014/05/21 14:01:30 abs Exp $
 #      @(#)Makefile    8.2 (Berkeley) 1/2/94
 
 .include <bsd.own.mk>
@@ -176,6 +176,11 @@
         curses_touch.3 wtouchln.3 curses_underscore.3 wunderend.3 \
         curses_underscore.3 wunderscore.3 curses_line.3 wvline.3
 
+# sysinst crashes under gcc 4.1 after selecting partition sizes - PR lib/48827
+.if ${HAVE_GCC:U} == "4" && ${ACTIVE_CC} == "gcc" && ${MACHINE_ARCH} == "vax"
+COPTS.refresh.c+=      -fno-guess-branch-probability
+.endif
+
 .if make(install)
 SUBDIR+= PSD.doc
 .endif



Home | Main Index | Thread Index | Old Index