Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf XXX: build ufs_lookup.c with -fno-tree-v...



details:   https://anonhg.NetBSD.org/src/rev/cf31b66d074b
branches:  trunk
changeset: 815089:cf31b66d074b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 28 19:52:43 2016 +0000

description:
XXX: build ufs_lookup.c with -fno-tree-vrp when using GCC 5, for now.

diffstat:

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

diffs (21 lines):

diff -r acad7e72af46 -r cf31b66d074b sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Thu Apr 28 18:29:20 2016 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Thu Apr 28 19:52:43 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.53 2015/09/06 07:17:14 uebayasi Exp $
+#      $NetBSD: Makefile.amd64,v 1.54 2016/04/28 19:52:43 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -43,6 +43,11 @@
 # For gcc we might need this, but other compilers barf
 # CFLAGS+=     -mno-fp-ret-in-387
 
+# XXX triggers "bad dir" panics that aren't real.
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 53
+COPTS.ufs_lookup.c+=  -fno-tree-vrp
+.endif
+
 ##
 ## (3) libkern and compat
 ##



Home | Main Index | Thread Index | Old Index