build failure in linuxthreads

Greg Schafer gschafer@zip.com.au
Tue Mar 29 12:24:00 GMT 2005


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



More information about the Libc-alpha mailing list