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: build failure in linuxthreads


On Tue, Mar 29, 2005 at 02:01:03PM +0200, Bruno Haible wrote:

> While compiling glibc CVS as of 2005-03-22 on Linux/x86 (SuSE 9.0
> butgcc-3.4, no TLS), I got this error: Indeed, there is no variable _errno
> variable neither in elf/ld.so nor inlibc.so nor in
> linuxthreads/libpthread_pic.a.  "nm inet/herrno.os" shows that
> USE___THREAD was true, thereforeUSE_TLS && HAVE___THREAD was true as well.

> Here I'm lost. If USE_TLS is not defined if IS_IN_libpthread, then what do
> the#if USE_TLS tests in linuxthreads/pthread.c mean?  Any idea?

You really should be compiling a linuxthreads enabled glibc with
`--without-__thread'. Here's a post from someone who knows very well:

  http://sources.redhat.com/ml/glibc-bugs/2004-08/msg00107.html

In view of this, it's probably worth changing the autoconfigury to enforce
it.

Regards
Greg


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