svn commit: r296805 - head/sys/conf

Bryan Drewery bdrewery at FreeBSD.org
Sun Mar 13 19:17:49 UTC 2016


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 \


More information about the svn-src-all mailing list