#22293: nodejs throws SIGILL (Illegal Instruction) on AR9331 (big endian)
------------------------+--------------------------------
  Reporter:  etherwave  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Chaos Calmer 15.05
Resolution:             |   Keywords:  nodejs
------------------------+--------------------------------

Comment (by etherwave):

 As discussed in this web page : https://github.com/nodejs/node/issues/4818
 , I ran "make kernel_menuconfig" and selected the "Enable FPU emulation".
 Built it and node.js worked (I used the node.js v4.3.1 from Onion :
 http://repo.onion.io/omega/packages/nodejs_v4.3.1-1_ar71xx.ipk ).

 **However**, in linux-3.18.29/arch/mips/math-emu/cp1emu.c , I found this
 comment :

 Note if you know that you won't have an FPU, then you'll get much better
 performance by compiling with -msoft-float!

 So a better fix is to compile node.js with -msoft-float .

--
Ticket URL: <https://dev.openwrt.org/ticket/22293#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to