From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24843 invoked by alias); 12 Jun 2006 09:19:30 -0000 Received: (qmail 24833 invoked by uid 22791); 12 Jun 2006 09:19:30 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Jun 2006 09:19:28 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id DD9091D8ED; Mon, 12 Jun 2006 11:19:24 +0200 (CEST) From: Andreas Schwab To: dj@redhat.com Cc: binutils@sourceware.org Subject: Re: Increment References: <20060606030414.GH519@bubble.grove.modra.org> <20060612002124.GF32562@bubble.grove.modra.org> Date: Mon, 12 Jun 2006 10:50:00 -0000 In-Reply-To: <20060612002124.GF32562@bubble.grove.modra.org> (Alan Modra's message of "Mon, 12 Jun 2006 09:51:24 +0930") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00177.txt.bz2 Alan Modra writes: > On Fri, Jun 09, 2006 at 03:36:59PM +0200, Andreas Schwab wrote: >> Alan Modra writes: >> > * hash.c (bfd_hash_lookup): Correct stray line. >> >> The linker is now crashing very often with an assertion failure in >> _bfd_elf_strtab_delref. Apparently the hash resizing was never properly >> tested, since with the misplaced increment it was unlikely to ever >> trigger. In fact, disabling it will fix the crashes. > > How do you get these crashes? Just by linking any moderately big binary. > I've built an entire powerpc biarch toolchain, binutils+gcc+glibc+gdb, > mainline cvs for everything except gcc which was 4.1 branch cvs. No > assertions noticed. Are you sure that the hash resizing was actually triggered in your tests? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."