building mono-1.1.7 on a PPC



There is a reported bug 

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

that prevents mono-1.1.7 from building on a PPC. This bug will be fixed
in mono-1.1.8. For now, use the patch below.


-Joseph

---------------------------------------------------------------------


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

-- 
joseph_sacco [at] comcast [dot] net




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