[Mono-bugs] [Bug 434457] mono 2.0 crashes during compile on NetBSD/amd64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 11 01:27:08 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=434457

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434457#c11





--- Comment #11 from Zoltan Varga <vargaz at gmail.com>  2008-10-10 23:27:08 MDT ---
Try this patch too (on top of the previous one):

Index: amd64/amd64-codegen.h
===================================================================
--- amd64/amd64-codegen.h       (revision 115508)
+++ amd64/amd64-codegen.h       (working copy)
@@ -487,7 +487,7 @@
 #define amd64_jump_membase_size(inst,basereg,disp,size) do { amd64_emit_rex
((inst),0,0,0,(basereg)); *(inst)++ = (unsigned char)0xff; amd64_membase_emit
((inst), 4, (basereg), (disp)); } while (0)

 #define amd64_jump_code_size(inst,target,size) do { \
-       if (((guint64)(target) >> 32) == 0) { \
+       if (amd64_is_imm32 ((gint64)(target) - (gint64)(inst))) {              
\
                x86_jump_code((inst),(target));                                
                                \
        } else {                                                               
                                    \
            amd64_jump_membase ((inst), AMD64_RIP, 0);                          


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list