Thread (5 messages) 5 messages, 2 authors, 2000-08-10

Re: PPC Versions of Glibc and GCC Status

flat view

From: Kevin B. Hendricks <hidden>
Date: 2000-08-10 19:43:04

Hi,

There is a mutex bug in the glibc 15d rpms that Blackdown found and sent to
the libc-alpha list.  It prevented linuxthread 15c and 15d rpms from
working correctly.  Please try with Franz's glibc-2.1.3-5a rpms, they work
fine for the jdk.  I will pass the patch along to Franz and hopefully there
will be a 15e rpm set out that should work fine for you (it does for the
JDK anyway).

I have attached the patch which you can use to make your own 15e rpm until
Franz gets a chance.

Hope this helps.

Kevin

RCS file: /cvs/glibc/libc/linuxthreads/mutex.c,v
retrieving revision 1.9.2.4
diff -u -r1.9.2.4 mutex.c
--- mutex.c     2000/07/31 15:31:21     1.9.2.4
+++ mutex.c     2000/08/09 21:43:57
@@ -109,8 +109,8 @@
 {
   switch (mutex->__m_kind) {
   case PTHREAD_MUTEX_FAST_NP:
-    __pthread_unlock(&mutex->__m_lock);
     mutex->__m_owner = NULL;
+    __pthread_unlock(&mutex->__m_lock);
     return 0;
   case PTHREAD_MUTEX_RECURSIVE_NP:
     if (mutex->__m_count > 0) {

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help