5.2 RC2: Semi-deterministic gcc segfault during buildworld
Gautam Gopalakrishnan
ggop at madras.dyndns.org
Wed Dec 31 18:55:41 PST 2003
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
More information about the freebsd-questions
mailing list