[Mono-bugs] [Bug 60576][Maj] Changed - Bad interaction - Mono, Gentoo (nptl) & Muine

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Sep 2004 20:20:14 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ed@catmur.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=60576

--- shadow/60576	2004-09-27 19:31:52.000000000 -0400
+++ shadow/60576.tmp.29516	2004-09-27 20:20:14.000000000 -0400
@@ -687,6 +687,17 @@
 
 ------- Additional Comments From ed@catmur.co.uk  2004-09-27 19:31 -------
 OK, I think I have the solution: the code in libgc/ needs to be
 built/linked/whatever with -pthread; currently it isn't. I'm going to
 recreate a clean tree (my current one is filled with debug code) and
 hack the Makefile in libgc.
+
+------- Additional Comments From ed@catmur.co.uk  2004-09-27 20:20 -------
+Sorry, wrong. The problem isn't the absence of any compiler flag, it's
+the *presence* of "-fexceptions". It seems that the stack treatment
+used by the -fexceptions exception handler interferes with that used
+by pthread_cleanup_{push,pop}. Removing -fexceptions from its two
+occurences in libgc/Makefile between configure and make causes
+everything to work fine.
+
+In this case, the patch should be to libgc/configure.in. I'll throw
+something together.