node: depends on availability of fpu
authorYousong Zhou <yszhou4tech@gmail.com>
Fri, 26 Jan 2018 08:05:58 +0000 (16:05 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Fri, 9 Feb 2018 07:47:50 +0000 (15:47 +0800)
commitffbdc7e4fdd825fdaa371ea6c00c06a0b830f422
tree34810bb8e4f644db5b13c1ccf34a6dfed2b7d94d
parentbbc391c0da2448e02dcb9eadc3dee1a1688f4997
node: depends on availability of fpu

It requires either hardware or software emulated fpu, otherwise program
can fail with SIGILL for fp instructions emitted by the JIT compiler

See #1937, #2633, #2442, FS#1257 for details

From code snippet at deps/v8/src/mips/constants-mips.h

    #elif(defined(__mips_soft_float) && __mips_soft_float != 0)
    // This flag is raised when -msoft-float is passed to the compiler.
    // // Although FPU is a base requirement for v8, soft-float ABI is used
    // // on soft-float systems with FPU kernel emulation.
    // const bool IsMipsSoftFloatABI = true;

[1] https://bugs.chromium.org/p/v8/issues/detail?id=4704

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lang/node/Makefile