From owner-freebsd-ia64@FreeBSD.ORG Fri Sep 7 15:07:05 2012 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8CD8106564A; Fri, 7 Sep 2012 15:07:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id AF4338FC12; Fri, 7 Sep 2012 15:07:05 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 00359B948; Fri, 7 Sep 2012 11:07:05 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org, mexas@bristol.ac.uk Date: Fri, 7 Sep 2012 10:49:11 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Message-Id: <201209071049.11682.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 07 Sep 2012 11:07:05 -0400 (EDT) Cc: freebsd-ia64@freebsd.org Subject: Re: analysing ia64 core dumps X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 15:07:06 -0000 On Thursday, September 06, 2012 4:57:31 am Anton Shterenlikht wrote: > I'm trying to debug firefox and related on ia64. > I was told in gecko@ to ask here about analysing core dumps. > > I rebuilt and reinstalled /usr/src/lib/libthr with > DEBUG_FLAGS='-g -O0' You don't need -O0, probably just -g. You should probably do this for libc as well I think. That might help your backtrace. What I tend to do for these btw is build debug shared libraries and use LD_LIBRARY_PATH to run my test program with those libraries rather than overwriting the main libraries in /lib. -- John Baldwin