Index: /trunk/include/VBox/vm.h
===================================================================
--- /trunk/include/VBox/vm.h	(revision 9218)
+++ /trunk/include/VBox/vm.h	(revision 9219)
@@ -552,5 +552,5 @@
         char        padding[HC_ARCH_BITS == 32 ? 0x6f00 : 0xbf00];    /* multiple of 32 */
 #else
-        char        padding[HC_ARCH_BITS == 32 ? 0x8f00 : 0xdf00];    /* multiple of 32 */
+        char        padding[HC_ARCH_BITS == 32 ? 0x9f00 : 0xdf00];    /* multiple of 32 */
 #endif
     } rem;
Index: /trunk/src/VBox/VMM/REMInternal.h
===================================================================
--- /trunk/src/VBox/VMM/REMInternal.h	(revision 9218)
+++ /trunk/src/VBox/VMM/REMInternal.h	(revision 9219)
@@ -245,5 +245,5 @@
 #define REM_ENV_SIZE        (HC_ARCH_BITS == 32 ? 0x6440 : 0xb4a0)
 #else
-#define REM_ENV_SIZE        (HC_ARCH_BITS == 32 ? 0x8440 : 0xd4a0)
+#define REM_ENV_SIZE        (HC_ARCH_BITS == 32 ? 0x9440 : 0xd4a0)
 #endif
 
Index: /trunk/src/recompiler/Makefile.kmk
===================================================================
--- /trunk/src/recompiler/Makefile.kmk	(revision 9218)
+++ /trunk/src/recompiler/Makefile.kmk	(revision 9219)
@@ -188,5 +188,5 @@
  endif
 
- $(REM_MOD)_DEFS           += IN_RING3 LOG_USE_C99
+ $(REM_MOD)_DEFS           += IN_RING3 LOG_USE_C99 $(ARCH_BITS_DEFS)
  #$(REM_MOD)_DEFS          += DEBUG_DISAS DEBUG_PCALL DEBUG_EXEC DEBUG_FLUSH DEBUG_IOPORT DEBUG_SIGNAL DEBUG_TLB_CHECK DEBUG_TB_INVALIDATE DEBUG_TLB  # Enables huge amounts of debug logging.
  # these defines are probably all irrelevant now:
Index: /trunk/src/recompiler/VBoxRecompiler.c
===================================================================
--- /trunk/src/recompiler/VBoxRecompiler.c	(revision 9218)
+++ /trunk/src/recompiler/VBoxRecompiler.c	(revision 9219)
@@ -225,5 +225,7 @@
 AssertCompile(RT_SIZEOFMEMB(VM, rem.padding) >= RT_SIZEOFMEMB(VM, rem.s));
 #if !defined(IPRT_NO_CRT) && (defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) || defined(RT_OS_WINDOWS))
-AssertCompileMemberSize(REM, Env, REM_ENV_SIZE);
+//AssertCompileMemberSize(REM, Env, REM_ENV_SIZE);
+/* Why did this have to be identical?? */
+AssertCompile(RT_SIZEOFMEMB(REM, Env) <= REM_ENV_SIZE);
 #else
 AssertCompile(RT_SIZEOFMEMB(REM, Env) <= REM_ENV_SIZE);
@@ -3330,5 +3332,5 @@
      * Disassemble.
      */
-    RTINTPTR        off = env->eip - (RTINTPTR)pvPC;
+    RTINTPTR        off = env->eip - (RTGCUINTPTR)pvPC;
     DISCPUSTATE     Cpu;
     Cpu.mode = f32BitCode ? CPUMODE_32BIT : CPUMODE_16BIT;
@@ -3422,5 +3424,5 @@
      * Disassemble.
      */
-    RTINTPTR        off = env->eip - (RTINTPTR)pvPC;
+    RTINTPTR        off = env->eip - (RTGCUINTPTR)pvPC;
     DISCPUSTATE     Cpu;
     Cpu.mode = f32BitCode ? CPUMODE_32BIT : CPUMODE_16BIT;
