On 7/8/16 9:29 AM, Garrett Cooper wrote:
> 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
>  
> 

This needs to be MFC'd to stable/11.

-- 
Regards,
Bryan Drewery
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to