From owner-freebsd-stable@FreeBSD.ORG Fri Mar 6 14:54:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EEA91065672 for ; Fri, 6 Mar 2009 14:54:18 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DD0508FC17 for ; Fri, 6 Mar 2009 14:54:17 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LfbRJ-0001f3-F2 for freebsd-stable@freebsd.org; Fri, 06 Mar 2009 14:54:17 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2009 14:54:17 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2009 14:54:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Mark Atkinson Followup-To: gmane.os.freebsd.stable Date: Fri, 06 Mar 2009 06:54:08 -0800 Lines: 32 Message-ID: References: <87wsb5clk9.fsf@chateau.d.lf> <87iqmohcl5.fsf@chateau.d.lf> <200903051449.59782.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.99.01 Sender: news Subject: Re: GCC segfaulting while trying to compile latest Qt4 code 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: Fri, 06 Mar 2009 14:54:18 -0000 John Baldwin wrote: >> I believe superpages were mfc'd to -stable as well. I have one machine >> that faults in gcc with this turned on. You can try adding >> >> vm.pmap.pg_ps_enabled="0" >> >> to /boot/loader.conf, rebooting and see if that fixes the problem. If >> so, you might provide the list with your hardware configuration. > > Note that superpages is not on by default in 7 the way it is in 8. BTW, > can > you get more details from your actual crash dump? I'm not sure if there's > a way you can either add some debug printfs or something else to determine > what the faulting address that results in the SIGBUS you are seeing? Ahh, my bad, I didn't realize it defaulted to off. I'm not having any luck at diagnosing it further, the stack is so far gone at that point. Since no-one else is really seeing my issue at this point, I'm going to wait until I have some different, slower memory to try. For now, disabling superpages works well. If Ashish is still having issues, I've seen this sort of thing with runtime library problems. Bad libmap entries and disk corruption can cause this. If you can complete a buildworld, a fresh buildworld and installworld with make delete-old might solve your compilation problems. If qt depends on the gcc in ports, you may have to rebuild that one as well afterwards. -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);