Current binutils failed to build glibc

Jakub Jelinek jakub@redhat.com
Sat Oct 2 01:08:00 GMT 2004


On Fri, Oct 01, 2004 at 05:45:49PM -0700, H. J. Lu wrote:
> On Fri, Oct 01, 2004 at 05:35:31PM -0700, Roland McGrath wrote:
> > > This patch seems to work.
> > 
> > Can you explain why it is needed?
> 
> errno.os in libc_pic.a with nptl enabled glibc has
> 
> [hjl@gnu-10 build-i686-linux]$ readelf -s csu/errno.os | grep errno
>      1: 00000000     0 FILE    LOCAL  DEFAULT  ABS errno.c
>     17: 00000000     4 TLS     GLOBAL HIDDEN    8 __libc_errno
>     18: 00000000     4 TLS     GLOBAL DEFAULT    8 errno
> 
> But ld.so doesn't use TLS on errno. With the current linker, I got

True, but that errno.os is just present in libc_pic.a, but not actually
linked into librtld.map.o.

	Jakub



More information about the Libc-alpha mailing list