4.9 kernel re-compile problem

Russell P. Sutherland russ at madhaus.cns.utoronto.ca
Tue Nov 11 11:42:41 PST 2003

I've recompiled a custom kernel several times using FreeBSD 4.7.

When trying to recompile using 4.9 I get many irregular errors.

Here's the latest:

Winline -Wcast-qual  -fformat-extensions -ansi -c miibus_if.c
cc -O -pipe  -include /usr/src/sys/compile/GENERIC/opt_global.h -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c /usr/src/sys/modules/mii/../../dev/mii/e1000phy.c
cc -O -pipe  -include /usr/src/sys/compile/GENERIC/opt_global.h -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c /usr/src/sys/modules/mii/../../dev/mii/exphy.c
cc -O -pipe  -include /usr/src/sys/compile/GENERIC/opt_global.h -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c /usr/src/sys/modules/mii/../../dev/mii/nsphy.c
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/sys/modules/mii.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

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

I've tried kernel compiles using both the "Traditional"
way as well as the "New" way (using the terms from the Handbook,

I've downloaded a fresh /usr/src tree using cvsup configured with:

        *default release=cvs tag=RELENG_4_9

Russell P. Sutherland      	Email: russ @ madhaus.cns.utoronto.ca
4 Bancroft Ave., Rm. 102	Voice: +1.416.978.0470
University of Toronto		Fax:   +1.416.978.6620
Toronto, ON  M5S 1C1 		WWW:   http://madhaus.cns.utoronto.ca/~russ

More information about the freebsd-questions mailing list