From owner-freebsd-current Thu Sep 19 6:41:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B115737B401 for ; Thu, 19 Sep 2002 06:41:44 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44FC243E3B for ; Thu, 19 Sep 2002 06:41:44 -0700 (PDT) (envelope-from qhwt@myrealbox.com) Received: from localhost qhwt@smtp-send.myrealbox.com [218.43.111.87] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.12 $ on Novell NetWare; Thu, 19 Sep 2002 07:41:45 -0600 Date: Thu, 19 Sep 2002 22:41:47 +0900 From: qhwt@myrealbox.com To: freebsd-current@FreeBSD.ORG Subject: Re: can't compile kernel? Message-ID: <20020919134147.GB9211.qhwt@myrealbox.com> References: <200209181607.g8IG7aH1007333@energistic.com> <20020918181540.GA72105@energistic.com> <20020919131548.GA9211.qhwt@myrealbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020919131548.GA9211.qhwt@myrealbox.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 19, 2002 at 10:15:48PM +0900, I wrote: > On Wed, Sep 18, 2002 at 01:15:40PM -0500, Steve Ames wrote: > > > > New datapoint: > > > > If I compile the kernel in the old fashion (config SB; cd ../compile/SB; > > make depend all install) then the kernel compiles and installs fine. > > However I get the error below when doing a 'make kernel' from /usr/src. > > > > Also even after rebooting onto the new kernel bind9 and mysql-server > > are still exiting on signal6. > > I'm also getting cpp0 crashing while building new kernel. My world is from > 2002-09-01(UTC) source. It looks similar to yours, except that: > > - cpp0 exits with signal 11, not signal 6. > - I'm building my kernel in the old fashion with a slight modification > > $ config -d /usr/obj/kernel /path/to/CONFIGFILE && \ > cd /usr/obj/kernel && make depend && make > > but cpp0 still crashes at the first stage of 'make depend'. > > > > Thoughts? Anything I can provide to help narror this down further? > > Now I'm wondering where I can build a cpp0 with debug symbols enabled > so that I can post the backtrace... By the way, I've tracked down the first .c file that causes cpp0 to sig11. It's /usr/src/sys/netkey/keysock.c,rev 1.16(my source tree is placed under /home/usr.src and symlinked from /usr). $ MKDEP_CPP="cc -E" CC="cc" mkdep -a -f .newdep -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/home/usr.src/sys -I/home/usr.src/sys/dev -I/home/usr.src/sys/contrib/dev/acpica -I/home/usr.src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mpreferred-stack-boundary=2 -ffreestanding /home/usr.src/sys/netkey/keysock.c But if I remove '-march=pentiumpro', cpp0 doesn't crash. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message