Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 14:42:39 -0500
From:      "Russell P. Sutherland" <russ@madhaus.cns.utoronto.ca>
To:        freebsd-questions@freebsd.org
Subject:   4.9 kernel re-compile problem
Message-ID:  <20031111194239.GA23131@madhaus.cns.utoronto.ca>

next in thread | raw e-mail | index | archive | help
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,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
).

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
CANADA



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