build: add basic mips/mipsel support#1045
Conversation
|
what are your defaults based on for the LGTM I suppose, I don't really want to give the impression we support this or are necessarily even planning on supporting it so "Valid values are" concerns me a little but I guess it'll be interesting to see what bug reports we get (if any). |
They're V8's defaults when you build it standalone. |
|
k, 👍 then |
b2a357c to
bfc3f1d
Compare
|
@jdub I pushed what is hopefully a fix. Can you give it another try? |
|
The kernel still kicks up a stink. OpenWrt is specifically built without kernel FPU emu support, so this is what happens when software isn't built with soft-float (or sneaks in hard-float regardless, which is what I suspect V8 is doing): |
|
Right, you almost certainly need a kernel with FPU emulation because I don't think V8 knows how to emit calls to the helpers in libgcc_s.so. Might make for an interesting side project. I'm going to land this PR and we can reiterate on it more. |
Extend the configure script so that it knows how to generate build files for mips and mipsel. Actually building io.js is pending MIPS buildbots. PR-URL: nodejs#1045 Reviewed-By: Rod Vagg <rod@vagg.org>
bfc3f1d to
726671c
Compare
Extend the configure script so that it knows how to generate build files
for mips and mipsel. Actually building io.js is pending MIPS buildbots.
R=@rvagg?
Not sure if useful but at least people can report build errors now.