[Mono-bugs] [Bug 46137][Wis] Changed - Odd things happen when mixing embeded mono and pthreads

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 24 Jul 2003 11:22:23 -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 dick@ximian.com.

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

--- shadow/46137	Fri Jul 11 02:40:45 2003
+++ shadow/46137.tmp.16544	Thu Jul 24 11:22:23 2003
@@ -1,14 +1,14 @@
 Bug#: 46137
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: eric@5stops.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -71,7 +71,21 @@
 
 i will attach a tar after i submit this.
 
 ------- Additional Comments From eric@5stops.com  2003-07-11 02:40 -------
 Created an attachment (id=4837)
 the testcase.
+
+
+------- Additional Comments From dick@ximian.com  2003-07-24 11:22 -------
+It's a build problem
+
+libgc overrides pthread functions, and you need to make sure that
+your code and libmono agree.
+
+By changing your Makefile to add -DGC_LINUX_THREADS to CFLAGS, and
+#include <gc/gc.h> to the top of oxide-2.c and oxide-3.c it all
+works.
+
+This should be handled somehow by the pkgconfig control file, I'll
+add a new bug for that.