Closed nxhack closed 3 years ago
The mips support has been removed in v12.0.0. I'm reverting the deleted codes.
Modules that will break in Node 12
node-authenticate-pam
~~node-bignum
node-bleacon~~
node-bluetooth-hci-socket
node-ejdb (No Longer Maintained)
node-ffi (use ffi-napi)
node-fuse-bindings
node-hashtable (use megahash)
node-mdns
node-mknod (use fs)
node-modbus (No Longer Maintained)
~~node-net-ping
node-expat
node-hid
node-hid-stream
node-red-contrib-modbus
node-openzwave-shared
node-pi-spi
node-pty
node-rpio
node-sleep
node-sqlite3
node-statvfs
node-usb
node-websocket~~
~~node-serialport-bindings
node-serialport
node-arduino-firmata
node-firmata
node-johnny-five
node-node-enocean-utils~~
~~swig libmraa libupm~~
how can you are saying nodejs 12 dropped mips, i just built mt7621 (ramips): https://cdn.corifeus.com/openwrt/18.06.3/packages/mipsel_24kc/node/
and it works. how come it still works?
ok, got it you have the patches for mips. thanks
The cross compilation environment is broken in v12.5.0. The situation is difficult.
ok, i am happy, that i am buying a new linksys wrt32x, because i will not use the d-link dir 860d b1 anymore, it looks like the last was in nodejs 12.4.0 for the ramips build....
that is why you reverted to 12.4.0?
@p3x-robot As it was likely to take time to support v12.5.0, I made a dedicated branch. For that purpose, I restored the master branch and the development branch. It is the latest version that v12.4.0 is supported.
build: add mips64el support
so it will still not support ramips mt7621 , right?
it is only for mipsel64 i suppose.
Exactly. mips32 will not be considered much. I will try my best as much as possible.
After V8-v7.9, mips(eb) and mips64(eb) will not work.
I successfully compiled nodejs v10 for mipsel_24kc (newifi D2). But the only problem I have right now is it's really slow. CPU and ram consumptions are at less than 50% only. Simple http ajax request, express response at 5-6 seconds.
Verified with version 14.12.0. Unfortunately, I confirmed that it does not work on mips(eb) and mips64(eb).
Upstream of node.js, support for mips seems to be removed in the future. I plan to maintain mips as much as possible but may not be able to do so depending on the circumstances.
https://github.com/nodejs/node/issues/26179 https://github.com/nodejs/node/pull/26192