From owner-freebsd-stable@FreeBSD.ORG Mon Mar 13 13:31:22 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ACE816A401 for ; Mon, 13 Mar 2006 13:31:22 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B1343D49 for ; Mon, 13 Mar 2006 13:31:21 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 286745CFC; Mon, 13 Mar 2006 08:31:21 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52001-10; Mon, 13 Mar 2006 08:31:20 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-129-91.ny325.east.verizon.net [68.161.129.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 284A05C28; Mon, 13 Mar 2006 08:31:20 -0500 (EST) Message-ID: <4415742B.8050205@mac.com> Date: Mon, 13 Mar 2006 08:31:23 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Alban , freebsd-stable References: <74B9D1C5-5786-475B-99E6-18384B071EFB@solfertje.student.utwente.nl> In-Reply-To: <74B9D1C5-5786-475B-99E6-18384B071EFB@solfertje.student.utwente.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: Subject: Re: Segfaults from gcc, awk and Zend; advice needed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 13:31:22 -0000 Alban wrote: > For some reason I'm getting more or less random segfaults compiling > kernels, world or PHP5 on BETA-3 (Python and perl went ok). So far I > haven't succeeded building a fresh kernel or world. This system is an > Athlon XP with 1MB RAM and 4GB swap, compiling is done in the usual > places in /usr, which is a set of two gstriped partitions. Dmesg attached. If the crashes aren't repeatable (ie, the compiler segfaults in different places if you re-do the make), that's an almost sure sign of hardware problems like overheating. > - Optimization flags; I've tried setting CPUTYPE?=athlon-xp and CLFAGS=, > CFLAGS=-O -pipe, CFLAGS=-O2 -pipe so far. All w/o avail... If you're having problems, use the default compiler flags. Trying to add machine-specific optimizations into the mix is going to introduce spurious issues and make it harder to figure out the real problem. > - gcc 3.4.4, awk, PHP are all borken (all were built using gcc 3.4.4, I > suppose) > > I'm a bit low on spare time, so I'd like to tackle this problem > efficiently. Anything I forgot or to help me find the culprit? I suppose you could wait until 6.1 is released and do a binary install/upgrade? -- -Chuck