hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

cmake . gives an error 32-bit support is currently unsupported, check back with a later version of HipHop

Open darshanb87 opened this issue 14 years ago • 6 comments

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?

darshanb87 avatar Sep 13 '12 10:09 darshanb87

Is it not kinda... obvious? Compile on a 64-bit OS and host...

thedjnK avatar Sep 13 '12 21:09 thedjnK

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.

paroski avatar Oct 12 '12 21:10 paroski

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.

sgolemon avatar Oct 16 '12 11:10 sgolemon

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!

Lewiscowles1986 avatar Sep 23 '13 00:09 Lewiscowles1986

(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.

scannell avatar Sep 23 '13 14:09 scannell

thanks @scannell taking a poke for the past few days, I can get it compiling just doesn't work lol

Lewiscowles1986 avatar Sep 29 '13 01:09 Lewiscowles1986