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: segfault in bfd with large static binary


On Wednesday 01 February 2006 06:47, Nick Clifton wrote:
> > i was building statically the latest busybox binary on amd64 and when i
> > went to strip it, strip segfaulted on me
> >
> > normally i use binutils 2.16.1, but i found 2.16.91.0.5 and the 060131
> > snapshot bombed out the same way
>
> This is a bad assumption in assign_file_positions_for_segments() which
> believes that it will always be passed a non-NULL link_info pointer.
> Please could you try the attached patch which should fix the problem.

sorry for the delay ... with your patch, the 060131 snapshot no longer 
segfaulted ... then again, using just H. J. Lu's patch and it no longer 
segfaulted either :)
-mike


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