[Mono-bugs] [Bug 82424][Maj] Changed - mono 1.4.5 cannot be compiled on FreeBSD/amd64

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 18:43:40 EDT 2007


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=82424

--- shadow/82424	2007-08-13 16:49:26.000000000 -0400
+++ shadow/82424.tmp.18965	2007-08-13 18:43:40.000000000 -0400
@@ -78,6 +78,25 @@
 
 
 
 
 
 
+
+------- Additional Comments From vargaz at gmail.com  2007-08-13 18:43 -------
+Could you try this patch:
+
+Index: mono/mini/tramp-amd64.c
+===================================================================
+--- mono/mini/tramp-amd64.c     (revision 83921)
++++ mono/mini/tramp-amd64.c     (working copy)
+@@ -124,8 +124,9 @@
+                buf [2] = 0x90;
+                buf [3] = 0x66;
+                buf [4] = 0x90;
+-       } else if ((code [0] == 0x49) && (code [1] == 0xff)) {
++       } else if ((code [0] == 0x41) && (code [1] == 0xff)) {
+                /* call <REG> */
++               /* happens on machines without MAP_32BIT like freebsd */
+                /* amd64_set_reg_template is 10 bytes long */
+                guint8* buf = code - 10;
+


More information about the mono-bugs mailing list