-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
compile error ,target=arm7 #3224
Comments
Can you show how you're configuring and building (specifically what commands)? Additionally, are you cross-compiling or compiling on-device? |
I used script on this post: https://gist.github.com/Gioyik/7895192 |
It looks like you're hitting a compiler bug, not much we can do about that. See if you can upgrade to g++ 4.9 or 5.1 or try using clang++. |
Thank you for your comment. |
I compiled successfully, but when I download cross-compiled node* to arm board and execute it, I've got error
|
Does |
Same situation of Illegal Instruction here. Tried with --noenable_vfp3. Any ideas what else to try? My SoC is a Cortex-A9 (Broadcom 4708) without a FPU. Here is the backtrace.
|
What does PS: I don't think node.js and V8 support nofpu mode as such but I would expect the kernel to emulate floating point instructions. |
Here you're (thanks for the speedy response btw:)
My kernel perhaps doesn't have FPU emulation compiled in. I'll need to check. I compiled node.js+v8 with -mfloat-abi=soft. I thought FPU emulation handled by c/c++ libraries without kernel involvement? |
Right, it looks like emulation is indeed disabled.
For C and C++ code, yes. V8 is a JIT compiler however, it generates machine code at run-time, and I'm almost positive it doesn't support FPU-less mode. |
Closing due to inactivity. |
I'm trying to compile nodejs v4.1.0 with gcc version 4.8 for arm v7 platform. but I've got an error:
V8_ALIGNAS is defined in deps/v8/include/v8config.h
The text was updated successfully, but these errors were encountered: