From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 11:42:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B3AD16A4CE for ; Tue, 11 Nov 2003 11:42:41 -0800 (PST) Received: from madhaus.cns.utoronto.ca (madhaus.cns.utoronto.ca [128.100.103.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 69E1A43FAF for ; Tue, 11 Nov 2003 11:42:40 -0800 (PST) (envelope-from russ@madhaus.cns.utoronto.ca) Received: (qmail 25171 invoked by uid 1032); 11 Nov 2003 19:42:39 -0000 Date: Tue, 11 Nov 2003 14:42:39 -0500 To: freebsd-questions@freebsd.org Message-ID: <20031111194239.GA23131@madhaus.cns.utoronto.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Organization: University of Toronto From: "Russell P. Sutherland" X-Delivery-Agent: TMDA/0.51 (Python 2.1.3 on Linux/i686) Subject: 4.9 kernel re-compile problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 19:42:41 -0000 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