This is the mail archive of the binutils@sourceware.org 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


Alan Modra <amodra@bigpond.net.au> writes:

> On Fri, Jun 09, 2006 at 03:36:59PM +0200, Andreas Schwab wrote:
>> Alan Modra <amodra@bigpond.net.au> 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."


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