On Fri, Mar 30, 2012 at 19:13, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 30/03/2012 21:06, Anthony Liguori ha scritto: >> On 03/30/2012 01:55 PM, Paolo Bonzini wrote: >>> Il 30/03/2012 20:29, Anthony Liguori ha scritto: >>>>> Now it will fail with w64 (which uses 64 bit time_t and >>>>> a 32 bit long). >>>> >>>> That's a bug in w64 (it has a broken ABI). >>>> >>>> Do we actually build and run on w64?? >>> >>> It's actually sensible and x32 does the same. Not too urgent though. >> >> I don't understand how making a long 32 bit is sensible but... I sent a >> patch that should at least address q64. >> >> Am not sure what x32 is though. > > x32 is 32-bit ABI (with 32-bit pointers and 4GB address space) with the > x86-64 (64-bit) ISA.
By the way, it should be easy to add a user emulator for x32, much like sparc32plus. Some x86 target_ulongs may need to be changed to abi_ulongs and wasn't the system call interface different to the 32 bit one? > > Paolo >