From owner-freebsd-ports@FreeBSD.ORG Tue May 27 19:05:58 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AEC31065672; Tue, 27 May 2008 19:05:58 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0EE8FC0A; Tue, 27 May 2008 19:05:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <483C5B92.70408@FreeBSD.org> Date: Tue, 27 May 2008 21:05:54 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Matthew Seaman 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> In-Reply-To: <483C2BF6.70804@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , cy@htlwrn.ac.at, freebsd-ports@freebsd.org Subject: Re: Compiler segfault under fbsd7? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2008 19:05:58 -0000 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