svn commit: r302438 - head/sys/conf

Garrett Cooper ngie at FreeBSD.org
Fri Jul 8 16:29:46 UTC 2016


Author: ngie
Date: Fri Jul  8 16:29:45 2016
New Revision: 302438
URL: https://svnweb.freebsd.org/changeset/base/302438

Log:
  Revert r302403
  
  lang/gcc{48,49,5} lacks -fformat-extensions support (causing build errors, which
  is what prompted r302403 to be committed). devel/amd64-gcc on the other hand
  (which is used by Jenkins), has the support.
  
  This fixes the Jenkins failure emails due to excessive warnings being produced
  with "make buildkernel".
  
  Discussed with: lwhsu
  Reported by: Jenkins (FreeBSD_HEAD_amd64_gcc job)
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Fri Jul  8 15:57:55 2016	(r302437)
+++ head/sys/conf/kern.mk	Fri Jul  8 16:29:45 2016	(r302438)
@@ -62,7 +62,7 @@ CWARNEXTRA?=	-Wno-uninitialized
 FORMAT_EXTENSIONS=	-Wno-format
 .elif ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600
 FORMAT_EXTENSIONS=	-D__printf__=__freebsd_kprintf__
-.elif ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} == 40201
+.else
 FORMAT_EXTENSIONS=	-fformat-extensions
 .endif
 


More information about the svn-src-all mailing list