binutils > 2.21.51.0.2 fails to build glibc

Alan Modra amodra@gmail.com
Wed Jan 12 06:40:00 GMT 2011


On Tue, Jan 11, 2011 at 10:22:06PM -0800, Ian Lance Taylor wrote:
> that it's OK for GNU ld to segfault when building an older version of
> glibc.

It's not the linker that segfaults.  ld.so does when running the newly
built libc.so .init_array entries.

HJ, another idea on fixing this:  Adjust DT_{INIT,FINI}_ARRAY and
DT_{INIT,FINI}_ARRAYSZ in bfd_elf_final_link if the bogus sentinels
are detected.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list