This is the mail archive of the binutils@sources.redhat.com 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: [Bug] ld aborts linking large ieee file


Hi Gene,

> Gene Smith wrote:
>  > Also, if I try to do a objcopy of the large 3rd party ieee file
> (even > with no transformation) objcopy segfaults.  However, the large
> 3rd >party ieee file lists nicely with objdump.
> 
> gdb shows this caused by a call to ieee_write_expression() in
> bfd/ieee.c:2496 (binutils 2.13) with a NULL pointer in 3rd parameter
> (pointer to asymbol). The null pointer is shortly de-referenced inside
> the function causing segfault. Don't see a difference in latest
> cvs. Don't know all that is going on but perhaps should just return
> false instead of calling ieee_write_expression() when r->sym_ptr_ptr
> is null at li 2486?

Hmm, I think this one will need some more investigation.  Do you have
a *small* file that reproduces this problem (rather than the large 3rd
party version) that you could send to me ?  if not, then can you put
the large file somewhere where I can download it via FTP ?  (Assuming
that you are allowed to make this file public).

Cheers
        Nick

PS.  Is this problem related to the other ieee linking problem that
you posted earlier ("ld 2.13 dumps core/seg faults") ?


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