From owner-freebsd-questions@FreeBSD.ORG Sun Nov 14 20:46:44 2004 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 738AE16A4CE for ; Sun, 14 Nov 2004 20:46:44 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0C9B43D39 for ; Sun, 14 Nov 2004 20:46:43 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from april.chuckr.org (localhost [127.0.0.1]) by april.chuckr.org (8.12.11/8.12.11) with ESMTP id iAELDrn0040092; Sun, 14 Nov 2004 16:13:53 -0500 (EST) (envelope-from chuckr@chuckr.org) Received: from localhost (chuckr@localhost)iAELDqHf040073; Sun, 14 Nov 2004 16:13:53 -0500 (EST) (envelope-from chuckr@chuckr.org) X-Authentication-Warning: april.chuckr.org: chuckr owned process doing -bs Date: Sun, 14 Nov 2004 16:13:52 -0500 (EST) From: Chuck Robey To: Subhro In-Reply-To: <4197bfa7.4d4b3672.377b.0086@smtp.gmail.com> Message-ID: <20041114161203.Y27057@april.chuckr.org> References: <4197bfa7.4d4b3672.377b.0086@smtp.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD-questions@freebsd.org Subject: RE: rebuild problems 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: Sun, 14 Nov 2004 20:46:44 -0000 On Mon, 15 Nov 2004, Subhro wrote: > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Chuck Robey > Sent: Monday, November 15, 2004 1:18 > To: FreeBSD-questions@freebsd.org > Subject: rebuild problems > > > > I finished the cvsup, > > Which version of the tree did u cvsup to? I had a setup left over from 2 years back, it was (then) FreeBSD-current so i suppose it still is. I finally decided to risk it, and i installed the latest gcc, and that fixed the problem at 'make depend' so it appears you need the more rrecent compiler. it's building now, wish me luck. > > rebuilt everything, and it built fine, but on > rebooting, it panics, something about reading a zero at address zero (I > can't copy this). I figured, just recompile the kernel ... so, I had to > actually install config, which meant I had to actually install libc .. > done, no problem so far. I did the config on the new config file, but > when I cd'ed to the kernel build dir and did the make depend, it came back > with a couple of unfamiliar errors: > > =====error lines==================== > make _kernel-depend > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls > -Wnested-externs -Ws > trict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fform > at-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. > -I../../../contrib/dev/acp > ica -I../../../contrib/altq -I../../../contrib/ipfilter > -I../../../contrib/pf -I. > ./../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd > -I../../../contrib/nga > tm -D_KERNEL -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 -ffreestanding ../../../i386/i386/genassym.c > cc1: error: invalid parameter `inline-unit-growth' > cc1: error: invalid parameter `large-function-growth' > ===========end error lines=================== > > Do I need to install gcc? > > Gcc is a part of the FreeBSD Tree. The one in the ports tree is not > interchangeable as the system compiler. > > > > Regards > S. > > Subhro Sankha Kar > Block AQ-13/1, Sector V > Salt Lake City > PIN 700091 > India > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@chuckr.org | electronics, communications, and SF/Fantasy. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary (on the wall at my old fraternity, Signa Phi Nothing). ----------------------------------------------------------------------------