Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2004 13:54:30 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 5.2 RC2: Semi-deterministic gcc segfault during buildworld
Message-ID:  <20040101025430.GA80006@madras.dyndns.org>
In-Reply-To: <200401010255.23554.peter.schuller@infidyne.com>
References:  <200401010255.23554.peter.schuller@infidyne.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <URL:http://gcc.gnu.org/bugs.html>; 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




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