From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 17:08:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F086B16A4CE for ; Tue, 10 Aug 2004 17:08:34 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF48343D2F for ; Tue, 10 Aug 2004 17:08:34 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C3AE772DF2; Tue, 10 Aug 2004 10:08:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id BF37472DB5; Tue, 10 Aug 2004 10:08:34 -0700 (PDT) Date: Tue, 10 Aug 2004 10:08:34 -0700 (PDT) From: Doug White To: Terrence Koeman In-Reply-To: <200408101606842.SM01804@manrikigusari> Message-ID: <20040810100612.Q88160@carver.gumbysoft.com> References: <200408101606842.SM01804@manrikigusari> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: RE: Compiler segmentation fault in 5-08 -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 17:08:35 -0000 On Tue, 10 Aug 2004, Terrence Koeman wrote: > > Can you compile a simple "hello world" program? Sometimes > > these types of > > faults can be caused by faulty memory, processor, overclocking, or > > temperature issues. > > It doesn't seem hardware related. Before the update I had no problems with > segmentation faults, and the system can take heavy load just fine. > > I tried to compile the following hello world program: [...] > helloworld.c:4: internal compiler error: Segmentation fault Ugh. Looks like your gcc binary's busted. > Is there perhaps a way to copy over the compiler from a working (older) > -CURRENT system and build a new world with it to see if it's fixed in cvs? You might try tracking down a recent snapshot and do an 'upgrade'; that should overwrite your defective binary. This problem is unique to you so you may have had a disk error or something that's zeroed out part of the gcc binary or cc1 or something important like that. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org