svn commit: r228430 - head/sys/kern

Andriy Gapon avg at FreeBSD.org
Mon Dec 12 10:14:45 UTC 2011


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 at lstewart3:head> svn up
>> Updating '.':
>> At revision 228430.
>> lstewart at 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


More information about the svn-src-all mailing list