From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21539 invoked by alias); 12 Jun 2006 21:11:12 -0000 Received: (qmail 21526 invoked by uid 22791); 12 Jun 2006 21:11:08 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Jun 2006 21:11:03 +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 mx1.suse.de (Postfix) with ESMTP id 22CB1EF8B; Mon, 12 Jun 2006 23:11:00 +0200 (CEST) From: Andreas Schwab To: "H. J. Lu" Cc: dj@redhat.com, binutils@sourceware.org Subject: Re: Increment References: <20060606030414.GH519@bubble.grove.modra.org> <20060612002124.GF32562@bubble.grove.modra.org> <20060612190517.GA12535@lucon.org> Date: Mon, 12 Jun 2006 23:55:00 -0000 In-Reply-To: <20060612190517.GA12535@lucon.org> (H. J. Lu's message of "Mon, 12 Jun 2006 12:05:17 -0700") 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/msg00198.txt.bz2 "H. J. Lu" writes: > On Mon, Jun 12, 2006 at 11:19:24AM +0200, Andreas Schwab wrote: >> 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. > > Will building gcc on x86, x86-64 and ia64 trigger this? For the particular case of builing the libsndfile package it triggers on x86, x86-64 and ia64, but not on ppc/ppc64. gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -pipe -o .libs/sndfile-regtest sndfile-regtest.o database.o checksum.o ../src/.libs/libsndfile.so /usr/lib/libFLAC.so /usr/lib/libsqlite3.so -lpthread -lm collect2: ld terminated with signal 11 [Segmentation fault] /usr/lib/gcc/ia64-suse-linux/4.1.2/../../../../ia64-suse-linux/bin/ld: BFD 2.17.50.0.2 20060526 (SUSE Linux) assertion fail ../../bfd/elf-strtab.c:200 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."