Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upservo (mozjs, servo/dom/bindings) won't build on 32bit Ubuntu #307
Comments
|
We have not attempted 32bit support, AFAIK. It adds complexity that we dont want to explore right now. The Readme should be more explicit about that. On Mar 21, 2013, at 5:39, Leah Hanson notifications@github.com wrote:
|
Add additional tests for the named getter in form with other listed elements.
I am attempting to run Servo by following the instructions in the Readme for Debian-base Linux. I am running 32-bit Xubuntu.
I am as far as attempting to run
make.I get this error output from make:
The relevant line from
mozjs.rsis:The definition of
JSID_TYPE_VOIDis just above that:I'm not sure whether it applies to
JSID_TYPE_VOID, but there's a block of constants just above the one containing it that starts with this comment:Upon looking in jsapi.h for the proper definitions for 32bit platforms, I found that they don't exist:
Compiling without
JSVAL_NULLdefined causes errors elsewhere.At this point, I looked for any documentation that might say "Servo is for 64bit platforms only" or something similar, but I didn't find anything to that effect.
I decided to ignore the
JSVAL_globals and look just for someJSID_TYPE_VOIDdefinitions injsapi.hinstead. I found a block with aJSTYPE_VOID, so I took those and renamed them from names starting withJSTYPE_to equivalent ones beginningJSID_TYPE_. After the compiler complained, I changed their types fromu32toi32.I'm not sure if this is the right thing to do, but it made
mozjscompile.Now,
makehas reached a new error (inservo/dom/bindings) about findings au64where it expected au32.The full make output is in this gist, but these are the errors:
It seems like there are a lot of 32/64 bit errors, so either Servo is not meant to build on 32bit machines (which should be in the Readme) or I'm doing something wrong. I'd be really happy if it's the latter and you can tell me what it is. :)
In case it is relevant, gnome system monitor says my OS version is: