kern/138679: Current 7.2-STABLE i386 kernel won't build, pmap.h

J. Porter Clark j.porter.clark at nasa.gov
Wed Sep 9 20:00:11 UTC 2009


>Number:         138679
>Category:       kern
>Synopsis:       Current 7.2-STABLE i386 kernel won't build, pmap.h
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 20:00:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     J. Porter Clark
>Release:        7.2-STABLE
>Organization:
NASA MSFC
>Environment:
FreeBSD drum.msfc.nasa.gov 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Aug  6 10:07:02 CDT 2009     jpc at drum.msfc.nasa.gov:/usr/obj/usr/src/sys/BRAHMS7  i386

>Description:
make buildkernel fails with GENERIC kernel.  Here's the old-school build:

[jpc at drum conf]$ config -g GENERIC
Kernel build directory is ../compile/GENERIC
Don't forget to do ``make cleandepend && make depend''
[jpc at drum conf]$ cd ../compile/GENERIC
[jpc at drum GENERIC]$ make cleandepend
rm -f .depend machine

[... cut ...]

rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
[jpc at drum GENERIC]$ make depend
machine -> ../../../i386/include
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding ../../../i386/i386/genassym.c
In file included from ../../../vm/pmap.h:82,
                 from ../../../i386/i386/genassym.c:64:
./machine/pmap.h:427: error: expected declaration specifiers or '...' before 'vm_memattr_t'
*** Error code 1

Stop in /usr/src/sys/i386/compile/GENERIC.

/etc/make.conf and /etc/src.conf were temporarily removed, to no effect.

>How-To-Repeat:
Either "make buildkernel" in /usr/src directory or (as above):

cd /usr/src/sys/i386/conf
config -g GENERIC
cd ../compile/GENERIC
make cleandepend
make depend
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list