Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 06:11:31 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232811 - head/sys/conf
Message-ID:  <201203110611.q2B6BVs8096574@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmallett
Date: Sun Mar 11 06:11:31 2012
New Revision: 232811
URL: http://svn.freebsd.org/changeset/base/232811

Log:
  Disable -Winline on MIPS in preparation for the import of the latest version
  of the Cavium Simple Executive, which violates large function growth rules
  in such a way that simply increasing the large function growth parameter is
  insufficient.

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sun Mar 11 04:16:42 2012	(r232810)
+++ head/sys/conf/kern.mk	Sun Mar 11 06:11:31 2012	(r232811)
@@ -131,6 +131,9 @@ CFLAGS+=	-mcall-aixdesc
 .if ${MACHINE_CPUARCH} == "mips"
 CFLAGS+=	-msoft-float
 INLINE_LIMIT?=	8000
+# XXX Disable -Winline.  This is needed because of the monstrous code that is
+#     the Cavium Octeon Simple Executive.
+CWARNFLAGS:=	${CWARNFLAGS:N-Winline}
 .endif
 
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203110611.q2B6BVs8096574>