enable n32 and n64, and move o32 into mips/mips32

Daniel Jacobowitz drow@mvista.com
Sat Mar 29 00:36:00 GMT 2003


On Fri, Mar 28, 2003 at 09:25:34PM -0300, Alexandre Oliva wrote:
> On Mar 28, 2003, Daniel Jacobowitz <drow@mvista.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



More information about the Libc-alpha mailing list