From owner-freebsd-stable@FreeBSD.ORG Sun Apr 13 21:48:24 2003 Return-Path: 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 1AAA637B401 for ; Sun, 13 Apr 2003 21:48:24 -0700 (PDT) Received: from octo.sytes.net (aoji19nyy47g9.ab.hsia.telus.net [142.59.78.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EDED43FA3 for ; Sun, 13 Apr 2003 21:48:23 -0700 (PDT) (envelope-from otacon@octo.sytes.net) Received: from octo.sytes.net (localhost [127.0.0.1]) by octo.sytes.net (8.12.9/8.12.9) with ESMTP id h3E4mI9w000519 for ; Sun, 13 Apr 2003 22:48:22 -0600 (MDT) (envelope-from otacon@octo.sytes.net) Received: from localhost (localhost [[UNIX: localhost]]) by octo.sytes.net (8.12.9/8.12.9/Submit) id h3BKHW6Y063599 for freebsd-stable@FreeBSD.ORG; Fri, 11 Apr 2003 14:17:32 -0600 (MDT) From: Patrick C To: freebsd-stable@FreeBSD.ORG Date: Fri, 11 Apr 2003 14:17:32 -0600 User-Agent: KMail/1.5 References: <200304101748.h3AHm5Po034991@octo.sytes.net> <1049998234.381.58.camel@gyros> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304111417.32401.patrick@filespanker.com> Subject: Re: regchrome causes segfault during Mozilla build X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: patrick@filespanker.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 04:48:24 -0000 On April 10, 2003 12:40 pm, Luke Hollins wrote: > > > >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. Removing -fomit-frame-pointer fixed the regchrome segfault. Mozilla did compile with the -O flag left in. Thanks!