Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we build with MIPS soft float ABI #4447

Closed
targos opened this issue Dec 28, 2015 · 2 comments
Closed

Can we build with MIPS soft float ABI #4447

targos opened this issue Dec 28, 2015 · 2 comments
Labels
build Issues and PRs related to build files or the CI. mips Issues and PRs related to the MIPS architecture. question Issues that look for answers.

Comments

@targos
Copy link
Member

targos commented Dec 28, 2015

I've been trying to build the master branch for the Atheros AR9331 that has no hardware fpu. I have no problem to cross-compile everything but in the end node fails to run because V8 tries to execute illegal instructions.

According to https://github.com/paul99/v8m-rb/wiki/Building-v8-for-MIPS-with-GYP#softfloat-support-deprecated softfloat is not supported by V8 anymore. Is there anything I can do about it at compile time or should the configure option --with-mips-float-abi be removed ?

cc @bnoordhuis ?

@targos targos added question Issues that look for answers. build Issues and PRs related to build files or the CI. mips Issues and PRs related to the MIPS architecture. labels Dec 28, 2015
@bnoordhuis
Copy link
Member

--with-mips-float-abi controls the calling convention for functions that take or return floating-point values. V8 still supports the soft-float ABI, the change in V8 3.18 is that it no longer supports a 'no floating point' mode.

I've been trying to build the master branch for the Atheros AR9331 that has no hardware fpu.

The assumption now is that your kernel will emulate floating point instructions when needed.

@jasnell
Copy link
Member

jasnell commented Mar 22, 2016

Assuming this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. mips Issues and PRs related to the MIPS architecture. question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

3 participants