From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9429 invoked by alias); 13 Jun 2006 02:58:56 -0000 Received: (qmail 9421 invoked by uid 22791); 13 Jun 2006 02:58:55 -0000 X-Spam-Check-By: sourceware.org Received: from smtp114.sbc.mail.mud.yahoo.com (HELO smtp114.sbc.mail.mud.yahoo.com) (68.142.198.213) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 13 Jun 2006 02:58:50 +0000 Received: (qmail 41644 invoked from network); 13 Jun 2006 02:58:49 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.67.96 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 13 Jun 2006 02:58:48 -0000 Received: by lucon.org (Postfix, from userid 1000) id 4A60363EEC; Mon, 12 Jun 2006 19:58:47 -0700 (PDT) Date: Tue, 13 Jun 2006 08:53:00 -0000 From: "H. J. Lu" To: Andreas Schwab Cc: dj@redhat.com, binutils@sourceware.org Subject: Re: Increment Message-ID: <20060613025846.GA15374@lucon.org> References: <20060606030414.GH519@bubble.grove.modra.org> <20060612002124.GF32562@bubble.grove.modra.org> <20060612190517.GA12535@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i 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/msg00202.txt.bz2 On Mon, Jun 12, 2006 at 11:10:55PM +0200, Andreas Schwab wrote: > "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 > Can you provide a self-contained testcase? H.J.