From owner-freebsd-alpha@FreeBSD.ORG Fri Jul 18 02:46:28 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0500637B401 for ; Fri, 18 Jul 2003 02:46:28 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 973E743F3F for ; Fri, 18 Jul 2003 02:46:26 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h6I9k5hR053209 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Fri, 18 Jul 2003 11:46:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h6I9jvAx032532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jul 2003 11:45:58 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h6I9jvgt023953; Fri, 18 Jul 2003 11:45:57 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h6I9jvtH023952; Fri, 18 Jul 2003 11:45:57 +0200 (CEST) Date: Fri, 18 Jul 2003 11:45:56 +0200 From: Bernd Walter To: ticso@cicely.de, freebsd-alpha@freebsd.org Message-ID: <20030718094556.GE19386@cicely12.cicely.de> References: <20030716215658.GA43409@gsmx07.alcatel.com.au> <20030717132611.GJ14530@cicely12.cicely.de> <20030718031240.GF430@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030718031240.GF430@gsmx07.alcatel.com.au> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i Subject: Re: Problem building Mozilla X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 09:46:28 -0000 On Fri, Jul 18, 2003 at 01:12:40PM +1000, Peter Jeremy wrote: > On 2003-Jul-17 15:26:12 +0200, Bernd Walter wrote: > >On Thu, Jul 17, 2003 at 07:56:58AM +1000, Peter Jeremy wrote: > >> My attempts to build Mozilla on a quad-CPU AS4100 running a > >> locally-built copy of 5.1-RELEASE consistently fail, ending: > > > >Oh - the port was updated to 1.4 > >Downgrade the port to 5.1-RELEASE time. > > Thanks for that. mozilla-1.3.1,2 compiles and installs successfully. > > Unfortunately, it doesn't run. I get an unaligned access report, > followed by a segmentation violation: > pid 49966 (mozilla-bin): unaligned access: va=0x160bbb2df pc=0x160b9db2c ra=0x16200e8ac op=ldq I see the alignment errors too. Typically I get a bunch at startup and that's it. But then it works. If you already have a ~/.mozilla - can you rename it and try again? > (gdb) where > #0 0x160b9eaa000 in ?? () > #1 0x160b9db30 in nsPref::GetDefaultIntPref(char const*, int*) () > from /usr/X11R6/lib/mozilla/components/libpref.so > #2 0x160b9db30 in nsPref::GetDefaultIntPref(char const*, int*) () > from /usr/X11R6/lib/mozilla/components/libpref.so > Error accessing memory address 0x10: Bad address. > (gdb) > > Suspiciously, the address looks like it is shifted 8-bits left, which > is consistent with the unaligned access being one byte below an > aligned address. This looks like an out-by-one error somewhere. I'll > try re-compiling with the defaults (rather than for ev56) and see if > this is just a gcc bug (as I suspect). I compiled myself with: CFLAGS=-O2 -pipe CPUTYPE?=ev56 The system is an ev56 AS4100 too. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de