Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2016 19:17:48 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r296805 - head/sys/conf
Message-ID:  <201603131917.u2DJHmJU026375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Mar 13 19:17:48 2016
New Revision: 296805
URL: https://svnweb.freebsd.org/changeset/base/296805

Log:
  We only support GCC 4.8 for these flags.
  
  - 4.7 introduced maybe-uninitialized
  - 4.8 introduced aggressive-loop-optimizations
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sun Mar 13 18:57:29 2016	(r296804)
+++ head/sys/conf/kern.mk	Sun Mar 13 19:17:48 2016	(r296805)
@@ -42,10 +42,9 @@ CLANG_NO_IAS34= -no-integrated-as
 .endif
 
 .if ${COMPILER_TYPE} == "gcc"
-.if ${COMPILER_VERSION} >= 40300
+.if ${COMPILER_VERSION} >= 40800
 # Catch-all for all the things that are in our tree, but for which we're
-# not yet ready for this compiler. Note: we likely only really "support"
-# building with gcc 4.8 and newer. Nothing older has been tested.
+# not yet ready for this compiler.
 CWARNEXTRA?=	-Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable \
 		-Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized \
 		-Wno-error=array-bounds -Wno-error=address \



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