From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 10 11:40:42 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9682C37B401; Thu, 10 Apr 2003 11:40:42 -0700 (PDT) Received: from smtp.tor.pathcom.com (smtp.tor.pathcom.com [209.250.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D5443F3F; Thu, 10 Apr 2003 11:40:41 -0700 (PDT) (envelope-from lwh@pathcom.com) Received: from rdsl-0431.tor.pathcom.com (luke@rdsl-0431.tor.pathcom.com [207.188.67.175]) by smtp.tor.pathcom.com (8.12.9/8.12.6) with ESMTP id h3AIeeVt001011; Thu, 10 Apr 2003 14:40:40 -0400 (EDT) Date: Thu, 10 Apr 2003 14:40:39 -0400 (EDT) From: Luke Hollins Sender: lwh@phoenix.zer0.net To: Joe Marcus Clarke In-Reply-To: <1049998234.381.58.camel@gyros> Message-ID: References: <200304101748.h3AHm5Po034991@octo.sytes.net> <1049998234.381.58.camel@gyros> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD GNOME Users cc: FreeBSD-mozilla@freebsd.org cc: freebsd-stable@freebsd.org cc: "Dr. Otacon" Subject: Re: regchrome causes segfault during Mozilla build X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Luke Hollins List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 18:40:43 -0000 > > >Release: FreeBSD 4.8-STABLE i386 > > >Environment: > > System: FreeBSD octo.sytes.net 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Apr 9 14:48:08 MDT 2003 otacon@octo.sytes.net:/usr/obj/usr/src/sys/CONTRA i386 > > > > >Description: > > (cd /usr/ports/www/mozilla/work/mozilla/dist/bin; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome; /usr/bin/touch ./chrome/user-skins.rdf ./chrome/user-locales.rdf) > > Segmentation fault (core dumped) > > *** Error code 139 > > > > I've tried using gcc2.95.4 and gcc3.2.2, both generate the same error, with or without optimizations. Here are the CFLAGS I've used: > > gcc3.2.2: CFLAGS=-O -pipe -fomit-frame-pointer -mmmx -msse -march=pentium3 -mcpu=pentium3 > > gcc2.95.4: CFLAGS=-O -pipe -fomit-frame-pointer -march=pentiumpro -mcpu=pentiumpro > > In the handbook it states that you should not report bugs unless you've > built with _default_ CFLAGS. Please rebuild Mozilla with -O -pipe, and > see if the problem persists. I have had the same problem on many machines, removing any -f and -O options has always fixed it.