garnome-2.10.1: mono-1.06 patch for PPC's is broken



The gar-base.diff patch mono-1.06 for PPC's needs to be patched in order
to get muine to build:

                                  ...
        Making all in src
        make[3]: Entering directory `/usr/local/src/GNOME/garnome-2.10.1/mono/muine/work/main.d/muine-0.6.3/src'
        MONO_XMLSERIALIZER_THS=no wsdl ./AmazonSearchService.wsdl
        Mono Web Services Description Language Utility
        
        Unhandled Exception: System.ExecutionEngineException: SIGILL
        make[3]: *** [AmazonSearchService.cs] Error 1


The SIGILL problem is with exception-ppc.c. The gar-base.diff patch
contains only one of the three required changes to this file.  See
attachment.


-Joseph


-- 
joseph_sacco [at] comcast [dot] net
--- mono/mini/exceptions-ppc.c.orig	2004-11-13 19:28:02.000000000 -0500
+++ mono/mini/exceptions-ppc.c	2005-03-23 13:22:47.000000000 -0500
@@ -501,6 +501,7 @@
 	ppc_break (code);
 
 	g_assert ((code - start) < sizeof(start));
+	mono_arch_flush_icache (start, code - start);
 	return start;
 }
 
@@ -570,6 +571,7 @@
 	ppc_blr (code);
 
 	g_assert ((code - start) < sizeof(start));
+	mono_arch_flush_icache (start, code - start);
 	return start;
 }
 
@@ -665,6 +667,7 @@
 	/* we should never reach this breakpoint */
 	ppc_break (code);
 	g_assert ((code - start) < size);
+	mono_arch_flush_icache (start, code - start);
 	return start;
 }
 


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