From owner-freebsd-questions@FreeBSD.ORG Mon Nov 6 07:21:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B15316A403 for ; Mon, 6 Nov 2006 07:21:23 +0000 (UTC) (envelope-from ABabiy@shaw.ca) Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6B0C43D55 for ; Mon, 6 Nov 2006 07:21:22 +0000 (GMT) (envelope-from ABabiy@shaw.ca) Received: from pd2mr7so.prod.shaw.ca (pd2mr7so-qfe3.prod.shaw.ca [10.0.141.10]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0J8A0080JSFNH1A0@l-daemon> for freebsd-questions@freebsd.org; Mon, 06 Nov 2006 00:21:23 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca ([10.0.121.149]) by pd2mr7so.prod.shaw.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J8A00LC4SFN65Q0@pd2mr7so.prod.shaw.ca> for freebsd-questions@freebsd.org; Mon, 06 Nov 2006 00:21:23 -0700 (MST) Received: from s01060013d45e14da.vs.shawcable.net ([70.71.24.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0J8A00I9MSFM1R1B@l-daemon> for freebsd-questions@freebsd.org; Mon, 06 Nov 2006 00:21:22 -0700 (MST) Date: Sun, 05 Nov 2006 23:21:20 -0800 From: Andriy Babiy In-reply-to: To: Michael Johnson Message-id: <200611052321.21062.ABabiy@shaw.ca> Organization: home MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200611042048.02219.ABabiy@shaw.ca> User-Agent: KMail/1.9.4 Cc: freebsd-questions@freebsd.org Subject: Re: firefox2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 07:21:23 -0000 On Sunday 05 November 2006 16:44, you wrote: > On 11/5/06, Andriy Babiy wrote: > > Hi all, > > > > I wanted to thank to everyone who advised me on how to avoid "firefox2 > > core dump" issue. > > The version of nspr was the lastest. > > When I disabled an optimization flags in make.conf, re-compiled the > > kernel, and "portupgrade -f firefox", I got Firefox running with no > > problem. If someone else has a similar issue, keep it in mind. For some > > reason, "-mtune=" and "-march=" flags caused the problem. > > What -march= flags did you use? CPUTYPE=i686 -O2 -mcpu=i686 -march=i686 -mtune=i686 I had the kernel compiled with those flags and used it for a while with no problem. Actually, I am not sure: maybe, I could leave the kernel compiled with the flags and just re-compile firefox2 without them, or vice versa. I got tired of re-building the port, so I just disabled the flags everywhere, and it resulted in firefox2 running properly. When the flags were enabled, I got an error while portupgrading firefox, but the build didn't fail because if this error. I can't remember exactly; it was something like "Chrome build failed, core dumped..."; firefox was built though, but didn't work.