Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 12:14:37 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Lawrence Stewart <lstewart@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r228430 - head/sys/kern
Message-ID:  <4EE5D40D.4070207@FreeBSD.org>
In-Reply-To: <4EE5CE54.3060401@freebsd.org>
References:  <201112120746.pBC7kAmF089105@svn.freebsd.org> <4EE5C787.9080905@freebsd.org> <4EE5CE54.3060401@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 12/12/2011 11:50 Lawrence Stewart said the following:
> On 12/12/11 20:21, Lawrence Stewart wrote:
>> On 12/12/11 18:46, Andriy Gapon wrote:
>>> Author: avg
>>> Date: Mon Dec 12 07:46:10 2011
>>> New Revision: 228430
>>> URL: http://svn.freebsd.org/changeset/base/228430
>>>
>>> Log:
>>> kern_racct: move sys/systm.h inclusion to its proper place
>>>
>>> This should fix the build failure introduced with r228424.
>>> Also remove duplicate inclusion of sys/param.h.
>>>
>>> Pointyhat to: avg
>>> MFC after: 1 week
>>
>>
>> lstewart@lstewart3:head> svn up
>> Updating '.':
>> At revision 228430.
>> lstewart@lstewart3:head> make -DNO_CLEAN KERNCONF=LINT buildkernel
>> [...]
>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall
>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
>> -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
>> -fdiagnostics-show-option -nostdinc -I.
>> -I/work/svn/freebsd_mirror/head/sys
>> -I/work/svn/freebsd_mirror/head/sys/contrib/altq -D_KERNEL
>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
>> -finline-limit=8000 --param inline-unit-growth=100 --param
>> large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4
>> -DGUPROF -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel
>> -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables
>> -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue
>> /work/svn/freebsd_mirror/head/sys/kern/kern_sx.c
>> cc1: warnings being treated as errors
>> In file included from /work/svn/freebsd_mirror/head/sys/kern/kern_sx.c:52:
>> /work/svn/freebsd_mirror/head/sys/sys/sx.h: In function '__sx_xlock':
>> /work/svn/freebsd_mirror/head/sys/sys/sx.h:154: warning: implicit
>> declaration of function 'SCHEDULER_STOPPED'
>> /work/svn/freebsd_mirror/head/sys/sys/sx.h:154: warning: nested extern
>> declaration of 'SCHEDULER_STOPPED' [-Wnested-externs]
>> *** Error code 1
>>
>> Stop in /usr/obj/work/svn/freebsd_mirror/head/sys/LINT.
>> *** Error code 1
>>
>> Stop in /work/svn/freebsd_mirror/head.
>> *** Error code 1
>>
>> Stop in /work/svn/freebsd_mirror/head.
>>
>>
>>
>> Perhaps another place which needs a fix similar to r228430?
> 
> Other files that also require fixing:
> 
> sys/kern/vfs_cache.c
> sys/security/mac/mac_framework.c
> sys/security/mac/mac_priv.c

Thank you.  I should have tried to compile LINT myself :-(

-- 
Andriy Gapon



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