Module Name: src
Committed By: mrg
Date: Thu Apr 28 19:52:43 UTC 2016
Modified Files:
src/sys/arch/amd64/conf: Makefile.amd64
Log Message:
XXX: build ufs_lookup.c with -fno-tree-vrp when using GCC 5, for now.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/amd64/conf/Makefile.amd64
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/conf/Makefile.amd64
diff -u src/sys/arch/amd64/conf/Makefile.amd64:1.53 src/sys/arch/amd64/conf/Makefile.amd64:1.54
--- src/sys/arch/amd64/conf/Makefile.amd64:1.53 Sun Sep 6 07:17:14 2015
+++ src/sys/arch/amd64/conf/Makefile.amd64 Thu Apr 28 19:52:43 2016
@@ -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 @@ CFLAGS+= -msoft-float
# 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
##