This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 970929 test results: libstdc++ test failures! (sparc-solaris251)
- To: chip at pobox dot com
- Subject: Re: 970929 test results: libstdc++ test failures! (sparc-solaris251)
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 2 Oct 1997 13:23:23 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> 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 */