This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: BFD internal error
- To: "Kamp, John van der" <KampJ at logica dot com>
- Subject: Re: BFD internal error
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 01 Jun 2001 17:39:22 +0100
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- References: <6B2D84C7BBDDD111A53800A0C9979A5501A52F7D@NLXRTD1>
Hi John,
> Just before the abort() in coffgen.c it tries to seek in abfd and
> filepos seems to be 2057306. Might seem big, but the app uses alot
> of templates, static libs and other neat stuff that really make it
> huge. I don't really have the knowledge of the binutils and why it
> does what, so you'll have to do it with this info. Make any
> questions for more info if you need...
Ideally what we need is a *small* reproducible test case so that we
can investigate. From the sounds of it though this may not be
possible in this particular case. Still it would be nice if you could
provide us with some more information. For example, when the crash
occurs:
* What is the value of 'abfd' ?
* What are the contents of 'abfd->filename' ?
* How long is this file in real life ?
* What are the contents of 'symbol->name' ?
* What is the value of 'errno' ?
* What is the value returned by invoking 'bfd_get_error()' ?
It would also help to know:
* Which version of the binutils sources are you using ?
* For which target did you configure the sources ?
* What host are you using ?
* Does the problem happen if you use fewer input files ? For
example can you use partial links (ld -r) to work around this
problem ?
Cheers
Nick