From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 18:55: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 51FE816A4CE for ; Wed, 31 Dec 2003 18:55:41 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B8D143D5C for ; Wed, 31 Dec 2003 18:55:39 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9p1/8.12.9) with ESMTP id i012sVRI080017; Thu, 1 Jan 2004 13:54:31 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9p1/8.12.9/Submit) id i012sV9F080016; Thu, 1 Jan 2004 13:54:31 +1100 (EST) Date: Thu, 1 Jan 2004 13:54:30 +1100 From: Gautam Gopalakrishnan To: Peter Schuller Message-ID: <20040101025430.GA80006@madras.dyndns.org> References: <200401010255.23554.peter.schuller@infidyne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401010255.23554.peter.schuller@infidyne.com> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: 5.2 RC2: Semi-deterministic gcc segfault during buildworld 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: Thu, 01 Jan 2004 02:55:41 -0000 On Thu, Jan 01, 2004 at 02:55:23AM +0100, Peter Schuller wrote: > Hello, > > I had just installed a fresh 5.2 RC2 system and cvsup:ed the latest source > (only 5-10 files changed; nothing related to this problem as far as I could > see). I wanted to add Coda client support. so I created a GENERIC derivative > configuration with Coda support added. I proceeded to compile as usual: > > make cleandir && make cleandir && make buildkernel KERNCONF=WHITESTAR > > However every time I do this I encounter the exact same problem: > > /usr/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_handle_scsiint': > /usr/src/sys/dev/aic7xxx/aic79xx.c:1719: internal compiler error: Segmentation > fault > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > *** Error code 1 I had this exact problem. It was due to optimisation flag -O3 in my CFLAGS in make.conf (the handbook says to not use too much optimisation). I had no problems after I removed it. hth Gautam