[Mono-bugs] [Bug 78767][Blo] Changed - incorrect TLS usage ...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 27 06:19:38 EDT 2006


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 michael at ximian.com.

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

--- shadow/78767	2006-07-27 06:17:59.000000000 -0400
+++ shadow/78767.tmp.9399	2006-07-27 06:19:38.000000000 -0400
@@ -131,6 +131,36 @@
 /usr/lib/ooo-2.0/program with the OpenOffice_org-mono RPM installed.
 
 ------- Additional Comments From michael at ximian.com  2006-07-27 06:17 -------
 Created an attachment (id=17359)
 native / C sample crasher
 
+
+------- Additional Comments From michael at ximian.com  2006-07-27 06:19 -------
+I attach my original cut/down sample that demonstrates the problem:
+
+And my original mail explaining it:
+
+Hi guys,
+
+        So - it seems my system dislikes -lmono for some inexplicable
+reason;
+I've cut this down now to a trivial test case (which I attach).
+
+        'make' -> bang ;-)
+
+        Of course, this started off in C# but I found I could get the same
+effect in C ;-) some super-odd things:
+
+        * if you reverse the order of 'clean' vs. 'dirty' and link
+          clean first - then all is well
+
+        * if you remove the '-lmono' from the link line (cf. the
+           Makefile) - life is good again [ it's not as if we're even
+           using that library but - just having it around provokes
+           the segv ].
+
+        And I guess this is code-10 specific.
+
+Again - it works fine if you use the pthread TLS stuff.
+
+HTH.


More information about the mono-bugs mailing list