mono-1.1.x on a PPC



Progress has been made in resolving a build issue for mono-1.1.x on
linuxPPC's.  Attached is a patch that eliminates a problem with
libmono.so that caused the mono disassembler, monodis, to segfault.

I expect that patch will be incorporated into the mono code base.

-Joseph

-- 
joseph_sacco [at] comcast [dot] net
Index: mono/utils/mono-compiler.h
===================================================================
--- mono/utils/mono-compiler.h	(revision 45339)
+++ mono/utils/mono-compiler.h	(working copy)
@@ -11,6 +11,8 @@
 
 #if defined(PIC) && defined(__x86_64__)
 #define MONO_TLS_FAST 
+#elif defined (__powerpc__)
+#define MONO_TLS_FAST
 #else
 #define MONO_TLS_FAST __attribute__((tls_model("local-exec")))
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]