Compiler segfault under fbsd7?
Kris Kennaway
kris at FreeBSD.org
Tue May 27 19:05:58 UTC 2008
Matthew Seaman wrote:
> Jeremy Chadwick wrote:
>> On Tue, May 27, 2008 at 12:38:05PM +0200, cy at 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
More information about the freebsd-ports
mailing list