Unable to build MIPS with the current glibc snapshots. Upon investigation I noticed the pthreads type file was updated. Attached is a patch that will update the pthreadstype to the current setup for other architectures. Based on the changes to x86_64 and sparc.
Created attachment 838 [details] Patch for MIPS pthreadstype
Subject: Bug 2167 CVSROOT: /cvs/glibc Module name: libc Changes by: aj@sources.redhat.com 2006-01-18 08:41:47 Modified files: nptl/sysdeps/unix/sysv/linux/mips/bits: pthreadtypes.h nptl : ChangeLog Log message: [BZ #2167] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h (pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h.diff?cvsroot=glibc&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/ChangeLog.diff?cvsroot=glibc&r1=1.853&r2=1.854
I added a revised version of your patch, thanks.