This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: build failure in linuxthreads
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: Bruno Haible <bruno at clisp dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 29 Mar 2005 22:22:59 +1000
- Subject: Re: build failure in linuxthreads
- References: <200503291401.03115.bruno@clisp.org>
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