On 03/30/2012 02:13 PM, Paolo Bonzini 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.
Wow. That's.. interesting :-)
In general, violating sizeof(long) >= sizeof(void *) seems like an exceeding
bad idea to me.
Regards,
Anthony Liguori