Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 16:29:45 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r302438 - head/sys/conf
Message-ID:  <201607081629.u68GTjRG060616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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