This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Increment

"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/ /usr/lib/ /usr/lib/ -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 20060526 (SUSE Linux) assertion fail ../../bfd/elf-strtab.c:200


Andreas Schwab, SuSE Labs,
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."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]