Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2009 19:59:22 GMT
From:      "J. Porter Clark" <j.porter.clark@nasa.gov>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/138679: Current 7.2-STABLE i386 kernel won't build, pmap.h
Message-ID:  <200909091959.n89JxM4j077056@www.freebsd.org>
Resent-Message-ID: <200909092000.n89K06jR045412@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@drum conf]$ config -g GENERIC
Kernel build directory is ../compile/GENERIC
Don't forget to do ``make cleandepend && make depend''
[jpc@drum conf]$ cd ../compile/GENERIC
[jpc@drum GENERIC]$ make cleandepend
rm -f .depend machine

[... cut ...]

rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
[jpc@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:



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