From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9928 invoked by alias); 5 Mar 2005 11:31:05 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 9794 invoked from network); 5 Mar 2005 11:30:44 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.205) by sourceware.org with SMTP; 5 Mar 2005 11:30:44 -0000 Received: by wproxy.gmail.com with SMTP id 69so889406wri for ; Sat, 05 Mar 2005 03:30:44 -0800 (PST) Received: by 10.54.65.9 with SMTP id n9mr45702wra; Sat, 05 Mar 2005 03:30:40 -0800 (PST) Received: by 10.54.56.3 with HTTP; Sat, 5 Mar 2005 03:30:40 -0800 (PST) Message-ID: <5460e333050305033041691999@mail.gmail.com> Date: Sat, 05 Mar 2005 11:31:00 -0000 From: Christian Joensson Reply-To: Christian Joensson To: binutils , Aurora Sparc Devel , Tom 'spot' Callaway , "James A. Morrison" Subject: Re: Can't build libjava in gcc cvs trunk 20050227 on sparc-linux: ar cq libgcj0_convenience.a ... Bus error: in bfd_hash_lookup () from /usr/lib/libbfd-2.15.92.0.2.so In-Reply-To: <5460e33305030502095ad2f9d5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050228090544.GA5242@u10.j-son.org> <20050228133714.GA27958@u10.j-son.org> <20050228224141.GG5299@bubble.modra.org> <5460e3330503030339716641a@mail.gmail.com> <5460e33305030502095ad2f9d5@mail.gmail.com> X-SW-Source: 2005-03/txt/msg00165.txt.bz2 On Sat, 5 Mar 2005 11:09:22 +0100, Christian Joensson wrote: > On Thu, 3 Mar 2005 12:39:16 +0100, Christian Joensson > wrote: > > On Tue, 1 Mar 2005 09:11:41 +1030, Alan Modra wrote: > > > On Mon, Feb 28, 2005 at 02:37:14PM +0100, Christian Joensson wrote: > > > > Program received signal SIGBUS, Bus error. > > > > bfd_hash_lookup (table=0x611e1c, string=0x33117f1 ".debug_abbrev", create=1, > > > > copy=0) at /usr/local/src/trunk/src/bfd/hash.c:394 > > > > > > Please compile binutils with CFLAGS="-g -O" and see if you can figure > > > out why bfd_hash_lookup is dying. > > > > hmm, I think I will have to bail out of this now, debugging seems to > > take "forever" and it might even be the case that it does not give me > > anything. > > > > Speculating about the resons for this problem, I would say it's either > > my developmnet system and its development kernel that does memory > > trashing in a way that affercs binutils ar like this, or it is a gcc > > miscompilation (which seems to me far off but still possible) or it is > > a binutils "bug". > > > > For anyone interested in digging into this, I have put a tarred > > achhive of the .o files togheter that you can run your favourite ar > > capable of reading sparc-linux .o files and producing sparc-linux > > archives together with a text file that describes my setup, the > > verisons used, my test run of ar and a simple gdb back trace of the > > Bus error I get. > > > > It's available, for some time..., at > > > > ftp://ftp.j-son.org/pub/aurora/ar-problem-corona/ > > after all, maybe this is a kernel memory trashing issue, if I run ar > with kernel-2.6.9-1.1032sp1 the thing does not happen, but when I run > with kernel-2.6.10-1.1110sparc18 it does. I will try with > kernel-2.6.11-1.1166sp1 later today... then again, maybe not, I get a similar problem but elsewhere, sigh. I give up now... -- Cheers, /ChJ