This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: ld build-id crash on ARM linking gcc


On Sat, Sep 24, 2011 at 8:37 PM, Ian Lance Taylor <iant@google.com> wrote:
> Daniel Drake <dsd@laptop.org> writes:
>
>> We have found a ld segfault that occurs early in the gcc compile
>> process - the first time it tries to link cc1. This is testing on
>> armv5tel.
>
> Issues with the GNU binutils should normall go to
> binutils@sourceware.org. ?See http://sourceware.org/binutils/ .

Ah, yes, thanks for pointing that out.

> I don't know what might have fixed this. ?I didn't see anything
> immediately obvious in the diff. ?If the backtrace can be trusted, the
> problem is that the length passed to sha1_process_bytes is far too
> large, but I don't know why.

Thanks for having a look.
I got to the bottom of this - while it might have been an underlying
binutils issue at heart, it is caused by a non-upstream patch shipped
by both Fedora and Ubuntu. Full details here:
https://bugzilla.redhat.com/show_bug.cgi?id=741053
sorry for the noise!

Daniel


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