cmake . gives an error 32-bit support is currently unsupported, check back with a later version of HipHop
I got the error on ubuntu 12.04 while i building hiphop when i run command cmake . gives an error 32-bit support is currently unsupported, check back with a later version of HipHop
Any solution for this?
Is it not kinda... obvious? Compile on a 64-bit OS and host...
HipHop does not currently support 32-bit architectures. We may add support for this in the future, but it's not a high priority at the moment.
In terms of actual work needed to make HipHop compile on 32bit systems, it's actually pretty minor. Unfortunately it's in a part of the codebase which is currently under heavy development as part of our performance push. After that has settled down a bit, I hope to go back and resolve the 32bit compilation issues.
Closing for now as there's another task tracking this.
Hi Sorry to re-post on this but it would be awesome to integrate or give a pointer to the areas that are "pretty minor" if possible. Many thanks!
(CC @jdelong, @sgolemon)
I don't think this is going to be pretty minor anymore -- doable, but not minor. At a minimum, we make assumptions about the size of a pointer and the alignment of structures that contain pointer fields. That is where I would start if you really want to do this -- examining each structure, as well as util/asm-x64.h, looking for size assumptions. (Some but not all will result in static_assert calls failing.)
The other caveat, to set appropriate expectations, is that we're not going to sign up for a support/maintenance commitment of 32-bit at this time so there is no promise that we won't break it again.
thanks @scannell taking a poke for the past few days, I can get it compiling just doesn't work lol