970929 test results: libstdc++ test failures! (sparc-solaris251)

H.J. Lu hjl@lucon.org
Thu Oct 2 13:23:00 GMT 1997


> 
> I'm using a Linux system with glibc 2.0.4.  Despite Ulrich's patches
> that are a part of egcs-970929, a simple program to write to cout
> dumps core.  I really don't know what to do next.

You need glibc 2.0.5c and a patch for linuxthreads enclosed here.

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)
--- linuxthreads/sysdeps/pthread/libc-lock.h.orig	Thu Oct  2 13:20:38 1997
+++ linuxthreads/sysdeps/pthread/libc-lock.h	Thu Oct  2 13:22:24 1997
@@ -166,6 +166,11 @@
 /* We need portable names for some functions.  E.g., when they are
    used as argument to __libc_cleanup_region_start.  */
 # define __libc_mutex_unlock __pthread_mutex_unlock
+#else
+# ifdef __ELF__
+#  pragma weak _pthread_cleanup_push_defer
+#  pragma weak _pthread_cleanup_pop_restore
+# endif
 #endif
 
 #endif	/* bits/libc-lock.h */



More information about the Gcc mailing list