binutils > 2.21.51.0.2 fails to build glibc

Ian Lance Taylor iant@google.com
Wed Jan 12 06:44:00 GMT 2011


"H.J. Lu" <hjl.tools@gmail.com> writes:

>> It's quite likely that I misunderstand.  It sounds like you are saying
>> that it's OK for GNU ld to segfault when building an older version of
>
> Linker doesn't segfault.
>
>> glibc.  The linker isn't like the compiler, where we tighten
>> restrictions on the input language.  The linker should accept old object
>> files.  And of course it should never segfault.  But if I misunderstand,
>> then I apologize for raising the issue.
>
> The problem is the linker generates bad libc.so with unfixed glibc.
> The fix is trivial and leads to slightly better libc.so as extra bonus.

Thanks for the correction, but that's sort of worse.

Ian



More information about the Binutils mailing list