From owner-freebsd-alpha@FreeBSD.ORG Thu Jul 17 20:12:55 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 0FD0737B401 for ; Thu, 17 Jul 2003 20:12:55 -0700 (PDT) Received: from alcanet.com.au (mail3.alcanet.com.au [208.178.117.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2781043FA3 for ; Thu, 17 Jul 2003 20:12:53 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from sydsmtp01.alcatel.com.au (IDENT:root@localhost.localdomain [127.0.0.1])h6I3CgvU018417; Fri, 18 Jul 2003 13:12:43 +1000 Received: from gsmx07.alcatel.com.au ([139.188.20.247]) by sydsmtp01.alcatel.com.au (Lotus Domino Release 5.0.12) with ESMTP id 2003071813093537:12405 ; Fri, 18 Jul 2003 13:09:35 +1000 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) by gsmx07.alcatel.com.au (8.12.9/8.12.9) with ESMTP id h6I3Cf7d048289; Fri, 18 Jul 2003 13:12:41 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.9/8.12.9/Submit) id h6I3Cepr048288; Fri, 18 Jul 2003 13:12:40 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Date: Fri, 18 Jul 2003 13:12:40 +1000 From: Peter Jeremy To: ticso@cicely.de Message-ID: <20030718031240.GF430@gsmx07.alcatel.com.au> Mail-Followup-To: ticso@cicely.de, freebsd-alpha@freebsd.org References: <20030716215658.GA43409@gsmx07.alcatel.com.au> <20030717132611.GJ14530@cicely12.cicely.de> Mime-Version: 1.0 In-Reply-To: <20030717132611.GJ14530@cicely12.cicely.de> User-Agent: Mutt/1.4.1i X-MIMETrack: Itemize by SMTP Server on SYDSMTP01/AlcatelAustralia(Release 5.0.12 |February 13, 2003) at 18/07/2003 01:09:35 PM,|February 13, 2003) at 18/07/2003 01:09:36 PM, Serialize complete at 18/07/2003 01:09:36 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline cc: freebsd-alpha@freebsd.org Subject: Re: Problem building Mozilla X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 03:12:55 -0000 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 (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). BTW, has anyone else noted problems debugging processes when there is other system activity? (5.1-RELEASE on a 4-CPU AS4100) On several occasions I've had gdb go to sleep - it won't respond to QUIT, STOP or INTR from the keyboard but it can be killed from another process. When it gets into this state, ps shows: 204 54592 54584 108 8 0 37384 37144 wait I p2 0:14.78 /usr/bin/gdb 204 54593 54592 72 105 0 36184 26912 - TX+ p2 0:04.36 /usr/X11R6/l Peter