This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: Current binutils failed to build glibc


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


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