-
Notifications
You must be signed in to change notification settings - Fork 99
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
How to build node.js for ARM core without hardware FPU. #15
Comments
Hi @rench LEDE 17.01-head / linux-4.4.74
To forcibly enable it...
|
yesterday , i found this way. |
Hmm... -> Select Floating point emulation |
Unfortunately, I disabled aeabi, the results of the router can not start. i found some hard code in toolchains/gcc/common.mk
do this trigger Illegal instruction ? |
It is not caused by the float instruction generated by gcc. It is a problem that the float instruction generated by the V8 JIT compiler. So hardware FPU or kernel FPU emulation is required. Unfortunately, it seems better to give up using node on ARM without FPU. |
sad.i have 2 routers with bcm4709. but how can MIPS FPU Emulator work good? i search some docs. 1.compile application use how to pass this parameters to compile node?? |
The reason is simple: The fpu emulator of MIPS work well, the fpu emulator of ARM does not work well.
As the last challenge... kernel : AEABI=on, OABI_COMPAT=off, NWFPE=on, VFP=on Please tell me the result. |
NWFPE depends on AEABI=off || OABI_COMPAT=on |
sorry. |
i will build
how to pass |
but get
@rench Let's close this issue. |
Do you have any other communication tools? |
OK Let's keep this thread because open discussion is desirable. and AGAIN.
"nodejs/node/issues/7343" It is as you read. |
yes i have read that issue before. I wonder if this parameter really works? |
it is node.js configure parameter. |
it does not work. |
solve it by:
below section is v8-options that build node with soft/softfp.
|
hmm
What if we set node.js configure "--with-arm-fpu=vfp" ? |
i have test it.but no help. if there some config can pass to build v8? or make FPE work well? i have no friend know lede,i have no idear now…… |
https://bugs.chromium.org/p/v8/issues/detail?id=4704
after read that, i think the only way is to make arm NWFPE work well. |
Found that the latest kernel does not exist / arm / arm / fastfpe directory, and nwfpe EABI should also be outdated: the algorithm for FPA, EABI support VFP should not be properly supported. working and searching... |
hello, i want to know if there any way to modify node source code or kernel to support soft vfp3 on bcm4709 ?
ar9344 can enable MIPS FPU Emulator for soft PFU?
can bcm53xx do this?
The text was updated successfully, but these errors were encountered: