[Mono-bugs] [Bug 78767][Nor] Changed - can't load libmono as a module

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 2 13:43:26 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 vargaz at gmail.com.

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

--- shadow/78767	2006-07-27 10:53:59.000000000 -0400
+++ shadow/78767.tmp.30859	2006-08-02 13:43:26.000000000 -0400
@@ -184,6 +184,15 @@
 There are two alternative solutions:
 *) provide a libmono-module.so compiled without optimized __thread
 support and make corner cases like ooo's use that
 *) change the ooo binding to not load libmono as a module
 
 Obviously the -mno-tls-direct-seg-refs flag has no relation to this issue.
+
+------- Additional Comments From vargaz at gmail.com  2006-08-02 13:43 -------
+According to the ELF TLS docs, using TLS in a shared library and
+loading it at runtime is perfectly fine. Also, if I make a simply shared
+library which defines a few __thread variables, and link michael's
+simple test case against that instead of libmono, it runs. Also, if I
+define MONO_TLS_FAST to empty, it still fails. I think this might be
+a tricky libc/gcc problem which needs to be tracked down.
+


More information about the mono-bugs mailing list