This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: enable n32 and n64, and move o32 into mips/mips32
On Fri, Mar 28, 2003 at 09:25:34PM -0300, Alexandre Oliva wrote:
> On Mar 28, 2003, Daniel Jacobowitz <drow at mvista dot com> wrote:
>
> > That should not be the case (TLS required). More likely someone just
> > broke the non-TLS case. What's the actual problem?
>
> The first problem I ran into was that
> linuxthreads/sysdeps/pthread/herrno-loc.c expects tls.h to define a
> type named pthread_descr and a macro LIBC_THREAD_GETMEM, but the
> generic tls.h doesn't define either of them. I ended up creating a
> mips-specific tls.h, as below, to get around the problem, and then ran
> into another problem that I still haven't investigated. I remember
> having seen other pthread_descr-related error messages fly by in a
> make -k, but I have other problems that I'd like to fix first.
>
> Is this linuxthreads/sysdeps/mips/tls.h o to install?
Er... that just suggests that herrno-loc.c is missing the include for
<linuxthreads/descr.h>. LIBC_THREAD_GETMEM will always be defined by
<linuxthreads/internals.h> - try grepping for it...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer