linux-mips
[Top] [All Lists]

Re: pthread support in mipsel-linux

To: Wayne Gowcher <wgowcher@yahoo.com>
Subject: Re: pthread support in mipsel-linux
From: "H . J . Lu" <hjl@lucon.org>
Date: Thu, 21 Feb 2002 10:25:03 -0800
Cc: Linux-MIPS <linux-mips@oss.sgi.com>
In-reply-to: <20020221181204.48818.qmail@web11908.mail.yahoo.com>; from wgowcher@yahoo.com on Thu, Feb 21, 2002 at 10:12:04AM -0800
References: <20020221095505.A28496@lucon.org> <20020221181204.48818.qmail@web11908.mail.yahoo.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Thu, Feb 21, 2002 at 10:12:04AM -0800, Wayne Gowcher wrote:
> H.J.
> 
> Thank you for your reply.
> 
> > The threads works well with glibc compiled with
> > -mips2. But the threads
> > in my RedHat 7.1 is broken when compiled with -mips2
> > :-(. I have fixed
> > it in glibc CVS.
> 
> Just to clarify, the glibc rpm in your Redhat 7.1 is
> compiled with -mips1 right ? So as it is broken yes ?

Yes. -mips1 doesn't work well with thread.

> 
> So if I REALLY wanted to use pthreads with your redhat
> 7.1 distribution, could I get away with checking out
> the current glibc from CVS, recompiling it and
> installing over the rpm glibc ? Or is that too
> simplistic, and it will need recompilation of a lot of
> other applications ? 

It should be mostly ok if you use gcc 2.96. But glibc in CVS lacks
a few mips change in my glibc in RedHat 7.1. At least, you may want
glibc-2.2-mmap64.patch in my glibc.



H.J.

<Prev in Thread] Current Thread [Next in Thread>