Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 21:05:54 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Jeremy Chadwick <koitsu@freebsd.org>, cy@htlwrn.ac.at, freebsd-ports@freebsd.org
Subject:   Re: Compiler segfault under fbsd7?
Message-ID:  <483C5B92.70408@FreeBSD.org>
In-Reply-To: <483C2BF6.70804@infracaninophile.co.uk>
References:  <20080527105703.yi5jjfb64kow8k8s@webmail.htlwrn.ac.at>	<20080527090825.GA35576@eos.sc1.parodius.com>	<20080527123805.ywfk7hs9yiog04ww@webmail.htlwrn.ac.at>	<20080527104555.GA38717@eos.sc1.parodius.com> <483C2BF6.70804@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> Jeremy Chadwick wrote:
>> On Tue, May 27, 2008 at 12:38:05PM +0200, cy@htlwrn.ac.at wrote:
>>>   You are right: make buildworld exits with
>>>
>>>   
>>> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c: 
>>> In function 'make_internal_attr':
>>> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:4240: 
>>> internal compiler error: Segmentation fault: 11
>>
>> You have CPU, motherboard, or memory problems.  My vote is on memory.
> 
> I've seen this on a system without *enough* memory -- when trying to do a
> 6.x to 7.0 upgrade compilation died in that exact place.  Turned out 
> that server hadn't been configured  with a swap partition when it was 
> originally built, and adding swap cured the problem.

It's not quite the same error.  The out of memory killer will kill the 
cc process, which displays "Killed" on the terminal and logs it on the 
console, and then it may segfault or otherwise crash, as a secondary effect.

Kris




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